Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 10:14:50 +0200
From:      Ladavac Marino <mladavac@metropolitan.at>
To:        'Matthew Dillon' <dillon@apollo.backplane.com>, Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   RE: Implementation of mmap() in FreeBSD
Message-ID:  <55586E7391ACD211B9730000C11002761796A9@r-lmh-wi-100.corpnet.at>

next in thread | raw e-mail | index | archive | help
> :
> :All these situations seem to me are not handled by FreeBSD mmap()
> code. I
> :hope I am wrong. I also wonder why we can not add some information to
> the
> 
>     No machine's mmap() code handles these situations.  It is a side
> effect
>     of the way MMU's work and the way mmap() was defined - that is, in
> order
>     for mmap() to be reasonably optimal it has to munge the boundry
>     conditions.  It is an explicitly allowed case.
> 
	[ML]  It is possible to handle these cases in VM code, by
trapping on any access to the partial page, and allowing only those
accesses which are withing the originally requested range.  Performance
would suck without end, though.

	/Marino



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?55586E7391ACD211B9730000C11002761796A9>