Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 1999 19:00:44 +0100 (BST)
From:      Tony Finch <dot@dotat.at>
To:        Mike Smith <mike@smith.net.au>
Cc:        current@freebsd.org
Subject:   Re: swap-related problems 
Message-ID:  <14102.10572.480321.581664@chiark.greenend.org.uk>
In-Reply-To: <199904151743.KAA02998@dingo.cdrom.com>
References:  <E10XkVE-0004kz-00@fanf.noc.demon.net> <199904151743.KAA02998@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith writes:
> > Jim Bloom <bloom@acm.org> wrote:
> > >
> > >A signal handler is not guaranteed to work.  It must be written such that it
> > >does not require a new page of memory.  Some possible problems here are the
> > >stack growing, writing on a new page in the data segment, etc.
> > 
> > man sigaltstack
> 
> That doesn't help; there is no guarantee that your stack or your 
> alternate stack have been mapped.

I assumed that the alternate stack had been forcibly allocated by
touching the pages; I suppose things go pear-shaped if they have been
swapped out and there's no space to swap out other pages so that the
stack can be swapped in. Bummer.

Tony.
-- 
f.a.n.finch  dot@dotat.at  fanf@demon.net


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




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