glibc/malloc
Ulrich Drepper 9bf248c6c6 Correctly implement M_MXFAST.
* malloc/malloc.c (struct malloc_state): Replace max_fast with flags
	fields.
	(global_max_fast): New variable.
	(set_max_fast): Change to not require arena parameter and to modify
	global_max_fast.  Change all callers.
	(get_max_fast): New macro.  Use this instead of directly accessing
	now removed max_fast arena member.
	(have_fastchunks): Use flags instead of max_fast.
	(clear_fastchunks): Likewise.
	(set_fastchunks): Likewise.
	(contiguous): Likewise.
	(noncontiguous): Likewise.
	(set_noncontiguous): Likewise.
	(set_contiguous): Likewise.
	(malloc_init_state): Explicitly set FASTCHUNKS_BIT.  Call set_max_fast
	only for main arena.
	* malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use.
2005-10-12 20:18:07 +00:00
..
arena.c * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_arena_ptr. 2005-10-10 13:44:03 +00:00
Depend
hooks.c Correctly implement M_MXFAST. 2005-10-12 20:18:07 +00:00
Makefile [BZ #838] 2005-09-27 05:45:26 +00:00
malloc.c Correctly implement M_MXFAST. 2005-10-12 20:18:07 +00:00
malloc.h
mallocbug.c
mcheck-init.c
mcheck.c
mcheck.h
memusage.c * posix/regexec.c (update_cur_sifted_state, check_arrival, 2005-09-30 15:46:19 +00:00
memusage.sh
memusagestat.c
mtrace.c
mtrace.pl
obstack.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00
obstack.h [BZ #1331] 2005-09-12 19:56:23 +00:00
set-freeres.c
thread-freeres.c
tst-calloc.c
tst-malloc.c
tst-mallocfork.c [BZ #838] 2005-09-27 05:45:26 +00:00
tst-mallocstate.c
tst-mcheck.c
tst-mtrace.c
tst-mtrace.sh
tst-obstack.c
tst-valloc.c
Versions