summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-12-05 17:49:06 +0000
committerart <art@openbsd.org>2001-12-05 17:49:06 +0000
commit8182ffb21e74f57bdd201c0786761aeb68e5f934 (patch)
treea5a195eac71a0a5c4e3321ded24a94a99f407e52 /lib/libc/stdlib/malloc.c
parentCorrectly parse hex numbers. Spotted by Claudio Jeker. Closes PR 2234. (diff)
downloadwireguard-openbsd-8182ffb21e74f57bdd201c0786761aeb68e5f934.tar.xz
wireguard-openbsd-8182ffb21e74f57bdd201c0786761aeb68e5f934.zip
If we assume (just pure speculation) that there will be a pmap sometime in
the future that wants to allocate pv entries for every pmap_enter and wants to allocate those pv entries from kmem_map, it might be a good idea to init the kmem_map before initializing the kmemusage struct (because kmemusage allocates memory).
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions