Messages in this thread | | | Subject | [PATCH 0/3] minor cleanups to EFLAGS initialisation in ret_from_fork | From | Ian Campbell <> | Date | Mon, 25 Jul 2011 10:58:03 +0100 |
| |
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.
| |