[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mmap semantics (kernel/975)
On Mon, 2 Feb 2004, Tobias Oberstein wrote:
> "The mapping established by mmap() shall replace any previous mappings
> for those whole pages containing any part of the address space of the
> process starting at pa and continuing for len bytes."
>
> That is, the second mmap "shall" replace the first, and thus the
> changes "shall" show up. OK. I'm puzzled what they mean by "shall";)
no, it replaces it if you specify a hint and MAP_FIXED. no hint, no
previous mapping for those pages, no replacement.
> > >Synopsis: mmap does not detect file changes.
> >
> > from gnats i've learned that "kernel/975" is closed
> > since 2001. the comment even says it is fixed.
reload and scroll down to the bottom. :)
--
quit whining you haven't done anything wrong
because frankly you haven't done much of anything