freebsd-nq/sys/ufs
Konstantin Belousov 1be222e9df Yield the cpu in the kernel while iterating the list of the
vnodes belonging to the mountpoint. Also, yield when in the
softdep_process_worklist() even when we are not going to sleep due to
buffer drain.

It is believed that the ULE fixed the problem [1], but the yielding
seems to be needed at least for the 4BSD case.

Discussed:	on stable@, with bde
Reviewed by:	tegge, jeff [1]
MFC after:	2 weeks
2008-03-23 13:45:24 +00:00
..
ffs Yield the cpu in the kernel while iterating the list of the 2008-03-23 13:45:24 +00:00
ufs Continue on-going campaign to replace lockmgr locks with sx locks where 2008-03-04 12:50:11 +00:00