diff options
author | 2024-10-15 12:07:45 +0000 | |
---|---|---|
committer | 2024-11-06 20:11:14 -0800 | |
commit | 4223dd93bfc976debededffc0b03cc63d9b73d14 (patch) | |
tree | 63cb94ed609521b152663f0e88b4bdf922dcf368 /mm/swap_state.c | |
parent | maple_tree: clear request_count for new allocated one (diff) | |
download | wireguard-linux-4223dd93bfc976debededffc0b03cc63d9b73d14.tar.xz wireguard-linux-4223dd93bfc976debededffc0b03cc63d9b73d14.zip |
maple_tree: total is not changed for nomem_one case
If it jumps to nomem_one, the total allocated number is not changed. So
we don't need to adjust it.
For the nomem_bulk case, we know there is a valid mas->alloc. So we don't
need to do the check.
Link: https://lkml.kernel.org/r/20241015120746.15850-3-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions