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, 16 Jun 2015 10:05:06 -0500 (CDT) From: Christoph Lameter <cl@...ux.com> To: Joonsoo Kim <iamjoonsoo.kim@....com> cc: Jesper Dangaard Brouer <brouer@...hat.com>, linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>, netdev@...r.kernel.org, Alexander Duyck <alexander.duyck@...il.com> Subject: Re: [PATCH 2/7] slub bulk alloc: extract objects from the per cpu slab On Tue, 16 Jun 2015, Joonsoo Kim wrote: > Now I found that we need to call slab_pre_alloc_hook() before any operation > on kmem_cache to support kmemcg accounting. And, we need to call > slab_post_alloc_hook() on every allocated objects to support many > debugging features like as kasan and kmemleak Use the fallback function for any debugging avoids that. This needs to be fast. If the performance is not wanted (debugging etc active) then the fallback should be fine. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists