Re: [PATCH] make schedule_on_each_cpu() look like on_each_cpu()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <peterz@...>
Cc: Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, linux-kernel <linux-kernel@...>
Date: Thursday, July 26, 2007 - 2:27 pm

On 07/26, Peter Zijlstra wrote:

Not a comment, but a question: why do we need nr_cpu_ids at all?
num_possible_cpus() looks more "correct" if cpu_possible_map has
holes (not sure this can happen in practice).

Another off-topic question: shouldn't we kill the unused "retry"
parameter of on_each_cpu() instead of mirroring it here?


Small nit, kfree(NULL) is OK.

Oleg.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] make schedule_on_each_cpu() look like on_each_cp..., Oleg Nesterov, (Thu Jul 26, 2:27 pm)