]> git.baikalelectronics.ru Git - kernel.git/commit
page cache: Add and replace pages using the XArray
authorMatthew Wilcox <willy@infradead.org>
Fri, 17 Nov 2017 15:01:45 +0000 (10:01 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:33 +0000 (10:46 -0400)
commit0169859e1c027abf6b9b24e723997cb8a2118ada
tree21b2c29ac80af601c6cdfcea2452fc2b9c00f617
parent70e8e5faf3fbefd400649c13ea4658d4193b8237
page cache: Add and replace pages using the XArray

Use the XArray APIs to add and replace pages in the page cache.  This
removes two uses of the radix tree preload API and is significantly
shorter code.  It also removes the last user of __radix_tree_create()
outside radix-tree.c itself, so make it static.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/radix-tree.h
include/linux/swap.h
lib/radix-tree.c
mm/filemap.c