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

Christoph Lameter
2008-01-23T18:42:16Z

On Wed, 23 Jan 2008, Mel Gorman wrote:

> This patch adds the necessary checks to make sure a kmem_list3 exists for
> the preferred node used when growing the cache. If the preferred node has
> no nodelist then the currently running node is used instead. This
> problem only affects the SLAB allocator, SLUB appears to work fine.

That is a dangerous thing to do. SLAB per cpu queues will contain foreign
objects which may cause troubles when pushing the objects back. I think we
may be lucky that these objects are consumed at boot. If all of the
foreign objects are consumed at boot then we are fine. At least an
explanation as to this issue should be added to the patch.