bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v16 00/10] unwind_user: Deferred unwinding infrastructure
@ 2025-07-29 18:23 Steven Rostedt
  2025-07-29 18:23 ` [PATCH v16 01/10] unwind_user: Add user space unwinding API with frame pointer support Steven Rostedt
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Steven Rostedt @ 2025-07-29 18:23 UTC (permalink / raw)
  To: linux-kernel, linux-trace-kernel, bpf
  Cc: Masami Hiramatsu, Mathieu Desnoyers, Josh Poimboeuf,
	Peter Zijlstra, Ingo Molnar, Jiri Olsa, Arnaldo Carvalho de Melo,
	Namhyung Kim, Thomas Gleixner, Andrii Nakryiko, Indu Bhagat,
	Jose E. Marchesi, Beau Belgrave, Jens Remus, Linus Torvalds,
	Andrew Morton, Jens Axboe, Florian Weimer, Sam James


Jen Remus suggested some updates from v15:

  https://lore.kernel.org/linux-trace-kernel/20250725185512.673587297@kernel.org/

Those were:

- Make fp_frame into a constant

- Removed useless initializing ra variable to zero
    
  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
unwind/core

Head SHA1: cf079f0176cc16e937f0fd868f0ec2d649ad53dd


Josh Poimboeuf (3):
      unwind_user: Add user space unwinding API with frame pointer support
      unwind_user/deferred: Add unwind cache
      unwind_user/deferred: Add deferred unwinding interface

Steven Rostedt (7):
      unwind_user/deferred: Add unwind_user_faultable()
      unwind_user/deferred: Make unwind deferral requests NMI-safe
      unwind deferred: Use bitmask to determine which callbacks to call
      unwind deferred: Add unwind_completed mask to stop spurious callbacks
      unwind: Add USED bit to only have one conditional on way back to user space
      unwind deferred: Use SRCU unwind_deferred_task_work()
      unwind: Finish up unwind when a task exits

----
 MAINTAINERS                           |   8 +
 arch/Kconfig                          |   7 +
 include/asm-generic/Kbuild            |   1 +
 include/asm-generic/unwind_user.h     |   5 +
 include/linux/entry-common.h          |   2 +
 include/linux/sched.h                 |   5 +
 include/linux/unwind_deferred.h       |  81 ++++++++
 include/linux/unwind_deferred_types.h |  39 ++++
 include/linux/unwind_user.h           |  14 ++
 include/linux/unwind_user_types.h     |  44 +++++
 kernel/Makefile                       |   1 +
 kernel/exit.c                         |   2 +
 kernel/fork.c                         |   4 +
 kernel/unwind/Makefile                |   1 +
 kernel/unwind/deferred.c              | 362 ++++++++++++++++++++++++++++++++++
 kernel/unwind/user.c                  | 128 ++++++++++++
 16 files changed, 704 insertions(+)
 create mode 100644 include/asm-generic/unwind_user.h
 create mode 100644 include/linux/unwind_deferred.h
 create mode 100644 include/linux/unwind_deferred_types.h
 create mode 100644 include/linux/unwind_user.h
 create mode 100644 include/linux/unwind_user_types.h
 create mode 100644 kernel/unwind/Makefile
 create mode 100644 kernel/unwind/deferred.c
 create mode 100644 kernel/unwind/user.c

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

end of thread, other threads:[~2025-08-02  0:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29 18:23 [PATCH v16 00/10] unwind_user: Deferred unwinding infrastructure Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 01/10] unwind_user: Add user space unwinding API with frame pointer support Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 02/10] unwind_user/deferred: Add unwind_user_faultable() Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 03/10] unwind_user/deferred: Add unwind cache Steven Rostedt
2025-07-30  4:55   ` Indu Bhagat
2025-07-30 13:32     ` Steven Rostedt
2025-07-30 23:58       ` Indu Bhagat
2025-07-29 18:23 ` [PATCH v16 04/10] unwind_user/deferred: Add deferred unwinding interface Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 05/10] unwind_user/deferred: Make unwind deferral requests NMI-safe Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 06/10] unwind deferred: Use bitmask to determine which callbacks to call Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 07/10] unwind deferred: Add unwind_completed mask to stop spurious callbacks Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 08/10] unwind: Add USED bit to only have one conditional on way back to user space Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 09/10] unwind deferred: Use SRCU unwind_deferred_task_work() Steven Rostedt
2025-08-01  0:29   ` Paul E. McKenney
2025-08-01  1:11     ` Steven Rostedt
2025-07-29 18:23 ` [PATCH v16 10/10] unwind: Finish up unwind when a task exits Steven Rostedt
2025-08-02  0:14 ` [PATCH v16 00/10] unwind_user: Deferred unwinding infrastructure patchwork-bot+netdevbpf

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).