[PATCH TRY2] locking: annotate inline spinlocks and rwlocks on SMP

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pavel Roskin
Date: Thursday, March 25, 2010 - 2:32 pm

Hello!

My patch at https://patchwork.kernel.org/patch/84441/ didn't get any
replies.

Bogus sparse warnings actually make developers change spin_lock() to
spin_lock_irqsave() to placate sparse, as it could be seen here:
http://marc.info/?l=linux-wireless&m=126954991321895&w=2

That's a patch I noticed because I read linux-wireless.  I think it's a
safe bet that it's not the only patch inspired by the bogus sparse
warnings.

Locking is hard already, and we don't want sparse to confuse developers
even more.  Linux code quality suffers because of that.

If there are any people or lists I should forward my patch to, please
let me know.

-- 
Regards,
Pavel Roskin
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH TRY2] locking: annotate inline spinlocks and rwlock ..., Pavel Roskin, (Thu Mar 25, 2:32 pm)