Re: [PATCH 6/7] radixtree: introduce radix_tree_scan_hole()
From: Fengguang Wu
Date: Sat Jul 21 2007 - 02:36:42 EST
On Fri, Jul 20, 2007 at 10:48:59PM -0700, Andrew Morton wrote:
> On Sat, 21 Jul 2007 12:43:06 +0800 Fengguang Wu <wfg@xxxxxxxxxxxxxxxx> wrote:
>
> > Introduce radix_tree_scan_hole(root, index, max_scan) to scan radix tree
> > for the first hole. It will be used in interleaved readahead.
>
> If you're ever feeling fantastically bored, please consider updating the
> userspace radix-tree test harness for this? Cook up a couple of testcases
> for the new functionality?
Thanks for the reminding. I'd add some test cases if I'm to optimize it.
But this _dumb_ scan function is obviously correct(and won't be too slow on
1M readahead). In fact it is pretty suitable for testing the optimized one ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/