summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorKairui Song <kasong@tencent.com>2024-04-16 01:18:54 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:09 -0700
commitb2ebcf9d3d5a0108f640d8c8200ece8848045725 (patch)
treea300779f990e54b00025255c92a37e66c8a8919f /arch/x86/kernel/setup.c
parentde60fd8ddeda2b41fbe11df11733838c5f684616 (diff)
downloadlwn-b2ebcf9d3d5a0108f640d8c8200ece8848045725.tar.gz
lwn-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 'arch/x86/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions