mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
raxix-tree: introduce CONFIG_RADIX_TREE_MULTIORDER
I've been receiving increasingly concerned notes from 0day about how much my recent changes have been bloating the radix tree. Make it happier by only including multiorder support if CONFIG_TRANSPARENT_HUGEPAGES is set. This is an independent Kconfig option, so other radix tree users can also set it if they have a need. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Konstantin Khlebnikov <koct9i@gmail.com> Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com> Cc: Jan Kara <jack@suse.com> Cc: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6c4bd68a29
commit
57578c2ea2
4 changed files with 23 additions and 8 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "../../include/linux/compiler.h"
|
||||
|
||||
#define CONFIG_RADIX_TREE_MULTIORDER
|
||||
#define CONFIG_SHMEM
|
||||
#define CONFIG_SWAP
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue