Re: [PATCH 1/1] x86: Add check for node passed to node_to_cpumaskV3

From: Ingo Molnar
Date: Thu Jul 03 2008 - 08:55:21 EST



* Mike Travis <travis@xxxxxxx> wrote:

> Subject: [PATCH 1/1] x86: Add check for node passed to node_to_cpumask V3
>
> * When CONFIG_DEBUG_PER_CPU_MAPS is set, the node passed to
> node_to_cpumask and node_to_cpumask_ptr should be validated.
> If invalid, then a dump_stack is performed and a zero cpumask
> is returned.
>
> Based on "Fri Jun 27 10:06:06 PDT 2008" tip/master... ;-)
>
> Signed-off-by: Mike Travis <travis@xxxxxxx>
> ---
> V2: Slightly different version to remove a compiler warning.
> V3: Redone to reflect moving setup.c -> setup_percpu.c

applied to tip/x86/unify-setup - thanks Mike.

Vegard, can i add your Acked-by too?

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/