|
@@ -48,11 +48,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
#define SCHED_ISO 4
|
|
|
#endif
|
|
|
|
|
|
-/**
|
|
|
- * Priority to renice the process to.
|
|
|
- */
|
|
|
-#define NICE_DEFAULT_PRIORITY -4
|
|
|
-
|
|
|
/**
|
|
|
* Apply scheduling policies
|
|
|
*
|
|
@@ -74,11 +69,7 @@ void game_mode_apply_renice(const GameModeContext *self, const pid_t client)
|
|
|
long int renice = 0;
|
|
|
config_get_renice_value(config, &renice);
|
|
|
if ((renice < 1) || (renice > 20)) {
|
|
|
- LOG_ONCE(ERROR,
|
|
|
- "Invalid renice value '%ld' reset to default: %d.\n",
|
|
|
- renice,
|
|
|
- -NICE_DEFAULT_PRIORITY);
|
|
|
- renice = NICE_DEFAULT_PRIORITY;
|
|
|
+ LOG_ONCE(ERROR, "Invalid renice value '%ld' is invalid, will not renice.\n", renice);
|
|
|
} else {
|
|
|
renice = -renice;
|
|
|
}
|