all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* glibc_malloc_overhead
@ 2011-09-30  7:34 Eli Zaretskii
  2011-09-30 17:13 ` glibc_malloc_overhead Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2011-09-30  7:34 UTC (permalink / raw)
  To: Paul Eggert; +Cc: emacs-devel

Re this change:

  -    initial_malloc_max = (1 << 16) - 1 - XMALLOC_OVERRUN_CHECK_OVERHEAD,
  +    glibc_malloc_overhead = 3 * sizeof (size_t) - 1,
  +    initial_malloc_max =
  +      (1 << 16) - 1 - glibc_malloc_overhead - XMALLOC_OVERRUN_CHECK_OVERHEAD,
       charset_table_size_init = initial_malloc_max / sizeof (struct charset)
     };
 
How stable can we expect the value of glibc_malloc_overhead to be?
What if the glibc developers decide to change it whenever they see
fit?

In any case, I'd suggest to only account for this overhead if glibc is
being used.  No need to "punish" other builds, especially if they
don't use mmap at all.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-30 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-30  7:34 glibc_malloc_overhead Eli Zaretskii
2011-09-30 17:13 ` glibc_malloc_overhead Paul Eggert
2011-09-30 17:21   ` glibc_malloc_overhead Eli Zaretskii

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.