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