All of lore.kernel.org
 help / color / mirror / Atom feed
* [for-linus][PATCH 0/2] tracing/eventfs: Fixes for 6.8
@ 2024-01-23  3:08 Steven Rostedt
  2024-01-23  3:08 ` [for-linus][PATCH 1/2] tracing: Ensure visibility when inserting an element into tracing_map Steven Rostedt
  2024-01-23  3:08 ` [for-linus][PATCH 2/2] eventfs: Save directory inodes in the eventfs_inode structure Steven Rostedt
  0 siblings, 2 replies; 4+ messages in thread
From: Steven Rostedt @ 2024-01-23  3:08 UTC (permalink / raw)
  To: linux-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers, Andrew Morton

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(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-23  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23  3:08 [for-linus][PATCH 0/2] tracing/eventfs: Fixes for 6.8 Steven Rostedt
2024-01-23  3:08 ` [for-linus][PATCH 1/2] tracing: Ensure visibility when inserting an element into tracing_map Steven Rostedt
2024-01-23  3:08 ` [for-linus][PATCH 2/2] eventfs: Save directory inodes in the eventfs_inode structure Steven Rostedt
2024-01-23  9:16   ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.