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

Saves one implicit call to compound_head().

Link: https://lkml.kernel.org/r/20230706163847.403202-4-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