All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Peter Zijlstra <peterz@infradead.org>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	Jiri Olsa <jolsa@kernel.org>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Namhyung Kim <namhyung@kernel.org>,
	linux-perf-users@vger.kernel.org
Subject: [GIT PULL] Performance events updates for v6.18
Date: Fri, 26 Sep 2025 16:36:02 +0200	[thread overview]
Message-ID: <aNak0jUWA0JvVEMX@gmail.com> (raw)

Linus,

Please pull the latest perf/core Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-2025-09-26

   # HEAD: 6d48436560e91be858158e227f21aab71698814e selftests/bpf: Fix uprobe_sigill test for uprobe syscall error value

Performance events updates for v6.18:

Core perf code updates:

 - Convert mmap() related reference counts to refcount_t. This
   is in reaction to the recently fixed refcount bugs, which
   could have been detected earlier and could have mitigated
   the bug somewhat. (Thomas Gleixner, Peter Zijlstra)

 - Clean up and simplify the callchain code, in preparation
   for sframes. (Steven Rostedt, Josh Poimboeuf)

Uprobes updates:

 - Add support to optimize usdt probes on x86-64, which
   gives a substantial speedup. (Jiri Olsa)

 - Cleanups and fixes on x86 (Peter Zijlstra)

PMU driver updates:

 - Various optimizations and fixes to the Intel PMU driver
   (Dapeng Mi)

Misc cleanups and fixes:

 - Remove redundant __GFP_NOWARN (Qianfeng Rong)

 Thanks,

	Ingo

------------------>
Dapeng Mi (6):
      perf/x86/intel: Use early_initcall() to hook bts_init()
      perf/x86/intel: Fix IA32_PMC_x_CFG_B MSRs access error
      perf/x86: Add PERF_CAP_PEBS_TIMING_INFO flag
      perf/x86/intel: Change macro GLOBAL_CTRL_EN_PERF_METRICS to BIT_ULL(48)
      perf/x86/intel: Add ICL_FIXED_0_ADAPTIVE bit into INTEL_FIXED_BITS_MASK
      perf/x86: Print PMU counters bitmap in x86_pmu_show_pmu_cap()

Jiri Olsa (24):
      uprobes: Remove breakpoint in unapply_uprobe under mmap_write_lock
      uprobes: Rename arch_uretprobe_trampoline function
      uprobes: Make copy_from_page global
      uprobes: Add uprobe_write function
      uprobes: Add nbytes argument to uprobe_write
      uprobes: Add is_register argument to uprobe_write and uprobe_write_opcode
      uprobes: Add do_ref_ctr argument to uprobe_write function
      uprobes/x86: Add mapping for optimized uprobe trampolines
      uprobes/x86: Add uprobe syscall to speed up uprobe
      uprobes/x86: Add support to optimize uprobes
      selftests/bpf: Import usdt.h from libbpf/usdt project
      selftests/bpf: Reorg the uprobe_syscall test function
      selftests/bpf: Rename uprobe_syscall_executed prog to test_uretprobe_multi
      selftests/bpf: Add uprobe/usdt syscall tests
      selftests/bpf: Add hit/attach/detach race optimized uprobe test
      selftests/bpf: Add uprobe syscall sigill signal test
      selftests/bpf: Add optimized usdt variant for basic usdt test
      selftests/bpf: Add uprobe_regs_equal test
      selftests/bpf: Change test_uretprobe_regs_change for uprobe and uretprobe
      selftests/bpf: Fix uprobe syscall shadow stack test
      seccomp: passthrough uprobe systemcall without filtering
      selftests/seccomp: validate uprobe syscall passes through seccomp
      uprobes/x86: Return error from uprobe syscall when not called from trampoline
      selftests/bpf: Fix uprobe_sigill test for uprobe syscall error value

Josh Poimboeuf (4):
      perf: Remove get_perf_callchain() init_nr argument
      perf: Have get_perf_callchain() return NULL if crosstask and user are set
      perf: Simplify get_perf_callchain() user logic
      perf: Skip user unwind if the task is a kernel thread

Peter Zijlstra (17):
      perf: Move perf_mmap_calc_limits() into both rb and aux branches
      perf: Merge consecutive conditionals in perf_mmap()
      perf: Move common code into both rb and aux branches
      perf: Remove redundant aux_unlock label
      perf: Use guard() for aux_mutex in perf_mmap()
      perf: Reflow to get rid of aux_success label
      perf: Split out the AUX buffer allocation
      perf: Make RB allocation branch self sufficient
      perf: Split out the RB allocation
      perf: Use scoped_guard() for mmap_mutex in perf_mmap()
      perf: Identify the 0->1 transition for event::mmap_count
      uprobes/x86: Add struct uretprobe_syscall_args
      uprobes/x86: Optimize is_optimize()
      uprobes/x86: Accept more NOP forms
      uprobes/x86: Fix uprobe syscall vs shadow stack
      uprobes/x86: Make asm style consistent
      uprobes/x86: Add SLS mitigation to the trampolines

Qianfeng Rong (1):
      uprobes: Remove redundant __GFP_NOWARN

Steven Rostedt (1):
      perf: Use current->flags & PF_KTHREAD|PF_USER_WORKER instead of current->mm == NULL

Thomas Gleixner (4):
      perf: Remove redundant condition for AUX buffer size
      perf: Split out mlock limit handling
      perf: Split out VM accounting
      perf: Convert mmap() refcounts to refcount_t


 arch/arm/probes/uprobes/core.c                     |   2 +-
 arch/x86/entry/syscalls/syscall_64.tbl             |   1 +
 arch/x86/events/core.c                             |  16 +-
 arch/x86/events/intel/bts.c                        |   2 +-
 arch/x86/events/intel/core.c                       |  21 +-
 arch/x86/include/asm/msr-index.h                   |  14 +-
 arch/x86/include/asm/perf_event.h                  |   8 +-
 arch/x86/include/asm/shstk.h                       |   4 +
 arch/x86/include/asm/uprobes.h                     |   7 +
 arch/x86/kernel/shstk.c                            |  40 ++
 arch/x86/kernel/uprobes.c                          | 635 ++++++++++++++++++++-
 arch/x86/kvm/pmu.h                                 |   2 +-
 include/linux/perf_event.h                         |   4 +-
 include/linux/syscalls.h                           |   2 +
 include/linux/uprobes.h                            |  20 +-
 kernel/bpf/stackmap.c                              |   4 +-
 kernel/events/callchain.c                          |  40 +-
 kernel/events/core.c                               | 369 ++++++------
 kernel/events/internal.h                           |   4 +-
 kernel/events/ring_buffer.c                        |   2 +-
 kernel/events/uprobes.c                            | 102 +++-
 kernel/fork.c                                      |   1 +
 kernel/seccomp.c                                   |  32 +-
 kernel/sys_ni.c                                    |   1 +
 tools/arch/x86/include/asm/msr-index.h             |  14 +-
 .../selftests/bpf/prog_tests/uprobe_syscall.c      | 484 ++++++++++++++--
 tools/testing/selftests/bpf/prog_tests/usdt.c      |  38 +-
 tools/testing/selftests/bpf/progs/uprobe_syscall.c |   4 +-
 .../selftests/bpf/progs/uprobe_syscall_executed.c  |  60 +-
 .../testing/selftests/bpf/test_kmods/bpf_testmod.c |  11 +-
 tools/testing/selftests/bpf/usdt.h                 | 545 ++++++++++++++++++
 tools/testing/selftests/seccomp/seccomp_bpf.c      | 107 +++-
 32 files changed, 2221 insertions(+), 375 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/usdt.h

             reply	other threads:[~2025-09-26 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-26 14:36 Ingo Molnar [this message]
2025-09-30 21:02 ` [GIT PULL] Performance events updates for v6.18 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aNak0jUWA0JvVEMX@gmail.com \
    --to=mingo@kernel.org \
    --cc=acme@redhat.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.