lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 4 Nov 2006 02:36:20 +0100
From:	Andi Kleen <>
To:	Linus Torvalds <>
Cc:	Chuck Ebbert <>,
	linux-kernel <>,
	Zachary Amsden <>
Subject: Re: [rfc patch] i386: don't save eflags on task switch

On Saturday 04 November 2006 01:46, Linus Torvalds wrote:
> On Fri, 3 Nov 2006, Chuck Ebbert wrote:
> >
> > There is no real need to save eflags in switch_to().  Instead,
> > we can keep a constant value in the and always
> > restore that.
> I don't really see the point. The "pushfl" isn't the expensive part, and 
> it gives sane and expected semantics.
> The "popfl" is the expensive part, and that's the thing that can't really 
> even be removed.

Well it could -- i made an attempt at it recently. But it would add 
a little code to the SYSENTER entry code (basically a test / conditional
jump after the pushfl there) to clear any rogue flags on entry.
Not sure it is worth it. That is why i didn't put this patch in.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists