lkml.org 
[lkml]   [1997]   [Feb]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 25 Feb 1997 07:58:34 -0500
From mcculley@iag ...
SubjectRe: swap space: an idea. Please comment.
>> 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

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.139 / U:0.170 seconds]
©2003-2008 Jasper Spaans