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:25:27 +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).

Oh, maybe I should try to find out why the stutter happens in the first place. I suspect it to be because the sound card interrupt handler doesn't get serviced. But then -- why isn't the sleep enough? The sleep should schedule any runnable interrupt handler right away.


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]