]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: convert shmem_file_read_iter() to use shmem_get_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:23 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:49 +0000 (14:02 -0700)
commit1df706abe0d8895116b9d9a5b41a47fd1e9c3ae3
treeb84e19c408b09c3ac0ca3a257e31854605be798b
parentbd58eff1083eddb5e3f4f51266c7c095778177fa
shmem: convert shmem_file_read_iter() to use shmem_get_folio()

Use a folio throughout, saving five calls to compound_head().

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