diff options
author | 2023-07-10 22:35:44 -0700 | |
---|---|---|
committer | 2023-08-18 10:12:21 -0700 | |
commit | 86aa6998ad00af823de81d12d41d7063c14298a0 (patch) | |
tree | 9ee5c67a22ce2c359e2fcd51a37e5122bcffe80c /mm/page_ext.c | |
parent | mm: memory-failure: fix race window when trying to get hugetlb folio (diff) | |
download | wireguard-linux-86aa6998ad00af823de81d12d41d7063c14298a0.tar.xz wireguard-linux-86aa6998ad00af823de81d12d41d7063c14298a0.zip |
mm/memory: pass folio into do_page_mkwrite()
Saves one implicit call to compound_head().
I'm not sure if I should change the name of the function to
do_folio_mkwrite() and update the description comment to reference a folio
as the vm_op is still called page_mkwrite.
Link: https://lkml.kernel.org/r/20230711053544.156617-1-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Suggested-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions