Re: [patch 5/7] radix-tree: lockless readside

From: Nick Piggin
Date: Fri Aug 12 2005 - 02:54:09 EST


Nick Piggin wrote:

With the above, we can meet the same requirements of the current
find_get_page. Which basically are:

x) If the page was ever[1] in pagecache, it may be returned
y) If the pagecache was ever[2] empty, NULL may be returned


Oh, I missed a couple of "obvious" ones.

More correctly:

x1) If a page was ever in pagecache, it may be returned.
x1) If not, then NULL will be returned.

y1) If the pagecache was ever empty, NULL may be returned.
y2) If not, then the page will be returned.


--
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com -
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/