Commit c897c1e
tracing: Remove pointless memory barriers
Memory barriers are useful to ensure memory accesses from one CPU appear in
the original order as seen by other CPUs.
Some smp_rmb() and smp_wmb() are used, but they are not ordering multiple
memory accesses.
Remove them.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Gabriele Monaco <gmonaco@redhat.com>
Link: https://lore.kernel.org/20250626151940.1756398-1-namcao@linutronix.de
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 878e1e9 commit c897c1e
2 files changed
Lines changed: 0 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
679 | | - | |
680 | 678 | | |
681 | 679 | | |
682 | 680 | | |
| |||
696 | 694 | | |
697 | 695 | | |
698 | 696 | | |
699 | | - | |
700 | | - | |
701 | 697 | | |
702 | 698 | | |
703 | 699 | | |
| |||
713 | 709 | | |
714 | 710 | | |
715 | 711 | | |
716 | | - | |
717 | | - | |
718 | 712 | | |
719 | 713 | | |
720 | 714 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
940 | 939 | | |
941 | 940 | | |
942 | 941 | | |
| |||
1107 | 1106 | | |
1108 | 1107 | | |
1109 | 1108 | | |
1110 | | - | |
1111 | | - | |
1112 | 1109 | | |
1113 | 1110 | | |
1114 | 1111 | | |
| |||
1640 | 1637 | | |
1641 | 1638 | | |
1642 | 1639 | | |
1643 | | - | |
1644 | | - | |
1645 | 1640 | | |
1646 | 1641 | | |
1647 | 1642 | | |
| |||
2710 | 2705 | | |
2711 | 2706 | | |
2712 | 2707 | | |
2713 | | - | |
2714 | | - | |
2715 | 2708 | | |
2716 | 2709 | | |
2717 | 2710 | | |
| |||
0 commit comments