Paul Menage wrote:
> On 8/6/06, Balbir Singh <[EMAIL PROTECTED]> wrote:
>>
>> diff -Naurp please, I cannot see which functions you have patched
>>
> 
> account_user_time() and account_system_time() in sched.c
> 
> Paul

Good,

I had tried something similar and it works well. I have a suggestion for you, 
add cpuacct_charge() for system accounting under (account_system_time())

         else if (p != rq->idle)
                 cpustat->system = cputime64_add(cpustat->system, tmp);

otherwise, you are likely to see 100% load all the time.

-- 

        Balbir Singh,
        Linux Technology Center,
        IBM Software Labs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to