:
:On Thu, 29 Jul 1999 10:52:02 -0700 (PDT)
: Matthew Dillon <[EMAIL PROTECTED]> 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.
I was thinking of adding a flag to mmap() for that, to prevent unnecessary
paging. Right now any shared file map will be synced to disk every 30
seconds or so no matter what.
I'm not against the idea, but it isn't front and center for me yet, at
least not until we fix the syncing problem. There are several people
who have already requested a solution to the syncing problem that are
currently being forced to use SysV shared memory (and hating it).
:Seems as if the programmer erroneously MADV_FREE's a file, well ... you
:only supplied the rope.
:
: -- Jason R. Thorpe <[EMAIL PROTECTED]>
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message