How to check current preemption mode with DYNAMIC_PREEMTION?
by IlyaK from LinuxQuestions.org on (#6HNKV)
Since 5.12 Linux provides kernel command line argument to check preemption mode without recompiling.
But I do not see any way to check current value (except checking command line via `dmesg`/`syslog` of course).
I am sure there should be something in `/proc` or `/sys` or probably some syscall should return it. But I can't find it.
So, how can I check preemption mode?
But I do not see any way to check current value (except checking command line via `dmesg`/`syslog` of course).
I am sure there should be something in `/proc` or `/sys` or probably some syscall should return it. But I can't find it.
So, how can I check preemption mode?