lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <Pine.LNX.4.64.0710101037210.7158@schroedinger.engr.sgi.com> Date: Wed, 10 Oct 2007 10:39:32 -0700 (PDT) From: Christoph Lameter <clameter@....com> To: Akinobu Mita <akinobu.mita@...il.com> cc: linux-kernel@...r.kernel.org, Andrew Morton <akpm@...ux-foundation.org>, Pekka Enberg <penberg@...helsinki.fi> Subject: Re: [PATCH -mm] slub: fix cpu hotplug offline/online path On Wed, 10 Oct 2007, Akinobu Mita wrote: > I couldn't use get_cpu_slab() for that check. But I reviced the patch to do > what you said. Why would get_cpu_slab not work? > + if (per_cpu(kmem_cache_cpu_free, cpu)) { > + /* Already initialized once */ > + return; > + } > + kmem_cache_cpu_free is not only NULL if the cpu is not up yet but it is also NULL if the per cpu pool of kmem_cache_cpu structures was exhausted. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists