Re: Virtual vs. physical swap & shared memory forks (clone)

From: Jesse Pollard (pollard@cats-chateau.net)
Date: Thu Mar 30 2000 - 19:28:27 EST


On Thu, 30 Mar 2000, Stephen C. Tweedie wrote:
>Hi,
>
>On Wed, Mar 29, 2000 at 07:47:49PM -0600, Jesse Pollard wrote:
>> >
>> >Stack "allocation". No error code available.
>>
>> This is the one place where a stack warning signal would be usefull - when
>> the last page of stack is entered, a signal can be sent, and handled.
>
>"sigaltstack" can be used to deal with most of this. Just arrange for
>stack overflow to deliver a SIGSEGV or SIGBUS onto the alternate
>stack.

The only reason to use the last stack page as a guard would be to avoid
having to allocate another page before knowing if one is available.

I just thought it would be simpler that way.
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@cats-chateau.net

Any opinions expressed are solely my own.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:28 EST