Re: [PATCH net-next V6 1/2] cpumask: Utility function to set n'th cpu - local cpu first

2014-05-27 Thread Or Gerlitz
On Tue, May 27, 2014 at 10:24 PM, David Miller wrote: > I would like someone who cares about these cpumask interfaces to provide > a review. understood, still, looking in the git log of that file didn't yield much only 1-2 commits per years for 2011/12/13, so, any concrete suggestion? Or. -- To

Re: [PATCH net-next V6 1/2] cpumask: Utility function to set n'th cpu - local cpu first

2014-05-27 Thread David Miller
From: Amir Vadai Date: Sun, 25 May 2014 17:47:26 +0300 > This function sets the n'th cpu - local cpu's first. > For example: in a 16 cores server with even cpu's local, will get the > following values: > cpumask_set_cpu_local_first(0, numa, cpumask) => cpu 0 is set > cpumask_set_cpu_local_first(1

[PATCH net-next V6 1/2] cpumask: Utility function to set n'th cpu - local cpu first

2014-05-25 Thread Amir Vadai
This function sets the n'th cpu - local cpu's first. For example: in a 16 cores server with even cpu's local, will get the following values: cpumask_set_cpu_local_first(0, numa, cpumask) => cpu 0 is set cpumask_set_cpu_local_first(1, numa, cpumask) => cpu 2 is set ... cpumask_set_cpu_local_first(7,