Re: [PATCH] sched: Add nr_running_cpu() to get current of runningthreads of each core

From: Chanwoo Choi
Date: Tue May 14 2013 - 01:39:51 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/