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
..
1999-10-04 22:59:43 +00:00
2005-10-12 20:18:07 +00:00
2005-09-27 05:45:26 +00:00
2005-10-12 20:18:07 +00:00
2004-09-08 08:12:39 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2005-09-12 19:56:23 +00:00
2003-03-21 08:03:25 +00:00
2007-07-12 18:26:36 +00:00
2005-09-27 05:45:26 +00:00
2002-01-29 07:54:51 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2000-11-20 17:40:29 +00:00
2000-11-20 17:40:29 +00:00