Re: [PATCH] Fixes for RCU handling of task_struct

From: Nick Piggin
Date: Mon Nov 07 2005 - 00:49:16 EST


Paul E. McKenney wrote:
On Mon, Nov 07, 2005 at 12:12:25PM +1100, Nick Piggin wrote:

Yes, it is basically ready to go.


Would it simplify the rcuref.h code? Or lib/dec_and_lock.c?


Yep, I recently posted it to lkml... rcuref.h disappears, and
dec_and_lock becomes simplified not to mention more efficient
on those architectures which do not define HAVE_ARCH_CMPXCHG.

http://marc.theaimsgroup.com/?l=linux-kernel&m=113117753625350&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=113117753629218&w=2

I need the infrastructure for lockless pagecache, but fortunately
it is very useful for other things as well. Especially lockless
algorithms it seems.

Nick

--
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/