I'm writing a Linux kernel(android Linux kernel) module. I have a general question . is it possible to force kernel run a part of code in non-preemptive mode?
Asked
Active
Viewed 137 times
1 Answers
0
Yes, you can wrap the code in preempt_disable();
/ preempt_enable();
. Note that this does not block interrupts.

caf
- 233,326
- 40
- 323
- 462