Hi Nick. On Monday 27 March 2006 10:43, Nick Piggin wrote: > Nigel Cunningham wrote: > > Can I get a pointer to the patches and any docs please? Since I save the > > page cache separately, I'd need a good understanding of the implications > > of the changes. > > Hi Nigel, > > http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/lockless/2.6. >16-rc5/ > > There are some patches... a lot of them, but only the last 5 in the series > matter (the rest are pretty much in 2.6.16-head). > > There is also a small doc on the lockless radix-tree in that directory. I'm > in the process of writing some documentation on the lockless pagecache > itself... > > You probably don't need to worry too much unless you are testing > page_count() under the tree_lock, held for writing, expecting that to > stabilise page_count. In which case I could have a look at your code and > see if it would be a problem. Thanks. I'm not far from head now, so guess I have no problems with the rest. From what you say about the other patches, I think I'm fine as far as the rest go too. I was mostly concerned that the modifications might make it possible for the lru to start changing while the image is being written. It looks to me now like I was being too paranoid (which isn't necessarily a bad thing, is it?). Regards, Nigel