Skip to content

x86/entry: Break up common.c

Brian Gerst lkml 2 versions – Applied

Status from this message: The following commit has been merged into the x86/cpu branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 5 repliesApplied
  2. v15 patches 11 repliesApplied

Changes in v2 from the cover letter

- Move Xen inlines to enlighten_pv.c (Juergen Gross)
- Don't copy comments on the code's origins. Git history has that information already (Sohil Mehta)
- Added cleanup patches (Sohil Mehta)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7x86/xen: Move Xen upcall handlerarch/x86/entry/common.c arch/x86/xen/enlighten_pv.c+69 -721 reply
2/7x86/syscall/32: Move 32-bit syscall dispatch codearch/x86/entry/Makefile arch/x86/entry/common.c arch/x86/entry/syscall_32.c+329 -3230 replies
3/7x86/syscall/64: Move 64-bit syscall dispatch codearch/x86/entry/Makefile arch/x86/entry/common.c arch/x86/entry/syscall_64.c+96 -950 replies
4/7x86/syscall/x32: Move x32 syscall tablearch/x86/entry/Makefile arch/x86/entry/syscall_64.c arch/x86/entry/syscall_x32.c+13 -260 replies
5/7x86/syscall: Move sys_ni_syscall()arch/x86/entry/Makefile arch/x86/entry/common.c arch/x86/kernel/process.c+5 -410 replies
6/7x86/syscall: Remove stray semicolonsarch/x86/entry/syscall_32.c arch/x86/entry/syscall_64.c+3 -30 replies
7/7x86/syscall/32: Add comment to conditionalarch/x86/entry/syscall_32.c+2 -13 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJuergen GrossSohil Mehta
SeriesR-b
1/7R-b
2/7
3/7
4/7
5/7
6/7
7/7

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

Read the v2 thread

Cover letter [PATCH v2 0/7] x86/entry: Break up common.c

The syscall dispatch code originally was put into entry/common.c so that common code for entry from and exit to userspace could be inlined. That entry code has since been moved to the core kernel. There is no longer a need to keep this code together, so move it to more appropriate places.

No functional changes.

Changes in v2:
- Move Xen inlines to enlighten_pv.c (Juergen Gross)
- Don't copy comments on the code's origins. Git history has that information already (Sohil Mehta)
- Added cleanup patches (Sohil Mehta)

Brian Gerst (7):
x86/xen: Move Xen upcall handler x86/syscall/32: Move 32-bit syscall dispatch code x86/syscall/64: Move 64-bit syscall dispatch code x86/syscall/x32: Move x32 syscall table x86/syscall: Move sys_ni_syscall() x86/syscall: Remove stray semicolons x86/syscall/32: Add comment to conditional

 arch/x86/entry/Makefile      |   8 +-
 arch/x86/entry/common.c      | 524 -----------------------------------
 arch/x86/entry/syscall_32.c  | 332 +++++++++++++++++++++-
 arch/x86/entry/syscall_64.c  | 111 +++++++-
 arch/x86/entry/syscall_x32.c |  25 --
 arch/x86/kernel/process.c    |   5 +
 arch/x86/xen/enlighten_pv.c  |  69 +++++
 7 files changed, 515 insertions(+), 559 deletions(-)
 delete mode 100644 arch/x86/entry/common.c
 delete mode 100644 arch/x86/entry/syscall_x32.c

base-commit: d08c0d55110b7cbac186e5fa94b0c6d5f4d7905e

Signature · 1 line
2.48.1