Messages in this thread | | | Date | Tue, 14 May 2013 14:39:30 +0900 | From | Chanwoo Choi <> | Subject | Re: [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
| |