Matthew Dillon wrote:
:>=20 :> Modified files: :> sys/kern vfs_mount.c=20 :> Log: :> Properly yield to userland processes. : :Seems that this *still* didn't completely fix the issue. Do we have to=20 :sleep longer? Is it safe to do so? : :cheers : simonTry reducing the count limit from 10000 to 1000. If that doesn't work, try sleeping for 2 ticks instead of 1 tick (with the count limit at 1000).
Now that sounds like voodoo. I could, however, check the time every N iterations. And if we consumed Y microseconds, then sleep for X ticks. That would seem less ad-hoc, but more like something planned.
cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
