Subject: Re: CVS commit: syssrc/sys/arch/vax/include
To: None <port-vax@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: port-vax
Date: 02/22/2002 17:19:47
On Fri, Feb 22, 2002 at 10:34:33PM +0100, Anders Magnusson wrote:
>
> Why cannot this be solved as it was in the 3BSD VM system then, by
> letting a process allocate more pte space when it grows? Because of
> the way sbrk/mmap interacts; all mmap'ed memory is above MAXDSIZ and
> therefore all space between the break and MAXDSIZ must have at least
> system pte's associated with it.
>
> The solution to this would be to remove the sbrk interface from kernel
> and then let malloc use mmap instead. I have the phk malloc rewritten
> to use mmap (actually it got slightly faster) and routines that emulate
> sbrk via mmap, I just wanted to test it some more before I write a
> proposal about it.
I would strongly support the elimination of sbrk(), if we can manage to
find a way to do it.
--
Thor Lancelot Simon tls@rek.tjls.com
But as he knew no bad language, he had called him all the names of common
objects that he could think of, and had screamed: "You lamp! You towel! You
plate!" and so on. --Sigmund Freud