Re: [patch] i386: another possible singlestep fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 17 Feb 2006, Chuck Ebbert wrote:
>
> When entering kernel via int80, TIF_SINGLESTEP is not set
> when TF has been set in eflags by the user.  This patch
> does that.

This really shouldn't matter.

When we enter the kernel through "int 0x80", we don't need to do anything 
about TIF_SINGLESTEP, because unlike the "sysenter" path, the "int" 
instruction will automatically do the right thing (save old eflags on the 
stack).

So afaik, this won't actually do anything (except make _the_ most 
timing-critical path in the kernel slower). Have you actually seen any 
effects of it?

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux