diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-04-29 12:05:45 +0300 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-05-02 11:48:40 +0300 |
commit | 23587f7c5daa936524ede26201253a089666b5d9 (patch) | |
tree | bf3cc113e87ddc81feb22298e6021e8fab1687fc /include/linux | |
parent | 33647783deb674b60bb492718cef102c3e9dce6b (diff) | |
download | linux-23587f7c5daa936524ede26201253a089666b5d9.tar.xz |
mm/slub: remove unused kmem_cache_order_objects max
max field holds the largest slab order that was ever used for a slab cache.
But it's unused now. Remove it.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/r/20220429090545.33413-1-linmiaohe@huawei.com
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/slub_def.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index 33c5c0e3bd8d..f9c68a9dac04 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -105,7 +105,6 @@ struct kmem_cache { struct kmem_cache_order_objects oo; /* Allocation and freeing of slabs */ - struct kmem_cache_order_objects max; struct kmem_cache_order_objects min; gfp_t allocflags; /* gfp flags to use on each alloc */ int refcount; /* Refcount for slab cache destroy */ |