[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1317986306.31132.10.camel@twins>
Date: Fri, 07 Oct 2011 13:18:26 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Stephane Eranian <eranian@...gle.com>
Cc: Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
mingo@...e.hu, acme@...hat.com, ming.m.lin@...el.com,
robert.richter@....com, ravitillo@....gov
Subject: Re: [PATCH 07/12] perf_events: add LBR software filter support for
Intel X86
On Fri, 2011-10-07 at 12:49 +0200, Stephane Eranian wrote:
> > You could still fuzz it after the cpu passed through and before the
> > kernel reads the LBR. Its a narrow window, but quite feasible.
> >
> Yeah, depending on the depth of the LBR. But then what happens, you
> decode an instruction that is not what was executed.
Right, and Andi's concern is that this might cause our instruction
decoder to blow up, or worse.
The whole false profile thing isn't really a problem, I mean, that's
what you get for poking at your own instruction stream.
--
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