linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch part-II V2 00/13]  x86/entry: Consolidation - Part II (syscalls)
@ 2020-03-08 22:23 Thomas Gleixner
  2020-03-08 22:24 ` [patch part-II V2 01/13] context_tracking: Ensure that the critical path cannot be instrumented Thomas Gleixner
                   ` (12 more replies)
  0 siblings, 13 replies; 40+ messages in thread
From: Thomas Gleixner @ 2020-03-08 22:23 UTC (permalink / raw)
  To: LKML
  Cc: x86, Steven Rostedt, Brian Gerst, Juergen Gross,
	Frederic Weisbecker, Alexandre Chartre

Hi!

This is the second version of the syscall entry code consolidation
series. V1 can be found here:

  https://lore.kernel.org/r/20200225220801.571835584@linutronix.de

It applies on top of

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry

and is also available from git:

    git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel entry-v2-part2

The changes vs. V1:

  - Addressed the review comments. The main change is the rework of
    preparing the move of interrupt tracing to C-code. The new version
    creates less churn which needs to be mopped up afterwards again.

  - Provide new variants for trace_hardirqs_on() which are not using
    the rcuidle tracepoint mechanism and do not call into lockdep.

    This allows to split up lockdep and tracing in the enter from user and
    exit to user implementation.

    Aside of addressing the rcuidle issue of functions attached to
    tracepoints which are not rcuidle safe, e.g. BPF, this also has a
    performance advantage as it spares the srcu/rcu_irq dance around the
    tracepoint before enter_from_user_mode() which turns RCU back on
    anyway. Same on the way out.

  - Picked up Reviewed-by and Acked-by tags

Thanks,

	tglx
---
 arch/x86/entry/common.c                |  106 +++++++++++++++++++++++++--------
 arch/x86/entry/entry_32.S              |   26 +-------
 arch/x86/entry/entry_64.S              |    6 -
 arch/x86/entry/entry_64_compat.S       |   32 +--------
 arch/x86/include/asm/nospec-branch.h   |    4 -
 include/linux/context_tracking.h       |   14 ++--
 include/linux/context_tracking_state.h |    6 -
 include/linux/irqflags.h               |    4 +
 kernel/context_tracking.c              |    9 +-
 kernel/trace/trace_preemptirq.c        |   23 +++++++
 10 files changed, 136 insertions(+), 94 deletions(-)



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

end of thread, other threads:[~2020-03-23  9:08 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08 22:23 [patch part-II V2 00/13] x86/entry: Consolidation - Part II (syscalls) Thomas Gleixner
2020-03-08 22:24 ` [patch part-II V2 01/13] context_tracking: Ensure that the critical path cannot be instrumented Thomas Gleixner
2020-03-09 14:22   ` Frederic Weisbecker
2020-03-09 14:40     ` Thomas Gleixner
2020-03-10 10:12   ` Alexandre Chartre
2020-03-08 22:24 ` [patch part-II V2 02/13] x86/entry: Mark enter_from_user_mode() notrace and NOKPROBE Thomas Gleixner
2020-03-09 15:14   ` Frederic Weisbecker
2020-03-09 15:40     ` Thomas Gleixner
2020-03-11 22:21       ` Frederic Weisbecker
2020-03-10 10:15   ` Alexandre Chartre
2020-03-08 22:24 ` [patch part-II V2 03/13] x86/entry/32: Remove unused label restore_nocheck Thomas Gleixner
2020-03-10 10:16   ` Alexandre Chartre
2020-03-10 13:02   ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner
2020-03-08 22:24 ` [patch part-II V2 04/13] x86/entry/64: Trace irqflags unconditionally as ON when returning to user space Thomas Gleixner
2020-03-10 10:25   ` Alexandre Chartre
2020-03-10 13:02   ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner
2020-03-08 22:24 ` [patch part-II V2 05/13] x86/entry/common: Consolidate syscall entry code Thomas Gleixner
2020-03-08 22:24 ` [patch part-II V2 06/13] x86/entry/common: Mark syscall entry points notrace and NOKPROBE Thomas Gleixner
2020-03-13 15:12   ` Frederic Weisbecker
2020-03-08 22:24 ` [patch part-II V2 07/13] x86/entry: Move irq tracing on syscall entry to C-code Thomas Gleixner
2020-03-13 15:16   ` Frederic Weisbecker
2020-03-13 23:17     ` Thomas Gleixner
2020-03-08 22:24 ` [patch part-II V2 08/13] tracing: Provide lockdep less trace_hardirqs_on/off() variants Thomas Gleixner
2020-03-10 10:55   ` Alexandre Chartre
2020-03-10 11:08     ` Borislav Petkov
2020-03-10 11:21       ` Alexandre Chartre
2020-03-08 22:24 ` [patch part-II V2 09/13] x86/entry/common: Split hardirq tracing into lockdep and ftrace parts Thomas Gleixner
2020-03-10 11:20   ` Borislav Petkov
2020-03-10 13:40     ` Steven Rostedt
2020-03-10 13:28   ` Alexandre Chartre
2020-03-23  9:08   ` [x86/entry/common] bae397f6e7: WARNING:at_kernel/sched/cputime.c:#get_vtime_delta kernel test robot
2020-03-08 22:24 ` [patch part-II V2 10/13] x86/entry/common: Split prepare_exit_to_usermode() and syscall_return_slowpath() Thomas Gleixner
2020-03-10 13:37   ` Alexandre Chartre
2020-03-08 22:24 ` [patch part-II V2 11/13] x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inline Thomas Gleixner
2020-03-10 13:48   ` Alexandre Chartre
2020-03-10 16:38     ` Thomas Gleixner
2020-03-08 22:24 ` [patch part-II V2 12/13] x86/entry: Move irq flags tracing to prepare_exit_to_usermode() Thomas Gleixner
2020-03-10 14:03   ` Alexandre Chartre
2020-03-08 22:24 ` [patch part-II V2 13/13] x86/entry/common: Split irq tracing in prepare_exit_to_usermode() Thomas Gleixner
2020-03-10 14:09   ` Alexandre Chartre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).