Re: [PATCH] mm/slub: make add_full() condition more explicit

2020-10-16 Thread Vlastimil Babka
On 8/11/20 4:02 AM, wuyun...@huawei.com wrote: From: Abel Wu The commit below is incomplete, as it didn't handle the add_full() part. commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before remove_full()") This patch checks for SLAB_STORE_USER instead of kmem_cache_debug(), since

Re: [PATCH] mm/slub: make add_full() condition more explicit

2020-08-19 Thread Abel Wu
On 2020/8/20 3:37, Andrew Morton wrote: > On Tue, 11 Aug 2020 10:02:36 +0800 wrote: > >> From: Abel Wu >> >> The commit below is incomplete, as it didn't handle the add_full() part. >> commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before >> remove_full()") >> >> This patch ch

Re: [PATCH] mm/slub: make add_full() condition more explicit

2020-08-19 Thread Andrew Morton
On Tue, 11 Aug 2020 10:02:36 +0800 wrote: > From: Abel Wu > > The commit below is incomplete, as it didn't handle the add_full() part. > commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before > remove_full()") > > This patch checks for SLAB_STORE_USER instead of kmem_cache_debug

Re: [PATCH] mm/slub: make add_full() condition more explicit

2020-08-17 Thread Abel Wu
ping :) On 2020/8/11 10:02, wuyun...@huawei.com wrote: > From: Abel Wu > > The commit below is incomplete, as it didn't handle the add_full() part. > commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before > remove_full()") > > This patch checks for SLAB_STORE_USER instead of kmem

[PATCH] mm/slub: make add_full() condition more explicit

2020-08-10 Thread wuyun.wu
From: Abel Wu The commit below is incomplete, as it didn't handle the add_full() part. commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before remove_full()") This patch checks for SLAB_STORE_USER instead of kmem_cache_debug(), since that should be the only context in which we need