From 8b36c84508e327fdb550642a76ad17e642797ddc Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 11 Mar 2013 19:23:22 +0100 Subject: Update nasty/nice priority limit * libps/procstat.c (thread_state): Update nasty/nice limit to 25 instead of 12. --- libps/procstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libps') diff --git a/libps/procstat.c b/libps/procstat.c index 845db6c0..e688fa47 100644 --- a/libps/procstat.c +++ b/libps/procstat.c @@ -68,9 +68,9 @@ thread_state (thread_basic_info_t bi) break; } - if (bi->base_priority < 12) + if (bi->base_priority < 25) state |= PSTAT_STATE_T_NASTY; - else if (bi->base_priority > 12) + else if (bi->base_priority > 25) state |= PSTAT_STATE_T_NICE; return state; -- cgit v1.2.3