diff options
| author | Kairui Song <[email protected]> | 2024-04-15 17:18:54 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-26 03:56:09 +0000 |
| commit | b2ebcf9d3d5a0108f640d8c8200ece8848045725 (patch) | |
| tree | a300779f990e54b00025255c92a37e66c8a8919f /lib/test_xarray.c | |
| parent | mm/filemap: return early if failed to allocate memory for split (diff) | |
| download | kernel-b2ebcf9d3d5a0108f640d8c8200ece8848045725.tar.gz kernel-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/[email protected]
Signed-off-by: Kairui Song <[email protected]>
Acked-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
