summaryrefslogtreecommitdiff
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2025-01-07 23:40:02 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-01-26 07:22:31 +0300
commitf931af2e41ab406e7fc3063ba5a73b536779006e (patch)
tree9ab1b7f2c4371e1d6774adb66052bfeeceb42c23 /lib/test_vmalloc.c
parent72d8f72631d278c7003defbe3fe88fe5332822f8 (diff)
downloadlinux-f931af2e41ab406e7fc3063ba5a73b536779006e.tar.xz
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