All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] minor cleanups to EFLAGS initialisation in ret_from_fork
@ 2011-07-25  9:58 Ian Campbell
  2011-07-25 10:03 ` [PATCH 1/3] x86: drop unnecessary kernel_eflags variable from 64 bit Ian Campbell
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Ian Campbell @ 2011-07-25  9:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Pekka Enberg, Cyrill Gorcunov, H. Peter Anvin, Andi Kleen

The following series removes the use of a global kernel_eflags variable
from the x86_64 ret_from_fork path and (very slightly) merges the 32 and
64 bit version of that code path.

kernel_eflags could be made a __read_mostly but actually there is no
reason to prefer the value at cpu_init() time to a compile time constant
value for the initial eflags after a fork.

Ian.


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [Q x86-64] on kernel_eflags
@ 2011-07-05 11:15 Cyrill Gorcunov
  2011-07-05 13:00 ` [PATCH 2/3] x86: make 64 bit ret_from_fork a little more similar to 32 bit Ian Campbell
  0 siblings, 1 reply; 15+ messages in thread
From: Cyrill Gorcunov @ 2011-07-05 11:15 UTC (permalink / raw)
  To: Ian Campbell
  Cc: LKML, Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Brian Gerst,
	Jan Beulich, Peter Zijlstra, Frederic Weisbecker

On Tue, Jul 05, 2011 at 12:00:56PM +0100, Ian Campbell wrote:
...
> 
> I posted http://lkml.org/lkml/2010/2/9/155 to switch to the hardcoded
> version for 64 bit too. Is it worth my rebasing and reposting that?

I think so.

	Cyrill

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/3] x86: slightly unify ret_from_fork
@ 2010-02-09 15:56 Ian Campbell
  2010-02-09 15:56 ` [PATCH 2/3] x86: make 64 bit ret_from_fork a little more similar to 32 bit Ian Campbell
  0 siblings, 1 reply; 15+ messages in thread
From: Ian Campbell @ 2010-02-09 15:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ian Campbell, x86

I came across some minor differences between the 32 and 64 bit
implementations of ret_from_fork. Although I don't expect this is code
which can realistically be completely unified there seemed to be some
value in making the two look a bit more similar.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: x86@kernel.org

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-08-10 15:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-25  9:58 [PATCH 0/3] minor cleanups to EFLAGS initialisation in ret_from_fork Ian Campbell
2011-07-25 10:03 ` [PATCH 1/3] x86: drop unnecessary kernel_eflags variable from 64 bit Ian Campbell
2011-07-25 10:03 ` [PATCH 2/3] x86: make 64 bit ret_from_fork a little more similar to 32 bit Ian Campbell
2011-07-25 10:03 ` [PATCH 3/3] x86: ret_from_fork: use symbolic contants for bits in EFLAGS Ian Campbell
2011-07-25 10:19 ` [PATCH 0/3] minor cleanups to EFLAGS initialisation in ret_from_fork Cyrill Gorcunov
2011-07-25 18:20   ` Cyrill Gorcunov
2011-07-25 21:10     ` H. Peter Anvin
2011-07-25 21:47       ` Cyrill Gorcunov
2011-07-26 14:46         ` Peter Zijlstra
2011-07-26 15:51           ` Ian Campbell
2011-08-10 15:27           ` Ian Campbell
2011-08-10 15:35             ` Peter Zijlstra
  -- strict thread matches above, loose matches on Subject: below --
2011-07-05 11:15 [Q x86-64] on kernel_eflags Cyrill Gorcunov
2011-07-05 13:00 ` [PATCH 2/3] x86: make 64 bit ret_from_fork a little more similar to 32 bit Ian Campbell
2011-07-06  9:41   ` Pekka Enberg
2010-02-09 15:56 [PATCH 0/3] x86: slightly unify ret_from_fork Ian Campbell
2010-02-09 15:56 ` [PATCH 2/3] x86: make 64 bit ret_from_fork a little more similar to 32 bit Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.