Re: swap space: an idea. Please comment.

Keith Rohrer (
Tue, 25 Feb 1997 02:37:56 -0600 (CST)

> 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)...