diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-03-11 19:23:22 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-03-11 19:23:22 +0100 |
commit | 8b36c84508e327fdb550642a76ad17e642797ddc (patch) | |
tree | 657ddb7b922b86e3fc27bca84b0327b811b9f04c /libps/procstat.c | |
parent | e491e996152f8bae8d0a94a145374e7b57661347 (diff) |
Update nasty/nice priority limit
* libps/procstat.c (thread_state): Update nasty/nice limit to 25 instead of
12.
Diffstat (limited to 'libps/procstat.c')
-rw-r--r-- | libps/procstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |