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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>