mm/memory: convert do_shared_fault() to folios
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Thu, 6 Jul 2023 16:38:46 +0000 (09:38 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:15 +0000 (10:12 -0700)
commit6f609b7e37dff1e8b2261e93da8e2e9848d5513c
tree064575d24320b75497de7a7eb3fb37cc50305f6b
parent5a97858b51658ccb1a20a3273eb9fedf8fcef6a5
mm/memory: convert do_shared_fault() to folios

Saves three implicit calls to compound_head().

Link: https://lkml.kernel.org/r/20230706163847.403202-3-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: ZhangPeng <zhangpeng362@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c