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]

 




On Mon, 15 Jun 2009, H. Peter Anvin wrote:
> 
> cs/ss you could potentially restore with sysret/sysexit, at least for
> the common case.  Of course, this means more cases...

Yes. But it gets pretty complicated. You now have to make user space 
restore some of the registers, so you end up having to write to the user 
space stack etc.

It might be worth it (iret really is very slow, _especially_ to user 
space, but it's definitely nontrivial.

			Linus
--
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]

  Powered by Linux