In the last episode (Oct 22), Terry Lambert said:
> Danny Braniss wrote:
> > > If you want GNU malloc behaviour, then you should install the
> > > port for the GNU allocator, and use it instead of the system
> > > allocator, and you will end up with the same behaviour that your
> > > application has on Linux.
> >
> > what ticked my curiosity was that the linux binary did work, while
> > the fbsd binary did the right thing with respect to the admin
> > limits and coredumped when the datasize limit was exeeded.
>
> The FreeBSD malloc uses anonymous pages mmap'ed off of /dev/zero.
>
> The Linux malloc uses pages added to the process address space via a
> call to sbrk.
Actually, on FreeBSD only the page directory is mmap'ed. Data returned
to the user is allocated via sbrk.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message