Commit c1be35a
exit: wait_task_zombie: kill the no longer necessary spin_lock_irq(siglock)
After the recent changes nobody use siglock to read the values protected
by stats_lock, we can kill spin_lock_irq(¤t->sighand->siglock) and
update the comment.
With this patch only __exit_signal() and thread_group_start_cputime() take
stats_lock under siglock.
Link: https://lkml.kernel.org/r/20240123153359.GA21866@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Dylan Hatch <dylanbhatch@google.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>1 parent 7601df8 commit c1be35a
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1127 | 1127 | | |
1128 | 1128 | | |
1129 | 1129 | | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
| 1130 | + | |
1133 | 1131 | | |
1134 | 1132 | | |
1135 | 1133 | | |
1136 | 1134 | | |
1137 | 1135 | | |
1138 | 1136 | | |
1139 | | - | |
1140 | | - | |
| 1137 | + | |
1141 | 1138 | | |
1142 | 1139 | | |
1143 | 1140 | | |
| |||
1160 | 1157 | | |
1161 | 1158 | | |
1162 | 1159 | | |
1163 | | - | |
1164 | | - | |
| 1160 | + | |
1165 | 1161 | | |
1166 | 1162 | | |
1167 | 1163 | | |
| |||
0 commit comments