lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <aNak0jUWA0JvVEMX@gmail.com>
Date: Fri, 26 Sep 2025 16:36:02 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	Jiri Olsa <jolsa@...nel.org>,
	Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
	Mark Rutland <mark.rutland@....com>,
	Namhyung Kim <namhyung@...nel.org>,
	linux-perf-users@...r.kernel.org
Subject: [GIT PULL] Performance events updates for v6.18

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ