Thread (10 messages) 10 messages, 2 authors, 2025-10-08

Re: [PATCH v1] Revert "tracing: Fix tracing_marker may trigger page fault during preempt_disable"

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-10-07 21:40:20
Also in: lkml

On Tue, 7 Oct 2025 16:31:41 -0400
Steven Rostedt [off-list ref] wrote:
+static void trace_user_fault_buffer_free(struct trace_user_buf_info *tinfo)
+{
+	char *buf;
+	int cpu;
+
+	for_each_possible_cpu(cpu) {
+		buf = per_cpu_ptr(tinfo->tbuf, cpu)->buf;
+		kfree(buf);
+	}
Oops, missed:

	free_percpu(tinfo->tbuf);

here.

-- Steve
+	kfree(tinfo);
+}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help