cvs commit: src/sys/kern vfs_mount.c

Simon 'corecode' Schubert corecode at
Mon May 5 15:21:42 PDT 2008

Matthew Dillon wrote:
:>   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?
:   simon
    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   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \

More information about the Commits mailing list