From 9466f37df5258f3bc3d99ae43627a71c1c085e7d Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 1 Nov 2011 23:31:50 -0700 Subject: [PATCH] buildkernel - remove COMPAT_43 and COMPAT_DF12 * Remove old compats that we really should not be compiling into kernels any more. In particular, the old getpid() did some weird things which created unnecessary slowdowns on MP systems. --- sys/config/GENERIC | 4 ++-- sys/config/SOEKRIS | 4 ++-- sys/config/VKERNEL | 4 ++-- sys/config/VKERNEL64 | 5 +++-- sys/config/X86_64_GENERIC | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sys/config/GENERIC b/sys/config/GENERIC index adfce2cc28..f1c9d7d26a 100644 --- a/sys/config/GENERIC +++ b/sys/config/GENERIC @@ -32,8 +32,8 @@ options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem -options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] -options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier +#options COMPAT_43 #Compatible with BSD 4.3 +#options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options DEVICE_POLLING # Support mixed interrupt-polling # handling of network device drivers diff --git a/sys/config/SOEKRIS b/sys/config/SOEKRIS index ad849cb11e..24b5178d51 100644 --- a/sys/config/SOEKRIS +++ b/sys/config/SOEKRIS @@ -36,8 +36,8 @@ options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem -options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] -options COMPAT_DF12 +#options COMPAT_43 #Compatible with BSD 4.3 +#options COMPAT_DF12 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options DEVICE_POLLING # Support mixed interrupt-polling # handling of network device drivers diff --git a/sys/config/VKERNEL b/sys/config/VKERNEL index 0bde8239a9..ba02b6b110 100644 --- a/sys/config/VKERNEL +++ b/sys/config/VKERNEL @@ -55,8 +55,8 @@ options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem -options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] -options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier +#options COMPAT_43 #Compatible with BSD 4.3 +#options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier options DEVICE_POLLING # Support mixed interrupt-polling # handling of network device drivers options UCONSOLE #Allow users to grab the console diff --git a/sys/config/VKERNEL64 b/sys/config/VKERNEL64 index c6d72aa05c..da66f1bca3 100644 --- a/sys/config/VKERNEL64 +++ b/sys/config/VKERNEL64 @@ -16,6 +16,7 @@ options DEBUG_PCTRACK ##options KTR_SPIN_CONTENTION #options DEBUG_CRIT_SECTIONS +options VM_PAGE_DEBUG options QUOTA options DUMMYNET options IPFIREWALL #firewall @@ -54,8 +55,8 @@ options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem -options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] -options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier +#options COMPAT_43 #Compatible with BSD 4.3 +#options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier options DEVICE_POLLING # Support mixed interrupt-polling # handling of network device drivers options UCONSOLE #Allow users to grab the console diff --git a/sys/config/X86_64_GENERIC b/sys/config/X86_64_GENERIC index fa914a4cb9..ad35bed275 100644 --- a/sys/config/X86_64_GENERIC +++ b/sys/config/X86_64_GENERIC @@ -29,7 +29,7 @@ options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem -options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] +#options COMPAT_43 #Compatible with BSD 4.3 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options DEVICE_POLLING # Support mixed interrupt-polling # handling of network device drivers -- 2.41.0