Re: [PATCH] [PATCH] mm, slub: enable slub_debug static key when creating cache with explicit debug flags

2021-03-15 Thread Paul E. McKenney
On Mon, Mar 15, 2021 at 06:36:34PM +0100, Vlastimil Babka wrote: > On 3/15/21 6:32 PM, Paul E. McKenney wrote: > > On Mon, Mar 15, 2021 at 06:28:42PM +0100, Vlastimil Babka wrote: > >> On 3/15/21 6:16 PM, David Rientjes wrote: > >> > On Mon, 15 Mar 2021, Vlastimil Babka wrote: > >> > > >> >>

Re: [PATCH] [PATCH] mm, slub: enable slub_debug static key when creating cache with explicit debug flags

2021-03-15 Thread Vlastimil Babka
On 3/15/21 6:32 PM, Paul E. McKenney wrote: > On Mon, Mar 15, 2021 at 06:28:42PM +0100, Vlastimil Babka wrote: >> On 3/15/21 6:16 PM, David Rientjes wrote: >> > On Mon, 15 Mar 2021, Vlastimil Babka wrote: >> > >> >> Commit ca0cab65ea2b ("mm, slub: introduce static key for slub_debug()") >> >>

Re: [PATCH] [PATCH] mm, slub: enable slub_debug static key when creating cache with explicit debug flags

2021-03-15 Thread Paul E. McKenney
On Mon, Mar 15, 2021 at 06:28:42PM +0100, Vlastimil Babka wrote: > On 3/15/21 6:16 PM, David Rientjes wrote: > > On Mon, 15 Mar 2021, Vlastimil Babka wrote: > > > >> Commit ca0cab65ea2b ("mm, slub: introduce static key for slub_debug()") > >> introduced a static key to optimize the case where no

Re: [PATCH] [PATCH] mm, slub: enable slub_debug static key when creating cache with explicit debug flags

2021-03-15 Thread Vlastimil Babka
On 3/15/21 6:16 PM, David Rientjes wrote: > On Mon, 15 Mar 2021, Vlastimil Babka wrote: > >> Commit ca0cab65ea2b ("mm, slub: introduce static key for slub_debug()") >> introduced a static key to optimize the case where no debugging is enabled >> for >> any cache. The static key is enabled when

Re: [PATCH] [PATCH] mm, slub: enable slub_debug static key when creating cache with explicit debug flags

2021-03-15 Thread David Rientjes
On Mon, 15 Mar 2021, Vlastimil Babka wrote: > Commit ca0cab65ea2b ("mm, slub: introduce static key for slub_debug()") > introduced a static key to optimize the case where no debugging is enabled for > any cache. The static key is enabled when slub_debug boot parameter is passed, > or

[PATCH] [PATCH] mm, slub: enable slub_debug static key when creating cache with explicit debug flags

2021-03-15 Thread Vlastimil Babka
Commit ca0cab65ea2b ("mm, slub: introduce static key for slub_debug()") introduced a static key to optimize the case where no debugging is enabled for any cache. The static key is enabled when slub_debug boot parameter is passed, or CONFIG_SLUB_DEBUG_ON enabled. However, some caches might be