Subject: Re: Further works on yamt-idlelwp
To: None <tech-kern@netbsd.org>
From: Mindaugas R. <rmind@NetBSD.org>
List: tech-kern
Date: 03/05/2007 17:34:58
Daniel Sieger <dsieger@TechFak.Uni-Bielefeld.DE> wrote:
> cpu_sd_data for struct cpu_data
> p_sd_data for struct proc
> l_sd_data for struct lwp
How about cpu_sched_data, p_sched_data, l_sched_data or even cpu_sched, ... ?

> I'm not really sure if we should touch these at all. Removing p_estcpu
> would break libkvm.
Removing would not break libkvm (by leaving the old and adding the new
variables). But I am not sure if we would need removing. It would be fine if
calculations of these values would be done in more generic way, splitted from
the current SCHED_4BSD.
We need an abstraction here, and we cannot just leave this - it is one of the
last knots, which left in this modulization work.

-- 
Best regards,
Mindaugas
www.NetBSD.org