Re: [PATCH net-next 1/2] sched: introduce nr_running_this_cpu()

From: Ingo Molnar
Date: Thu Aug 21 2014 - 09:52:14 EST



* 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
--
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/