Re: [PATCH] Avoid mask based num_possible_cpus and num_online_cpus
From: KOSAKI Motohiro
Date: Thu Jan 19 2012 - 15:40:15 EST
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.
--
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/