summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2008-03-07 16:54:03 +0000
committerjasone <jasone@FreeBSD.org>2008-03-07 16:54:03 +0000
commit423cb10cb4fb9c8ff17ecb5cd6f60322c6336383 (patch)
tree0a6024dc541b7f5231b93b4d8202b5a9906ba448 /lib
parent763a53ea3e02d4920425b2eaaf0eeff30959b95b (diff)
downloadFreeBSD-src-423cb10cb4fb9c8ff17ecb5cd6f60322c6336383.zip
FreeBSD-src-423cb10cb4fb9c8ff17ecb5cd6f60322c6336383.tar.gz
Remove stale #include <machine/atomic.h>, which as needed by lazy
deallocation.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index 1e85a34..0d10b06 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -45,7 +45,8 @@
* Allocation requests are rounded up to the nearest size class, and no record
* of the original request size is maintained. Allocations are broken into
* categories according to size class. Assuming runtime defaults, 4 kB pages
- * and a 16 byte quantum, the size classes in each category are as follows:
+ * and a 16 byte quantum on a 32-bit system, the size classes in each category
+ * are as follows:
*
* |=====================================|
* | Category | Subcategory | Size |
@@ -69,9 +70,9 @@
* | | 8 kB |
* | | 12 kB |
* | | ... |
+ * | | 1004 kB |
+ * | | 1008 kB |
* | | 1012 kB |
- * | | 1016 kB |
- * | | 1020 kB |
* |=====================================|
* | Huge | 1 MB |
* | | 2 MB |
@@ -145,7 +146,6 @@ __FBSDID("$FreeBSD$");
#include <sys/uio.h>
#include <sys/ktrace.h> /* Must come after several other sys/ includes. */
-#include <machine/atomic.h>
#include <machine/cpufunc.h>
#include <machine/vmparam.h>
OpenPOWER on IntegriCloud