[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110217125145.GB27504@elte.hu>
Date: Thu, 17 Feb 2011 13:51:45 +0100
From: Ingo Molnar <mingo@...e.hu>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
David Miller <davem@...emloft.net>, simoneau@....uri.edu,
will.newton@...il.com, matt@...sole-pimps.org, rostedt@...dmis.org,
peterz@...radead.org, jbaron@...hat.com,
mathieu.desnoyers@...ymtl.ca, tglx@...utronix.de,
andi@...stfloor.org, roland@...hat.com, rth@...hat.com,
masami.hiramatsu.pt@...achi.com, fweisbec@...il.com,
avi@...hat.com, sam@...nborg.org, ddaney@...iumnetworks.com,
michael@...erman.id.au, linux-kernel@...r.kernel.org,
vapier@...too.org, cmetcalf@...era.com, dhowells@...hat.com,
schwidefsky@...ibm.com, heiko.carstens@...ibm.com
Subject: Re: [PATCH 0/2] jump label: 2.6.38 updates
* H. Peter Anvin <hpa@...or.com> wrote:
> On 02/16/2011 12:35 AM, Ingo Molnar wrote:
> >
> > Just curious: how does this work if there's an interrupt (or NMI) right after the
> > invalidate instruction but before the 'll' instruction? The IRQ/NMI may refill the
> > L1. Or are the two instructions coupled by hw (they form a single instruction in
> > essence) and irqs/NMIs are inhibited inbetween?
> >
>
> http://en.wikipedia.org/wiki/Load-link/store-conditional
Oh, ll/sc, that indeed clicks - i even wrote such assembly code many years ago ;-)
Thanks,
Ingo
--
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