LWN.net Logo

lockless pagecache prep round 1

From:  Nick Piggin <nickpiggin@yahoo.com.au>
To:  linux-kernel <linux-kernel@vger.kernel.org>
Subject:  [patches] lockless pagecache prep round 1
Date:  Sun, 30 Oct 2005 11:41:17 +1100
Archive-link:  Article, Thread

Hi List,

Following this are some prep patches from my lockless pagecache
patch stack, though they are nice patches that stand by themselves.
I would be interested in getting them merged soon, they have
survived quite a lot of stress testing here. Reviews and Acks from
interested parties would be helpful.

First is the generic atomic_cmpxchg stuff. These are really useful
primitives to have in general as can be seen by their subsequent
application. I've tried to do lots of compile testing, but if this
causes failures, then it is exposing bugs already in the code that
need fixing.

Second is some radix tree improvements and cleanups. This patchset
does introduce an "unused" radix tree API (lookup_slot), however
I thought it was appropriate to include this patch here because
there seem to be a number of users interested in this functionality
(lockless pagecache, reiser4, adaptive readahead), and I don't want
to see 3 different implementations!

Thanks,
Nick

-- 
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com 


Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds