Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2011 17:12:06 +0100 (CET)
From:      "Ganael LAPLANCHE" <ganael.laplanche@martymac.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        Tijl Coosemans <tijl@coosemans.org>, freebsd-stable@FreeBSD.org
Subject:   Re: Using mmap(2) with a hint address
Message-ID:  <20111220160753.M1352@martymac.org>
In-Reply-To: <4EF0A3A7.80309@FreeBSD.org>
References:  <20111220080437.M63044@martymac.org> <4EF05F27.8030902@FreeBSD.org> <20111220134716.M62917@martymac.org> <20111220142740.M29405@martymac.org> <4EF0A3A7.80309@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Dec 2011 17:03:03 +0200, Andriy Gapon wrote

> Just a guess - this might be some sort of optimization to keep 
> virtual address range of dynamic allocations untouched by 
> unrelated mmap calls.  Not sure if that's so and how useful 
> could that be. svn log / svn annotate of the file may reveal 
> more details.

Mmmhh.... It seems that this part of the code is quite old and was
already present in the BSD 4.4 Lite kernel (not exactly in the same
shape, but with the same idea). Quite confusing...

--
Ganael LAPLANCHE <ganael.laplanche@martymac.org>
http://www.martymac.org | http://contribs.martymac.org
FreeBSD: martymac <martymac@FreeBSD.org>, http://www.FreeBSD.org



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