summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLonglong Xia <xialonglong@kylinos.cn>2026-08-23 12:40:52 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-06 17:38:54 -0700
commita9ce28ef2a10bd1cbe6998713a3cf45d3f17ffd9 (patch)
treed61ff50dbc0d8f076b3d6ec1cf7573fb6170628f /include
parentc0f106b5183e9614bd44bca3ffaea1b428532994 (diff)
downloadlinux-next-a9ce28ef2a10bd1cbe6998713a3cf45d3f17ffd9.tar.gz
linux-next-a9ce28ef2a10bd1cbe6998713a3cf45d3f17ffd9.zip
mm/hugetlb: warn instead of silently bailing gigantic pages without runtime support
remove_hugetlb_folio() and __update_and_free_hugetlb_folio() silently return for gigantic hstates that lack runtime freeing support. All callers should already filter such hstates upstream, so turn the silent bail into a VM_WARN_ON_ONCE to catch caller regressions instead of masking them. Link: https://lore.kernel.org/20260823044118.1097121-3-xialonglong2025@163.com Signed-off-by: Longlong Xia <xialonglong@kylinos.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Muchun Song <muchun.song@linux.dev> Assisted-by: Codex:gpt-5.6-sol Cc: David Hildenbrand <david@kernel.org> Cc: Miaohe Lin <linmiaohe@huawei.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Oscar Salvador <osalvador@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions