lkml.org 
[lkml]   [2006]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH][3/4] sched: add above background load function
Date
Peter Williams writes:

> Con Kolivas wrote:
>> + if (weighted_cpuload(cpu) >= SCHED_LOAD_SCALE)
>> + return 1;
> I think that you may need to take into account the contribution to the
> load by your swap prefetching thread when it calls this function
> otherwise it could cause an incorrect (from your point of view) positive
> return value. If the thread has a positive nice value this comment can
> probably be ignored.

kprefetchd runs at nice 19.

Cheers,
Con

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-03-14 00:41    [W:0.057 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site