Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 1999 21:28:10 -0400
From:      Jim Bloom <bloom@acm.org>
To:        mi@aldan.algebra.com
Cc:        current@FreeBSD.ORG
Subject:   Re: swap-related problems
Message-ID:  <371540AA.BA9AED2A@acm.org>
References:  <199904142340.TAA96857@misha.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  I'm not familiar
enough with the VM system, but if you couldn't create a new swap page for a
process, what would guarantee that the signal handler could get the pages it
needs.

Jim Bloom
bloom@acm.org

Mikhail Teterin wrote:
> 
> If we are up to discussing the possible implementations, I'd suggest
> that the system uses something other then SIGKILL to notify the
> program it's time to pay for the over-commit speed and convenience.
> I think, SIGBUS is appropriate, but I'm not sure.
> 
> Anything a program can _catch_ and react upon, if its author chooses
> to.
>


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?371540AA.BA9AED2A>