Skip to contentSkip to conversation

locking: annotate inline spinlocks and rwlocks on SMP

PATCH New Pavel Roskin 1 participant 1 message Mar 25, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 locking: annotate inline spinlocks and rwlocks on SMP

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.

Signature · 2 lines
Regards,
Pavel Roskin