cvs commit: src/sys/kern vfs_mount.c
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Mon May 5 15:21:42 PDT 2008
Matthew Dillon wrote:
:> Modified files:
:> sys/kern vfs_mount.c=20
:> 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?
Try 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
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.
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 / \
More information about the Commits