Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@dot.cygnus.com>
Subject: Re: strace/mmap/munmap/mremap wierdness
Date: Fri, 23 Jan 1998 14:24:57 -0800	[thread overview]
Message-ID: <7a3435c9dfede928ea5ce7e453daf805.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.GSO.3.96.980123150632.22482C-100000@utopia.poly.edu>

On Fri, Jan 23, 1998 at 03:09:13PM -0500, Aleksandr Pilosov wrote:
> Well, my mmap calls have size of 8k, I doubt that is a large chunk of
> memory.

No, I was thinking the bottom cutoff was something like 64k or more...

> Is using mmap faster than brk() and managing the space yourself?

The same (brk calls mmap inside the kernel), but it is easier to give
memory back to the system using mmap, since you are not bound to a
stack model.

r~

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1998-01-23 22:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.3.96.980123150632.22482C-100000@utopia.poly.edu>
1998-01-23 22:24 ` Richard Henderson [this message]
     [not found] <19980123025057.26497@dot.cygnus.com>
1998-01-23 20:09 ` strace/mmap/munmap/mremap wierdness Aleksandr Pilosov
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox