Re: [PATCH 0/3] minor cleanups to EFLAGS initialisation in ret_from_fork

Cyrill Gorcunov
2011-07-25T10:19:12Z

On Mon, Jul 25, 2011 at 10:58:03AM +0100, Ian Campbell wrote:
> 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.
>

Thanks, Ian! I think noone against this simplification, Peter, Andi?

Cyrill