Re: [PATCH net-next 1/2] sched: introduce nr_running_this_cpu()
From: Jason Wang
Date: Fri Aug 22 2014 - 03:28:44 EST
On 08/21/2014 09:52 PM, Ingo Molnar wrote:
> * Jason Wang <jasowang@xxxxxxxxxx> wrote:
>
>> This patch introduces a helper nr_running_this_cpu() to return the
>> number of runnable processes in current cpu.
>>
>> The first user will be net rx busy polling. It will use this to exit
>> the busy loop when it finds more than one processes is runnable in
>> current cpu. This can give us better performance of busy polling under
>> heavy load.
> s/one processes/one process
>
> More importantly, please Cc: scheduler maintainers and lkml to
> both patches, so that the whole intent of the change can be
> reviewed, in full context.
>
> Thanks,
>
> Ingo
Will do this.
Thanks
--
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/