DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern vfs_mount.c


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Tue, 06 May 2008 00:20:43 +0200

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
:   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
    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   / \




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]