summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-13 06:23:04 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-05-13 17:20:16 +0300
commit0c023ef52d769ea064df2c86bcdf29cbedb0a9b7 (patch)
treee1982f78bb0f42266515ed4a6e5d5ddf96c05b6e /lib
parent069d849cde3a02c075548ac68a43ed97fc95ee34 (diff)
downloadlinux-0c023ef52d769ea064df2c86bcdf29cbedb0a9b7.tar.xz
mm/shmem: add shmem_alloc_folio()
Call vma_alloc_folio() directly instead of alloc_page_vma(). Add a shmem_alloc_page() wrapper to avoid changing the callers. Link: https://lkml.kernel.org/r/20220504182857.4013401-21-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions