NetBSD-Bugs archive

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

Re: kern/38792: sched_pstats takes too long

The following reply was made to PR kern/38792; it has been noted by GNATS.

From: Mindaugas Rasiukevicius <>
Subject: Re: kern/38792: sched_pstats takes too long
Date: Mon, 2 Jun 2008 22:08:34 +0100

 > >Number:         38792
 > >Category:       kern
 > >Synopsis:       sched_pstats takes too long
 > >Fix:
 > Maybe:
 > - Make sched_pstats use a marker process so it does not hold proc_lock
 >   for so long?
 > - Have two classes of callout, like Solaris. One run from a softint
 >   as we do now, and another run from a kthread, for slow items like
 >   sched_pstats.
 Sorry, what do you mean by "marker process"?
 Hmm.. I have noticed that some calculations could be lockless.
 Best regards,

Home | Main Index | Thread Index | Old Index