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-prev] [day] [month] [year] [list]
Date:	Mon, 3 Nov 2008 11:10:27 +0100
From:	Ingo Molnar <>
To:	Steven Rostedt <>
Cc:	LKML <>,
	Thomas Gleixner <>,
	Peter Zijlstra <>,
	Linus Torvalds <>,
	Andrew Morton <>
Subject: Re: [PATCH -v3] ring-buffer: add paranoid checks for loops

* Steven Rostedt <> wrote:

> [
>   Changes from v2:
>    Applied Ingo's comments:
>      Rephrased one of the comments.
>      Renamed the "paranoid" variable into "nr_loops".
> ]
> While writing a new tracer, I had a bug where I caused the ring-buffer
> to recurse in a bad way. The bug was with the tracer I was writing
> and not the ring-buffer itself. But it took a long time to find the
> problem.
> This patch adds paranoid checks into the ring-buffer infrastructure
> that will catch bugs of this nature.
> Note: I put the bug back in the tracer and this patch showed the error
>       nicely and prevented the lockup.
> Signed-off-by: Steven Rostedt <>
> ---
>  kernel/trace/ring_buffer.c |   56 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 56 insertions(+)

applied to tip/tracing/urgent, thanks Steve!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists