From: Jonathan Yavner <jyavner@member.fsf.org>
To: emacs-devel@gnu.org
Subject: GC: cons sweeping and cons block size
Date: Tue, 3 Jul 2007 16:22:09 -0400 [thread overview]
Message-ID: <200707031622.10136.jyavner@member.fsf.org> (raw)
In-Reply-To: <E1I5ktS-0001uQ-Uc@monty-python.gnu.org>
> malloc()'ing 1K-aligned 1K-block is cheaper than 4K-aligned 4K-block,
> and the latter allocation probably tends to a higher heap
> fragmentation.
On some systems, large malloc blocks go directly to MMAP_ANONYMOUS and
so fragmentation worries are eliminated. I don't see any support for
direct use of mmap() in gmalloc.c, though. Should we consider it?
OS-specific code is needed -- Windoze calls it VirtualAlloc(), while
MacOS calls it vm_alloc().
next parent reply other threads:[~2007-07-03 20:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1I5ktS-0001uQ-Uc@monty-python.gnu.org>
2007-07-03 20:22 ` Jonathan Yavner [this message]
2007-07-05 1:29 ` GC: cons sweeping and cons block size Richard Stallman
2007-07-04 6:43 dmantipov
2007-07-05 14:06 ` Stefan Monnier
2007-07-05 14:42 ` David Kastrup
2007-07-05 16:02 ` Stefan Monnier
2007-07-06 11:54 ` Ken Raeburn
2007-07-06 12:48 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2007-07-03 15:16 Dmitry Antipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707031622.10136.jyavner@member.fsf.org \
--to=jyavner@member.fsf.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.