diff options
author | 2024-04-16 01:25:59 +0000 | |
---|---|---|
committer | 2024-05-05 17:53:40 -0700 | |
commit | 122ff80e12b3aa586d702b7fb651a99d443e7777 (patch) | |
tree | 42829920f2980eca95d987e4288c6779783a7224 /mm/hugetlb_cgroup.c | |
parent | doc: split buffer.rst out of api-summary.rst (diff) | |
download | wireguard-linux-122ff80e12b3aa586d702b7fb651a99d443e7777.tar.xz wireguard-linux-122ff80e12b3aa586d702b7fb651a99d443e7777.zip |
mm/sparse: guard the size of mem_section is power of 2
We usually have this check, while commit 2a3cb8baef71 ("mm/sparse: delete
old sparse_init and enable new one") missed to take it.
Link: https://lkml.kernel.org/r/20240416012559.4536-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: Oscar Salvador <osalvador@suse.de>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Cc: "Mike Rapoport (IBM)" <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions