Repository navigation
Commit de31c3c
jump label: Fix error with preempt disable holding mutex
Kprobes and jump label were having a race between mutexes that
was fixed by reordering the jump label. But this reordering
moved the jump label mutex into a preempt disable location.
This patch does a little fiddling to move the grabbing of
the jump label mutex from inside the preempt disable section
and still keep the order correct between the mutex and the
kprobes lock.
Reported-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Jason Baron <jbaron@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>1 parent 91bad2f commit de31c3c
1 file changed
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
1148 | | - | |
1149 | 1148 | | |
| 1149 | + | |
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
| 1153 | + | |
| 1154 | + | |
1159 | 1155 | | |
1160 | 1156 | | |
1161 | 1157 | | |
| |||
1169 | 1165 | | |
1170 | 1166 | | |
1171 | 1167 | | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
1176 | 1171 | | |
1177 | 1172 | | |
1178 | 1173 | | |
1179 | 1174 | | |
1180 | 1175 | | |
1181 | 1176 | | |
1182 | 1177 | | |
1183 | | - | |
1184 | | - | |
| 1178 | + | |
1185 | 1179 | | |
1186 | 1180 | | |
1187 | 1181 | | |
| 1182 | + | |
1188 | 1183 | | |
1189 | 1184 | | |
1190 | 1185 | | |
| |||
1226 | 1221 | | |
1227 | 1222 | | |
1228 | 1223 | | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1229 | 1229 | | |
1230 | 1230 | | |
1231 | 1231 | | |
| |||
0 commit comments