Re: Buggy IPI and MTRR code on low memory

From: Andrew Morton
Date: Wed Jan 28 2009 - 16:14:51 EST


On Wed, 28 Jan 2009 13:12:02 -0800
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> Thought: do we need to do the kmalloc at all? Perhaps we can instead
> use a statically allocated per-cpu call_single_data local to
> kernel/smp.c? It would need a spinlock or something to protect it...

(not a spinlock - get_cpu_var/put_cpu_var will suffice)
--
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/