From owner-freebsd-current Thu Apr 15 11: 3:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [195.224.76.132]) by hub.freebsd.org (Postfix) with ESMTP id EF4F114C35 for ; Thu, 15 Apr 1999 11:03:19 -0700 (PDT) (envelope-from fanf@chiark.greenend.org.uk) Received: from fanf by chiark.greenend.org.uk with local (Exim 2.02 #1) id 10XqRQ-0000e5-00 (Debian); Thu, 15 Apr 1999 19:00:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14102.10572.480321.581664@chiark.greenend.org.uk> Date: Thu, 15 Apr 1999 19:00:44 +0100 (BST) From: Tony Finch To: Mike Smith Cc: current@freebsd.org Subject: Re: swap-related problems In-Reply-To: <199904151743.KAA02998@dingo.cdrom.com> References: <199904151743.KAA02998@dingo.cdrom.com> X-Mailer: VM 6.47 under Emacs 19.34.1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith writes: > > Jim Bloom 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