Re: [tip:perfcounters/core] perf_counter: x86: Fix call-chain support to use NMI-safe methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:perfcounters/core] perf_counter: x86: Fix call-chain support to use NMI-safe methods
- From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
- Date: Mon, 15 Jun 2009 13:18:15 -0700
- Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, mingo@xxxxxxxxxx, paulus@xxxxxxxxx, acme@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, penberg@xxxxxxxxxxxxxx, vegard.nossum@xxxxxxxxx, efault@xxxxxx, npiggin@xxxxxxx, tglx@xxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <4A369F3F.5060600@xxxxxxxxxx>
- References: <tip-74193ef0ecab92535c8517f082f1f50504526c9b@xxxxxxxxxxxxxx> <alpine.LFD.2.01.0906151007560.3305@xxxxxxxxxxxxxxxxxxxxx> <20090615171845.GA7664@xxxxxxx> <alpine.LFD.2.01.0906151029160.3305@xxxxxxxxxxxxxxxxxxxxx> <4A369508.2090707@xxxxxxxxx> <20090615184858.GD6520@Krystal> <1245091917.6741.185.camel@laptop> <20090615185907.GF6520@Krystal> <20090615190321.GA11641@xxxxxxx> <20090615190759.GA12778@xxxxxxx> <1245093011.6741.213.camel@laptop> <4A369F3F.5060600@xxxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2
On 06/15/09 12:21, Avi Kivity wrote:
You can read cr2 on nmi entry and nmi exit, and only write it if it
has changed (if it turns out that writing cr2 is expensive; ISTR that
it isn't).
Writing the real cr2 is expensive, but it may be cheap to write the
virtual cr2 in a vmx context. Or something.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]