ZephyrRainn
ZephyrRainn

Reputation: 1

In linux, can kernel thread be preempted when the kernel be configured with PREEMTP_NONE?

I have a kernel be configured as PREEMPT_NONE, and I have a kernel thread to do some I/O task, and have a user space app also do some I/O task. They work correct seperately, but when I have them run at the same time, the user space app become very laggy. Before, I always thought the kernel thread is same as user thread when scheduled. But now I wonder if the kernel thread can be preempted with PREEMPT_NONE or not. Ant I also want to know when do the preempt happen in both user thread and kernel thread cases.

Before, I always thought the kernel thread is same as user thread when scheduled. But now I wonder if the kernel thread can be preempted with PREEMPT_NONE or not. Ant I also want to know when do the preempt happen in both user thread and kernel thread cases.

Upvotes: 0

Views: 33

Answers (0)

Related Questions