diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2023-11-18 05:32:29 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-12 21:57:05 +0300 |
commit | f8b6187d8dd98fd32fe393071f362a7b6beaad0a (patch) | |
tree | ae8f93646b483f4b3750c8c51fd5d13c54f9188a /mm/page_owner.c | |
parent | 1486fb50136f4799946f5ecfe050094574647153 (diff) | |
download | linux-f8b6187d8dd98fd32fe393071f362a7b6beaad0a.tar.xz |
mm: memory: use a folio in validate_page_before_insert()
Use a folio in validate_page_before_insert() to save two compound_head()
calls.
Link: https://lkml.kernel.org/r/20231118023232.1409103-3-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_owner.c')
0 files changed, 0 insertions, 0 deletions