lkml.org 
[lkml]   [2013]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: Add nr_running_cpu() to get current of running threads of each core
On 05/13/2013 05:59 PM, Peter Zijlstra wrote:
> On Mon, May 13, 2013 at 05:33:12PM +0900, Chanwoo Choi wrote:
>> This patch add nr_running_cpu() function to get current
>> number of running threads of each core.
>>
> Uhm, not without a very good reason.
>
I am implementing the cpu hotplug policy for reducing
power-consumption in user-space. The cpu hotplug policy
need specific information of each core to know correct
state of each core through specific kernel node like as /proc/sched_stats.
So, I sent only this patch but I didn't send other patchset
because other patch aren't designed according to the kernel
mainline style.

When I develop patchset, I will resend patchset which get
the information of each core for cpu hotplug in user-space.

Thanks,
Chanwoo Choi



\
 
 \ /
  Last update: 2013-05-14 08:21    [W:0.029 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site