Linus Torvalds writes: (Summary) workqueues seem to use cond_resched_rcu_qs(), which does a
cond_resched() (and a RCU quiescent note).
cond_resched() (and a RCU quiescent note).
But I wonder if the test triggers the "lets run lots of workqueue threads", and then the single-threaded user space just gets blown out of the water by many kernel threads. Each thread gets its own "fair" amount of CPU, but..
amount of CPU, but..
Linus
Linus
Linus
cond_resched() (and a RCU quiescent note).
But I wonder if the test triggers the "lets run lots of workqueue threads", and then the single-threaded user space just gets blown out of the water by many kernel threads. Each thread gets its own "fair" amount of CPU, but..
amount of CPU, but..
Linus
Linus
Linus