]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] radix-tree: reduce tree height upon partial truncation
authorNick Piggin <nickpiggin@yahoo.com.au>
Sun, 8 Jan 2006 09:01:41 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:41 +0000 (20:13 -0800)
commite2ee696010b5d51d2260de68e8a3002e8b992bc8
tree084928ba54750ba3959e376988b503f02ca698b8
parentca2daedcc01495306a1449d9ab6c5064b3671e50
[PATCH] radix-tree: reduce tree height upon partial truncation

Shrink the height of a radix tree when it is partially truncated - we only do
shrinkage of full truncation at present.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib/radix-tree.c