mm: Convert workingset to XArray
authorMatthew Wilcox <willy@infradead.org>
Fri, 24 Nov 2017 19:24:59 +0000 (14:24 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:36 +0000 (10:46 -0400)
commita97e7904c0806309fd77103005bb7820c3f1c5e4
tree8cfe89076cd837e7efee4e36a7904b5040eb9442
parentff9c745b81ff1e482167fd73558450e66ad43a33
mm: Convert workingset to XArray

We construct an XA_STATE and use it to delete the node with
xas_store() rather than adding a special function for this unique
use case.  Includes a test that simulates this usage for the
test suite.

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