On Mon, 2011-07-04 at 14:39 +0800, Lin Ming wrote:> > Does this really need to be a raw spinlock? > > I think spinlock is enough. No, raw_spinlock_t was correct.Talking of which:+ struct spinlock lock;That too should be a raw_spinlock_t.