[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.01.0906161054020.3282@localhost.localdomain>
Date: Tue, 16 Jun 2009 10:54:15 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: mingo@...hat.com, hpa@...or.com, mathieu.desnoyers@...ymtl.ca,
linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
penberg@...helsinki.fi, vegard.nossum@...il.com, npiggin@...e.de,
jeremy@...p.org, tglx@...utronix.de, hugh.dickins@...cali.co.uk,
mingo@...e.hu
cc: linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/urgent] x86: mm: Read cr2 before prefetching the
mmap_lock
On Tue, 16 Jun 2009, tip-bot for Ingo Molnar wrote:
>
> It turns out that in current upstream we do exactly that:
>
> prefetchw(&mm->mmap_sem);
>
> /* Get the faulting address: */
> address = read_cr2();
>
> This is not good.
Ack.
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