From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx143.postini.com [74.125.245.143]) by kanga.kvack.org (Postfix) with SMTP id E8CA16B004A for ; Wed, 14 Mar 2012 03:36:32 -0400 (EDT) Date: Wed, 14 Mar 2012 03:36:29 -0400 From: Christoph Hellwig Subject: Re: [PATCH 0/4] radix-tree: iterating general cleanup Message-ID: <20120314073629.GA17016@infradead.org> References: <20120207074905.29797.60353.stgit@zurg> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120207074905.29797.60353.stgit@zurg> Sender: owner-linux-mm@kvack.org List-ID: To: Konstantin Khlebnikov Cc: linux-mm@kvack.org, Andrew Morton , Hugh Dickins , Linus Torvalds , linux-kernel@vger.kernel.org Any updates on this series? On Tue, Feb 07, 2012 at 11:54:56AM +0400, Konstantin Khlebnikov wrote: > This patchset implements common radix-tree iteration routine and > reworks page-cache lookup functions with using it. > > radix_tree_gang_lookup_*slot() now mostly unused (the last user somethere in > drivers/sh/intc/virq.c), but they are exported, we cannot remove them for now. > > Also there some shmem-related radix-tree hacks can be reworked, > radix_tree_locate_item() can be removed. I already have a few extra patches. > > And as usual my lovely bloat-o-meter: > > add/remove: 4/3 grow/shrink: 4/4 up/down: 1232/-964 (268) > function old new delta > radix_tree_next_chunk - 499 +499 > static.shmem_find_get_pages_and_swap - 404 +404 > find_get_pages_tag 354 488 +134 > find_get_pages 362 438 +76 > find_get_pages_contig 345 407 +62 > __kstrtab_radix_tree_next_chunk - 22 +22 > shmem_truncate_range 1633 1652 +19 > __ksymtab_radix_tree_next_chunk - 16 +16 > radix_tree_gang_lookup_tag_slot 208 180 -28 > radix_tree_gang_lookup_tag 247 207 -40 > radix_tree_gang_lookup_slot 204 162 -42 > radix_tree_gang_lookup 231 160 -71 > __lookup 217 - -217 > __lookup_tag 242 - -242 > shmem_find_get_pages_and_swap 324 - -324 > > --- > > Konstantin Khlebnikov (4): > bitops: implement "optimized" __find_next_bit() > radix-tree: introduce bit-optimized iterator > radix-tree: rewrite gang lookup with using iterator > radix-tree: use iterators in find_get_pages* functions > > > include/asm-generic/bitops/find.h | 36 +++ > include/linux/radix-tree.h | 129 +++++++++++ > lib/radix-tree.c | 422 +++++++++++++------------------------ > mm/filemap.c | 75 ++++--- > mm/shmem.c | 23 +- > 5 files changed, 375 insertions(+), 310 deletions(-) > > -- > Signature > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ > Don't email: email@kvack.org ---end quoted text--- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org