Subject: Re: Replacement for grep(1) (part 2)
To: Noriyuki Soda <soda@sra.co.jp>
From: Brian F. Feldman <green@FreeBSD.org>
List: tech-userlevel
Date: 07/13/1999 10:11:14
On Tue, 13 Jul 1999, Noriyuki Soda wrote:

> > You're browsing with netscape and It hits about 32megs in size,
> > you click on a multimedia object and netscape execs a helper app.
> 
> If the system has real vfork(2) like NetBSD, this is not problem.
> 
> > you also have to consider a program wishing to make sparse use
> > of its address space, without overcommit it becomes impossible.
> 
> SVR4 has MAP_NORESERVE option for mmap(2) for this.
> So, default behaivour don't have to be overcommitment.

Isn't that just like mmap()ing then mlock()ing the range? That would
keep it in core.

> --
> soda
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 

 Brian Fundakowski Feldman      _ __ ___ ____  ___ ___ ___  
 green@FreeBSD.org                   _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!        _ __ | _ \._ \ |) |
       http://www.FreeBSD.org/              _ |___/___/___/