Re: swap space: an idea. Please comment.

mcculley@iag.net
Tue, 25 Feb 1997 07:58:34 -0500


>> At this point I thought you were going to suggest user swap
>> files. That a user can use up his disk quota to create swap files that
>> are used only for processing running with his user id. This could be a
>> really good idea, since it could for example protect root processes
>> from out of swap problems created by ordinary users by granting swap
>> space from separate root swap storage.
>Note that processes that expect to be VM hogs should probably do their
>own "swap" allocation with mmap() or some such. What would be nice to
>go with that is an extention to malloc & friends so that you could
>mmap yourself some fresh VM, and tell malloc to use that as the arena
>(or to add it to the existing arena)...
>
> Keith

This is already available with the mmalloc package that comes with gdb
and Checker.

-- 
Gene McCulley    mcculley@iag.net    http://www.iag.net/~mcculley