DragonFly commits List (threaded) for 2008-04
Re: cvs commit: src/sys/kern vfs_mount.c
:[I guess this got lost, reposting]
:> I have the feeling that just calling lwkt_yield() doesn't necessarily=20
:> help. I still get the stutters. I'd need something to yield to=20
:> runnable userland processes, not just processes with the same prio (I=20
:> suspect we're running in a critical section here, rendering the yield=20
Yah, it won't help for kernel vs userland thread.
An explicit tsleep would be reasonable. E.g. tsleep for one tick
every 1000 vnodes or something like that. The code is primarily run
from the syncer thread to flush all vnodes once every 30 seconds.
It is not time critical.