[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does malloc use mmap on GNU/Linux?
From: |
Alan Shutko |
Subject: |
Re: Does malloc use mmap on GNU/Linux? |
Date: |
Fri, 30 Nov 2001 14:49:39 -0500 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) |
Richard Stallman <address@hidden> writes:
> Could other people please make some experiments so I can see if this
> problem exists also on other GNU/Linux distributions and on newer
> versions of Debian?
It seems to work for me on Debian unstable with libc 2.2.4.
#0 0x081461f0 in mmap ()
#1 0x0813a154 in chunk_alloc ()
#2 0x0813ad71 in chunk_realloc ()
#3 0x0813aa9a in realloc ()
#4 0x080cd82f in emacs_blocked_realloc (ptr=0x8407e70, size=2601096)
at alloc.c:801
#5 0x0813a8c6 in realloc ()
#6 0x080cd45a in xrealloc (block=0x8407e70, size=2601096) at alloc.c:544
#7 0x080a7e04 in enlarge_buffer_text (b=0x8407c98, delta=2601075)
at buffer.c:4660
#8 0x080aa55a in make_gap (nbytes_added=2599075) at insdel.c:545
#9 0x080b587d in Finsert_file_contents (filename=944344708, visit=405333300,
beg=0, end=2599095, replace=405333252) at fileio.c:4176
[...]
--
Alan Shutko <address@hidden> - In a variety of flavors!
It doesn't matter whether you win or lose -- until you lose.