Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 10:56:24 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        "Daniel C. Sobral" <dcs@newsguy.com>, hackers@FreeBSD.ORG
Subject:   Re: MADV_SEQUENTIAL and GNU Grep 
Message-ID:  <199907291756.KAA00408@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Thu, 29 Jul 1999 10:52:02 -0700 (PDT) 
 Matthew Dillon <dillon@apollo.backplane.com> wrote:

 >     Yes, we already do this, but only for OBJT_DEFAULT and OBJT_SWAP objects.
 >     We do not do this for file objects... it would make me rather nervous
 >     if we did :-)

Why?  I can think of at least one instance where this is useful: using
a file in the file system as a shared memory handle.

Seems as if the programmer erroneously MADV_FREE's a file, well ... you
only supplied the rope.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907291756.KAA00408>