From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH] slub: correctly bootstrap boot caches Date: Fri, 22 Feb 2013 20:11:56 +0400 Message-ID: <512798CC.2080501@parallels.com> References: <1361529030-17462-1-git-send-email-glommer@parallels.com> <0000013d026b4e5f-1b3deecb-7e37-4476-a27b-3a7db8c1f0a8-000000@email.amazonses.com> <51278A12.4000504@parallels.com> <0000013d028eec8e-012456de-9b98-4bcb-9427-2fbee58ecc74-000000@email.amazonses.com> <5127928A.20000@parallels.com> <0000013d02ab8230-de441d64-395f-4c87-89e7-3f2cd2209680-000000@email.amazonses.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <0000013d02ab8230-de441d64-395f-4c87-89e7-3f2cd2209680-000000-p/GC64/jrecnJqMo6gzdpkEOCMrvLtNR@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Christoph Lameter Cc: linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton , Tejun Heo , Pekka Enberg , Kamezawa Hiroyuki On 02/22/2013 08:10 PM, Christoph Lameter wrote: > kmem_cache_node creation runs before PARTIAL and kmem_cache runs > after. So there would be 2 kmem_cache_node structures allocated. Ok so > that would use cpu slabs and therefore remove pages from the partial list. > Pushing that back using the flushing should fix this. But I thought there > was already code that went through the cpu slabs to address this? not in bootstrap(), which is quite primitive. (and should remain so)