On Wed, 2011-01-26 at 20:39 +0530, Srikar Dronamraju wrote: > > B. use the current match_inode but change the search_within_subtree > logic. search_within_subtree() would first find the leftmode node > within the subtree that still has the same inode. Thereafter it will use > rb_next(). > > Do you have any other ideas? Look for the right inode but with offset 0, that should get you the leftmost matching inode, or the entry left of that (depending on how you build the tree), after that you should be able to iterate all probes of that inode by using rb_next. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href