[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260106195241.166f4115@fedora>
Date: Tue, 6 Jan 2026 19:52:41 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Masami Hiramatsu <mhiramat@...nel.org>, Mark Rutland
<mark.rutland@....com>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ftrace: Do not over-allocate ftrace memory
On Tue, 6 Jan 2026 16:24:28 -0800
Guenter Roeck <linux@...ck-us.net> wrote:
> if (pg_unuse) {
> - unsigned long pg_remaining, remaining = 0;
> - unsigned long skip;
> -
> - /* Count the number of entries unused and compare it to skipped. */
> - pg_remaining = (ENTRIES_PER_PAGE << pg->order) - pg->index;
> -
The above needs to be fixed though.
-- Steve
Powered by blists - more mailing lists