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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230528051742.1325503-1-rostedt@goodmis.org>
Date:   Sun, 28 May 2023 01:17:37 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     LKML <linux-kernel@...r.kernel.org>,
        Linux trace kernel <linux-trace-kernel@...r.kernel.org>
Cc:     Masami Hiramatsu <mhiramat@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        "Steven Rostedt (Google)" <rostedt@...dmis.org>
Subject: [PATCH 0/5] tracing: Fix selftests softlockup issues

From: "Steven Rostedt (Google)" <rostedt@...dmis.org>

Starting with v6.4-rc releases, the debugging of the kernel has slowed down
text_poke and friends so much that it is triggering the softlockup detector in
the ftrace selftests. There are two issues that I found.

1. The selftests run one after the other without a schedule.
2. text_poke_bp_batch can take up a lot of time itself without a schedule.

This addresses the first part. The second part is a x86 issue and I will be
addressing that with a separate patch.

As I'm currently in an Taiwan airport lounge with horrible internet connection,
and ssh'd to my home machine. I'm sending this patchset with hand typed git sendemail
If it goes bad, that's the reason!

Steven Rostedt (Google) (5):
  tracing: Move setting of tracing_selftest_running out of
    register_tracer()
  tracing: Have tracer selftests call cond_resched() before running
  tracing: Make tracing_selftest_running/delete nops when not used
  tracing: Only make selftest conditionals affect the global_trace
  tracing: Have function_graph selftest call cond_resched()

 kernel/trace/trace.c          | 42 +++++++++++++++++++++++++++++------
 kernel/trace/trace_selftest.c | 10 +++++++++
 2 files changed, 45 insertions(+), 7 deletions(-)

-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ