Re: [PATCH 8/9] mm, slub: extend checks guarded by slub_debug static key

2020-06-10 Thread Roman Gushchin
On Wed, Jun 10, 2020 at 06:31:34PM +0200, Vlastimil Babka wrote: > There are few more places in SLUB that could benefit from reduced overhead of > the static key introduced by a previous patch: > > - setup_object_debug() called on each object in newly allocated slab page > - setup_page_debug()

[PATCH 8/9] mm, slub: extend checks guarded by slub_debug static key

2020-06-10 Thread Vlastimil Babka
There are few more places in SLUB that could benefit from reduced overhead of the static key introduced by a previous patch: - setup_object_debug() called on each object in newly allocated slab page - setup_page_debug() called on newly allocated slab page - __free_slab() called on freed slab page