Subject: Re: Further works on yamt-idlelwp
To: Jason Thorpe <thorpej@shagadelic.org>
From: Andrew Doran <ad@netbsd.org>
List: tech-kern
Date: 03/06/2007 16:51:20
On Mon, Mar 05, 2007 at 10:21:13AM -0800, Jason Thorpe wrote:

> On Mar 5, 2007, at 7:06 AM, Daniel Sieger wrote:
> 
> >cpu_sd_data for struct cpu_data
> >p_sd_data for struct proc
> >l_sd_data for struct lwp
> 
> Why not use the specificdata API?

Is it appropriate here? Every kernel has to be built with a scheduler.

The problem I originally saw was that it requires grabbing a lock each
time a reference is required. For something like the scheduler that's
too expensive, but now I notice that there is an unlocked method. Hrm.

Andrew