]> git.baikalelectronics.ru Git - kernel.git/commit
raxix-tree: introduce CONFIG_RADIX_TREE_MULTIORDER
authorMatthew Wilcox <willy@linux.intel.com>
Sat, 21 May 2016 00:01:54 +0000 (17:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commitc5c87c27b67acb01177d3b18577c297a5818927d
tree75d21adcd94ea063abe57c3e9f97076694183f7d
parent243b837a1a8a0a25f69800b9ccf8003d094fb3a7
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>
lib/Kconfig
lib/radix-tree.c
mm/Kconfig
tools/testing/radix-tree/linux/kernel.h