Subject: Re: Replacement for grep(1) (part 2)
To: Doug Rabson <dfr@nlsystems.com>
From: Jon Ribbens <jon@oaktree.co.uk>
List: tech-userlevel
Date: 07/14/1999 09:53:59
Doug Rabson <dfr@nlsystems.com> wrote:
> Overcommit can be used for many reasons. I use it to reserve a large
> linear address space to mmap alpha i/o spaces to which allows an efficient
> implementation of inx/outx in user mode:
> 
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
>     0 43655 43652   7   2  0 12616584 12456 select S     ??  1036:41.62 /usr/X11R6/bin/X -auth /usr/X11R6/lib/X11/xdm/authdir/A:0-w43652
> 
> The X server is using 12G of address space..

This is not an argument for malloc() to overcommit by default, it is an
argument for there to be a way of allocating address space with no swap
reserved *when you specifically ask for it*. Of course I would not disagree
with this.

Cheers


Jon
-- 
\/ Jon Ribbens / jon@oaktree.co.uk