Re: [PATCH v3 3/3] sched, x86: Check that we're on the right stack in schedule and __might_sleep
From: Linus Torvalds
Date: Wed Nov 19 2014 - 18:42:34 EST
On Wed, Nov 19, 2014 at 3:32 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> preempt_count is a per cpu variable at least on x86 since:
Oh, goodie. I hadn't tracked that it went in, I just remembered the
discussion. I should have looked.
And apparently we do it in nmi_enter too, so NMI is already ok. Don't
know about the others.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/