Re: How to do lockless stacking (was Re: LSM Stacker)

From: Greg KH (greg@private)
Date: Mon Dec 20 2004 - 14:08:20 PST


On Mon, Dec 20, 2004 at 02:59:59PM -0500, David A. Wheeler wrote:
> Anyway, I recommend that you consider the lockless
> approach described here.  RCU is nice, but no
> locking approach can be NEARLY as efficient as a
> lockless approach, if you design your system
> to achieve lockless.  This approach gives you
> lockless-on-reading, which is a desirable property
> since reads are FAR more common than writes/changes
> of the list of stacked modules.

RCU is lockless-on-reading from what I remember.

thanks,

greg k-h



This archive was generated by hypermail 2.1.3 : Mon Dec 20 2004 - 14:09:03 PST