[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-h f now permanently loads ~2MB

From: Dave Love
Subject: Re: C-h f now permanently loads ~2MB
Date: Mon, 26 Apr 2004 15:25:00 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Richard Stallman <address@hidden> writes:

> However, with some versions of malloc there is a risk it would create
> a big block that maybe would never again be used for anything else.

I think you should replace gmalloc.c with the Doug Lea (current
glibc-ish) version, which supports using mmap.  I think I sent changes
for that long ago; I don't remember what the objection was, but I
don't think I was convinced by it.  It also helps with not filling up
the Emacs pointer address space in the implementations I've seen,
where mmapped addresses come from the other end of the system address

As far as I remember, Solaris is the major platform where mmap isn't
used for buffer allocation now.

Regarding the original complaint, I guess I'm not greatly concerned if
I can turn the feature off and it won't affect most users as Stefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]