diff options
author | andre <andre@FreeBSD.org> | 2013-03-08 10:37:17 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2013-03-08 10:37:17 +0000 |
commit | adea04bda7cbe5a2abda01ee42f309d5e6287366 (patch) | |
tree | 88b1b0df9e350124a14d07af1759d7544099b40d /sys/vm | |
parent | 7f0cc3ba06376c70d7259b9d2b80a8ad5d4583be (diff) | |
download | FreeBSD-src-adea04bda7cbe5a2abda01ee42f309d5e6287366.zip FreeBSD-src-adea04bda7cbe5a2abda01ee42f309d5e6287366.tar.gz |
Move the callout subsystem initialization to its own SYSINIT()
from being indirectly called via cpu_startup()+vm_ksubmap_init().
The boot order position remains the same at SI_SUB_CPU.
Allocation of the callout array is changed to stardard kernel malloc
from a slightly obscure direct kernel_map allocation.
kern_timeout_callwheel_alloc() is renamed to callout_callwheel_init()
to better describe its purpose.
kern_timeout_callwheel_init() is removed simplifying the per-cpu
initialization.
Reviewed by: davide
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index c507691..c079140 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -157,8 +157,6 @@ vm_ksubmap_init(struct kva_md_info *kmi) again: v = (caddr_t)firstaddr; - v = kern_timeout_callwheel_alloc(v); - /* * Discount the physical memory larger than the size of kernel_map * to avoid eating up all of KVA space. @@ -202,10 +200,5 @@ again: * XXX: Mbuf system machine-specific initializations should * go here, if anywhere. */ - - /* - * Initialize the callouts we just allocated. - */ - kern_timeout_callwheel_init(); } |