Minor documentation and comment cleanups.

This commit is contained in:
Jason Evans 2009-06-26 16:34:13 -07:00
parent cc00a15770
commit a9b0125e97
2 changed files with 18 additions and 7 deletions

View File

@ -39,7 +39,7 @@ any of the following arguments (not a definitive list) to 'configure':
Disable tiny (sub-quantum-sized) object support. Technically it is not Disable tiny (sub-quantum-sized) object support. Technically it is not
legal for a malloc implementation to allocate objects with less than legal for a malloc implementation to allocate objects with less than
quantum alignment (8 or 16 bytes, depending on architecture), but in quantum alignment (8 or 16 bytes, depending on architecture), but in
practice it never causes any problems if, for example, 4-byte allocationsj practice it never causes any problems if, for example, 4-byte allocations
are 4-byte-aligned. are 4-byte-aligned.
--disable-mag --disable-mag

View File

@ -680,14 +680,25 @@ struct arena_s {
* 3 | 16 | * 3 | 16 |
* 4 | 32 | * 4 | 32 |
* 5 | 48 | * 5 | 48 |
* 6 | 64 |
* : : * : :
* : : * 8 | 96 |
* 33 | 496 | * 9 | 112 |
* 34 | 512 | * 10 | 128 |
* --------+------+ * --------+------+
* 35 | 1024 | * 11 | 192 |
* 36 | 2048 | * 12 | 256 |
* 13 | 320 |
* 14 | 384 |
* 15 | 448 |
* 16 | 512 |
* --------+------+
* 17 | 768 |
* 18 | 1024 |
* 19 | 1280 |
* : :
* 27 | 3328 |
* 28 | 3584 |
* 29 | 3840 |
* --------+------+ * --------+------+
*/ */
arena_bin_t bins[1]; /* Dynamically sized. */ arena_bin_t bins[1]; /* Dynamically sized. */