mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
aa5dc07f70
commit
77da9389b9
1 changed files with 66 additions and 93 deletions
159
mm/khugepaged.c
159
mm/khugepaged.c
Loading…
Add table
Add a link
Reference in a new issue