diff options
author | 2025-01-07 15:40:02 -0500 | |
---|---|---|
committer | 2025-01-25 20:22:31 -0800 | |
commit | f931af2e41ab406e7fc3063ba5a73b536779006e (patch) | |
tree | 9ab1b7f2c4371e1d6774adb66052bfeeceb42c23 /lib/test_vmalloc.c | |
parent | mm/hugetlb: drop vma_has_reserves() (diff) | |
download | wireguard-linux-f931af2e41ab406e7fc3063ba5a73b536779006e.tar.xz wireguard-linux-f931af2e41ab406e7fc3063ba5a73b536779006e.zip |
mm/hugetlb: unify restore reserve accounting for new allocations
Either hugetlb pages dequeued from hstate, or newly allocated from buddy,
would require restore-reserve accounting to be managed properly. Merge
the two paths on it. Add a small comment to make it slightly nicer.
Link: https://lkml.kernel.org/r/20250107204002.2683356-8-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Cc: Ackerley Tng <ackerleytng@google.com>
Cc: Breno Leitao <leitao@debian.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Rik van Riel <riel@surriel.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions