lkml.org 
[lkml]   [2012]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Avoid mask based num_possible_cpus and num_online_cpus
On 1/19/2012 3:01 PM, Venkatesh Pallipadi wrote:
> Does this look better? Will send separate patch to fix code
> using num_possible_cpus() when they actually need nr_cpu_ids.

Sound ok to me. but I have two requests.

- Please mesure how much time (or cycle) spented by cpumask_weight(cpu_possible_mask).
- After your patch, nr_possible_cpus() return different value from before.
Please verify this change doesn't makes any side effect.




\
 
 \ /
  Last update: 2012-01-19 21:43    [W:0.105 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site