mm: Convert collapse_shmem to XArray
authorMatthew Wilcox <willy@infradead.org>
Mon, 4 Dec 2017 19:56:08 +0000 (14:56 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:38 +0000 (10:46 -0400)
commit77da9389b9d5f07d54fda092d1ab56002ec0019a
tree1479f8fcdb709434df9ee2f56c48499fe423b0c1
parentaa5dc07f70c50a3c56bf3fa07bde0b22a95aa381
mm: Convert collapse_shmem to XArray

I found another victim of the radix tree being hard to use.  Because
there was no call to radix_tree_preload(), khugepaged was allocating
radix_tree_nodes using GFP_ATOMIC.

I also converted a local_irq_save()/restore() pair to
disable()/enable().

Signed-off-by: Matthew Wilcox <willy@infradead.org>
mm/khugepaged.c