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: Jason Thorpe <thorpej%shagadelic.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/38792: sched_pstats takes too long
Date: Thu, 29 May 2008 16:44:15 -0700
On May 29, 2008, at 4:40 PM, ad%netbsd.org@localhost wrote:
>> 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.
...or restructure the scheduler so that you never have to pass over
all of the processes periodically?
-- thorpej
Home |
Main Index |
Thread Index |
Old Index