Re: spinlock_irqsave() && flags (Was: pm80xx: Spinlock fix)

Linus Torvalds
2013-12-23T18:43:11Z

On Mon, Dec 23, 2013 at 10:24 AM, Oleg Nesterov <oleg@redhat.com> wrote:
>
> However, the code above already has the users. Do you think it makes
> sense to add something like

No. I think it makes sense to put a big warning on any users you find,
and fart in the general direction of any developer who did that broken
pattern.

Because code like that is obviously crap.

Linus