diff options
author | 2024-04-16 01:18:54 +0800 | |
---|---|---|
committer | 2024-04-25 20:56:09 -0700 | |
commit | b2ebcf9d3d5a0108f640d8c8200ece8848045725 (patch) | |
tree | a300779f990e54b00025255c92a37e66c8a8919f /lib/test_xarray.c | |
parent | mm/filemap: return early if failed to allocate memory for split (diff) | |
download | wireguard-linux-b2ebcf9d3d5a0108f640d8c8200ece8848045725.tar.xz wireguard-linux-b2ebcf9d3d5a0108f640d8c8200ece8848045725.zip |
mm/filemap: clean up hugetlb exclusion code
__filemap_add_folio only has two callers, one never passes hugetlb folio
and one always passes in hugetlb folio. So move the hugetlb related
cgroup charging out of it to make the code cleaner.
Link: https://lkml.kernel.org/r/20240415171857.19244-3-ryncsn@gmail.com
Signed-off-by: Kairui Song <kasong@tencent.com>
Acked-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions