summaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-08-16 18:11:50 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-08-22 00:28:43 +0300
commitdd6fa0b61814492476463149c91110e529364e82 (patch)
tree79f3c0ef997a8583ca3c4d2fd6faa4d446caa65f /mm/hugetlb.c
parent99a9e0b83ab9955e604397717b82267feb021df3 (diff)
downloadlinux-dd6fa0b61814492476463149c91110e529364e82.tar.xz
mm: call free_huge_page() directly
Indirect calls are expensive, thanks to Spectre. Call free_huge_page() directly if the folio belongs to hugetlb. Link: https://lkml.kernel.org/r/20230816151201.3655946-3-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: David Hildenbrand <david@redhat.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com> Cc: Yanteng Si <siyanteng@loongson.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions