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
| ||
|
Date: Tue, 20 Mar 2007 20:10:51 -0700 (PDT) From: Christoph Lameter <christoph@...eter.com> To: Andi Kleen <andi@...stfloor.org> cc: Eric Dumazet <dada1@...mosbay.com>, Andrew Morton <akpm@...ux-foundation.org>, linux kernel <linux-kernel@...r.kernel.org> Subject: Re: [RFC] SLAB : NUMA cache_free_alien() very expensive because of virt_to_slab(objp); nodeid = slabp->nodeid; On Wed, 21 Mar 2007, Andi Kleen wrote: > > We usually use page_to_nid(). Sure this will determine the node the object > > resides on. But this may not be the node on which the slab is tracked > > since there may have been a fallback at alloc time. > > How about your slab rewrite? I assume it would make more sense to fix > such problems in that code instead of the old which is going to be replaced > at some point. The slab rewrite first allocates a page and then determines where it came from instead of requiring the page allocator to allocate from a certain node. Plus SLUB does not keep per cpu or per node object queues. So the problem does not occur in the same way. The per cpu slab in SLUB can contain objects from another node whereas SLAB can only put node local objects on its queues. - 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