Skip to content

Some TIF_IA32 fixes

Andy Lutomirski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86_64, entry: Remove a bogus ret_from_fork optimizationarch/x86/kernel/entry_64.S+8 -51 reply
2/3x86_64, ptrace: Remove checks for TIF_IA32 when changing cs and ssarch/x86/kernel/ptrace.c+2 -80 replies
3/3x86_64, copy_thread: Fix CLONE_SETTLS bitnessarch/x86/kernel/process_64.c+1 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchIngo Molnar
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Some TIF_IA32 fixes

At some point I'd like to remove TIF_IA32 entirely and replace it with just user_64bit_mode and a per-mm configuration. In the mean time, this fixes some incorrect uses.

Ingo, Thomas, Peter, if you like these, please ack the first one and apply the other two. The first one will conflict with the pile of entry changes that I'll send a pull request for in a few days. (Alternatively, you can take all three and fix the conflict yourself -- it's trivial.)

Andy Lutomirski (3):
x86_64, entry: Remove a bogus ret_from_fork optimization x86_64, ptrace: Remove checks for TIF_IA32 when changing cs and ss x86_64, copy_thread: Fix CLONE_SETTLS bitness

 arch/x86/kernel/entry_64.S   | 13 ++++++++-----
 arch/x86/kernel/process_64.c |  2 +-
 arch/x86/kernel/ptrace.c     | 10 ++--------
 3 files changed, 11 insertions(+), 14 deletions(-)
Signature · 1 line
2.3.0