diff options
| author | 2022-02-17 17:16:09 +0800 | |
|---|---|---|
| committer | 2022-02-21 11:38:12 +0100 | |
| commit | 7d6b6cc355378a66044cbd25ccee4153bf60dea9 (patch) | |
| tree | d638f7397abcb8724e97338833b3992460e655da /tools/perf/scripts/python | |
| parent | mm/slob: make kmem_cache_boot static (diff) | |
| download | linux-dev-7d6b6cc355378a66044cbd25ccee4153bf60dea9.tar.xz linux-dev-7d6b6cc355378a66044cbd25ccee4153bf60dea9.zip | |
mm/slab_common: use helper function is_power_of_2()
Use helper function is_power_of_2() to check if KMALLOC_MIN_SIZE is power
of two. Minor readability improvement.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/r/20220217091609.8214-1-linmiaohe@huawei.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
