]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: convert shmem_writepage() to use a folio throughout
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:02 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:45 +0000 (14:02 -0700)
commit9b5a7f0d9058f3c3b9d28a53169c416c8433da39
tree407b1cba052778c1f8029cf1bf5dbf34c4163cf4
parent154ce2abe1dadea9f217b2b0f8be854f5226adf9
shmem: convert shmem_writepage() to use a folio throughout

Even though we will split any large folio that comes in, write the code to
handle large folios so as to not leave a trap for whoever tries to handle
large folios in the swap cache.

Link: https://lkml.kernel.org/r/20220902194653.1739778-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/shmem.c