Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2001 10:29:05 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        ia64@FreeBSD.org
Subject:   Re: ast() patch
Message-ID:  <XFMail.011009102905.jhb@FreeBSD.org>
In-Reply-To: <20011009083627.G530-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 09-Oct-01 Doug Rabson wrote:
> On Mon, 8 Oct 2001, John Baldwin wrote:
> 
>> Ok, now that you all have gotten ia64 farther along, perhaps one of you can
>> test and fix this patch to make the kernel call ast() when returing to
>> userland.  This should fix things like SIGARLM, userland profiling, and a
>> few
>> other nits:
>>
>> http://www.freebsd.org/~jhb/ia64_ast.patch
> 
> This can't possibly work. At this point, the processor is running with
> interrupts and interrupt collection disabled. It also has data translation
> turned off. In this state, we can't risk calling any normal code because
> we can't cope with any exceptions.
> 
> You will have to arrange to call ast() before the 'rsm psr.ic|...' line.

Ah, hmm, ok.  ast() should return with interrupts disabled btw.  (It returns
inside of a critical section.)  Hmmm.  I'm a bit out of my depth here. :(

> -- 
> Doug Rabson                           Mail:  dfr@nlsystems.com
>                                       Phone: +44 20 8348 6160
> 
> 

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011009102905.jhb>