Re: [debug patch] printk: Add a printk killswitch to robustify NMI watchdog messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [debug patch] printk: Add a printk killswitch to robustify NMI watchdog messages
- From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Jun 2011 13:53:48 -0700
- Cc: Ingo Molnar <mingo@xxxxxxx>, Arne Jansen <lists@xxxxxxxxxxxxxx>, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, efault@xxxxxx, npiggin@xxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, frank.rowand@xxxxxxxxxxx, tglx@xxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <1307565125.2497.1003.camel@laptop>
On Wed, Jun 8, 2011 at 1:32 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> atomic_down() is a tad iffy, it would have to wait for an actual
> semaphore owner, which might sleep etc.. So I skipped it.
I think sleeping would be fine: the "atomic" part is about the code
the semaphore protects, not about the down() itself.
But the way you made the semantics be (caller has to disable
interrupts) for the other helpers, that doesn't really work.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]