git: kernel - Add APIC_IO conf option back in / make it adjust hw.apic_io_enable
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Nov 22 13:52:35 PST 2010
commit eac0bf8f657694490c99aea1977cbe83309047e4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Nov 22 13:46:58 2010 -0800
kernel - Add APIC_IO conf option back in / make it adjust hw.apic_io_enable
* APIC_IO again controls whether a SMP kernel will use the io-apic or not.
All it does now is adjust the hw.apic_io_enable default value.
Changing the code to allow apic-io to be soft-selectable was great, but
removing the kernel config option was not so great.
* SMP Kernels compiled without APIC_IO again default to not using it. You
can use APIC_IO either by configuring the kernel with the option or
by setting hw.apic_io_enable=1 in /boot/loader.conf.
* SMP Kernels compiled with APIC_IO default to using APIC_IO.
* Reduces confusion between 2.8 and 2.9 kernel config files.
* Reduces personal frustrations.
Summary of changes:
sys/config/GENERIC | 8 ++++----
sys/config/GENERIC_SMP | 9 +++++----
sys/config/X86_64_GENERIC | 9 +++++----
sys/config/X86_64_GENERIC_SMP | 9 +++++----
sys/platform/pc32/conf/options | 1 +
sys/platform/pc32/i386/machdep.c | 7 ++++++-
sys/platform/pc64/conf/options | 1 +
sys/platform/pc64/x86_64/machdep.c | 7 ++++++-
8 files changed, 33 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eac0bf8f657694490c99aea1977cbe83309047e4
--
DragonFly BSD source repository
More information about the Commits
mailing list