Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2001 08:38:16 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        <ia64@FreeBSD.org>
Subject:   Re: ast() patch
Message-ID:  <20011009083627.G530-100000@salmon.nlsystems.com>
In-Reply-To: <XFMail.011008172822.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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



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?20011009083627.G530-100000>