[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFwa6+kt0rGeQ1YX2qkwTMyAsEgWAtkN86Nap1ROJyjmog@mail.gmail.com>
Date: Wed, 19 Nov 2014 15:42:25 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Andy Lutomirski <luto@...capital.net>,
Andi Kleen <andi@...stfloor.org>,
Borislav Petkov <bp@...en8.de>,
"the arch/x86 maintainers" <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Oleg Nesterov <oleg@...hat.com>,
Tony Luck <tony.luck@...el.com>
Subject: Re: [PATCH v3 3/3] sched, x86: Check that we're on the right stack in
schedule and __might_sleep
On Wed, Nov 19, 2014 at 3:32 PM, Thomas Gleixner <tglx@...utronix.de> 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.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists