Re: [PATCH] Fix boot problem in situations where the boot CPU isrunning on a memoryless node

From: Christoph Lameter
Date: Wed Jan 23 2008 - 22:13:50 EST


On Wed, 23 Jan 2008, Nishanth Aravamudan wrote:

> Right, so it might have functioned before, but the correctness was
> wobbly at best... Certainly the memoryless patch series has tightened
> that up, but we missed these SLAB issues.
>
> I see that your patch fixed Olaf's machine, Pekka. Nice work on
> everyone's part tracking this stuff down.

Another important result is that I found that GFP_THISNODE is actually
required for proper SLAB operation and not only an optimization. Fallback
can lead to very bad results. I have two customer reported instances of
SLAB corruption here that can be explained now due to fallback to another
node. Foreign objects enter the per cpu queue. The wrong node lock is
taken during cache_flusharray(). Fields in the struct slab can become
corrupted. It typically hits the list field and the inuse field.



--
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/