Subject: Re: SA LWPs and voluntary preempt() calls
To: Stephan Uphoff <ups@stups.com>
From: Kamal R Prasad <kamalrpr@in.ibm.com>
List: tech-kern
Date: 06/11/2003 17:27:21
Stephan Uphoff <ups@stups.com>
Sent by: tech-kern-owner@netbsd.org
05/27/2003 08:33 PM
 
        To:     tech-kern@netbsd.org
        cc: 
        Subject:        SA LWPs and voluntary preempt() calls

 


> The scheduler activation code seems to assume that 
> the on virtual processor LWP is either
>                - on a CPU
>                - on the run queue after an involuntary preemption
> ( With the exception caused by sa_switch() when it runs out of cached 
LWPs
> - but this looks like a known "work in progress" problem) 
 
Is netbsd-current a pre-emptive kernel?
at what pts does pre-emption take place?
is there a POSIX-compliant interface for binding to an LWP?
thanks
-kamal