aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2024-10-09 11:54:55 +0800
committerVlastimil Babka <vbabka@suse.cz>2024-10-29 10:43:24 +0100
commitb4b797d87745f79e1d3c945dc0db4093c9ae9904 (patch)
tree24d3898fbb0b8d014da1b9378abbf94761b111e9 /tools/perf/scripts/python/export-to-postgresql.py
parentmm/slub: Move krealloc() and related code to slub.c (diff)
downloadwireguard-linux-b4b797d87745f79e1d3c945dc0db4093c9ae9904.tar.xz
wireguard-linux-b4b797d87745f79e1d3c945dc0db4093c9ae9904.zip
mm/slab: remove duplicate check in create_cache()
The WARN_ON() check in static function create_cache() is done by its only parent __kmem_cache_create_args() before calling it. if (... || WARN_ON(... || object_size - args->usersize < args->useroffset)) args->usersize = args->useroffset = 0; ... s = create_cache(cache_name, object_size, args, flags); Therefore, the WARN_ON() check in create_cache() can be safely removed. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions