We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a9992 commit f99d27dCopy full SHA for f99d27d
arch/loongarch/kernel/unwind_orc.c
@@ -399,7 +399,7 @@ bool unwind_next_frame(struct unwind_state *state)
399
return false;
400
401
/* Don't let modules unload while we're reading their ORC data. */
402
- preempt_disable();
+ guard(rcu)();
403
404
if (is_entry_func(state->pc))
405
goto end;
@@ -514,14 +514,12 @@ bool unwind_next_frame(struct unwind_state *state)
514
if (!__kernel_text_address(state->pc))
515
goto err;
516
517
- preempt_enable();
518
return true;
519
520
err:
521
state->error = true;
522
523
end:
524
525
state->stack_info.type = STACK_TYPE_UNKNOWN;
526
527
}
0 commit comments