summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2005-10-22 05:15:20 +0000
committerwpaul <wpaul@FreeBSD.org>2005-10-22 05:15:20 +0000
commitbe0b87ae9318f36ecbbd0aec85672bc551305f66 (patch)
tree54311641e5ababd57dd17f963eaf343931297698 /share
parentacd6923419a86b702232316d9daae546732a366b (diff)
downloadFreeBSD-src-be0b87ae9318f36ecbbd0aec85672bc551305f66.zip
FreeBSD-src-be0b87ae9318f36ecbbd0aec85672bc551305f66.tar.gz
Make the multiple DPC threads an option, and create only one by default.
This avoids the need for sched_bind() in the default case so that you can start up the NDIS subsystem at boot time when only CPU 0 is running. There are potentially ways to fix it so that the DPC threads aren't started until after the other CPUs are launched, but doing it correctly is tricky. You need to defer the startup of the ntoskrnl subsystem (ntoskrnl_libinit()), not just defer ndis_attach(). For now, I don't think it will make much difference having just the single DPC thread (I started out with just one anyway). Note that this turns the KeSetTargetProcessorDpc() routine into a no-op, since the CPU number in struct kdpc is now ignored.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud