Subject: Re: SA, libpthread and page faults
To: Stephan Uphoff <ups@stups.com>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 08/13/2003 12:26:33
On Wednesday, August 13, 2003, at 11:30 AM, Stephan Uphoff wrote:

> Hi,
>
> I am looking at what needs to be done to replace the current kernel
> part of Scheduler Activations (SA).
>
> Unfortunately I see some general problems with the current
> SA interface and page faults that I would like to resolve
> first.
> [...]
> Right now the only idea I have is normal sleeping (no upcalls) on page 
> faults.
>
> Perhaps by stealing the PC trick from restartable atomic sequences we 
> can
> limit disabling upcalls to the thread being active in libpthread ?
> ( Requires some ugly linking tricks to combine object files ? )
>
> Any ideas on how to solve these problems would be appreciated.

Perhaps, like we have PCATCH, we need a PNOUPCALL so those sleeps that
should not generate an upcall?
-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: 
http://3am-software.com/bio/matt/ Cupertino, CA              
disclaimer: I avow all knowledge of this message.