[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240123030826.619242906@goodmis.org>
Date: Mon, 22 Jan 2024 22:08:26 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [for-linus][PATCH 0/2] tracing/eventfs: Fixes for 6.8
Tracing and eventfs fixes for 6.8:
- Fix histogram tracing_map insertion.
The tracing_map_insert copies the value into the elt variable and
then assigns the elt to the entry value. But it is possible that
the entry value becomes visible on other CPUs before the elt is
fully initialized. This is fixed by adding a wmb() between the
initialization of the elt variable and assigning it.
- Have eventfs directory have unique inode numbers. Having them be
all the same proved to be a failure as the find application will
think that the directories are causing loops, as it checks for
directory loops via their inodes. Have the evenfs dir entries
get their inodes assigned when they are referenced and then save
them in the eventfs_inode structure.
Petr Pavlu (1):
tracing: Ensure visibility when inserting an element into tracing_map
Steven Rostedt (Google) (1):
eventfs: Save directory inodes in the eventfs_inode structure
----
fs/tracefs/event_inode.c | 14 +++++++++++---
fs/tracefs/internal.h | 7 ++++---
kernel/trace/tracing_map.c | 7 ++++++-
3 files changed, 21 insertions(+), 7 deletions(-)
Powered by blists - more mailing lists