summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-09-07 01:33:02 +0000
committerjasone <jasone@FreeBSD.org>2000-09-07 01:33:02 +0000
commit769e0f974d8929599ba599ac496510fffc90ff34 (patch)
tree9387522900085835de81e7830e570ef3f6b3ea80 /sys/conf
parentacf1927de02afda4855ec278b1128fd9446405ea (diff)
downloadFreeBSD-src-769e0f974d8929599ba599ac496510fffc90ff34.zip
FreeBSD-src-769e0f974d8929599ba599ac496510fffc90ff34.tar.gz
Major update to the way synchronization is done in the kernel. Highlights
include: * Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The alpha port is still in transition and currently uses both.) * Per-CPU idle processes. * Interrupts are run in their own separate kernel threads and can be preempted (i386 only). Partially contributed by: BSDi (BSD/OS) Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files3
-rw-r--r--sys/conf/files.alpha2
-rw-r--r--sys/conf/files.i3863
-rw-r--r--sys/conf/files.pc981
-rw-r--r--sys/conf/options9
-rw-r--r--sys/conf/options.alpha4
6 files changed, 20 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 7b086d4..70ea3a5 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -433,9 +433,11 @@ kern/kern_event.c standard
kern/kern_exec.c standard
kern/kern_exit.c standard
kern/kern_fork.c standard
+kern/kern_idle.c standard
kern/kern_intr.c standard
kern/kern_jail.c standard
kern/kern_kthread.c standard
+kern/kern_ktr.c optional ktr
kern/kern_ktrace.c standard
kern/kern_linker.c standard
kern/kern_lock.c standard
@@ -443,6 +445,7 @@ kern/kern_lockf.c standard
kern/kern_malloc.c standard
kern/kern_mib.c standard
kern/kern_module.c standard
+kern/kern_mutex.c standard
kern/kern_ntptime.c standard
kern/kern_physio.c standard
kern/kern_proc.c standard
diff --git a/sys/conf/files.alpha b/sys/conf/files.alpha
index bb746e1..6e8ba94 100644
--- a/sys/conf/files.alpha
+++ b/sys/conf/files.alpha
@@ -67,6 +67,7 @@ alpha/alpha/perfmon.c optional perfmon profiling-routine
alpha/alpha/perfmon.c optional perfmon
alpha/alpha/pmap.c standard
alpha/alpha/procfs_machdep.c standard
+alpha/alpha/mp_machdep.c standard
alpha/alpha/prom.c standard
alpha/alpha/promcons.c standard
alpha/alpha/prom_disp.s standard
@@ -75,6 +76,7 @@ alpha/alpha/simplelock.s optional smp
alpha/alpha/support.s standard
alpha/alpha/swtch.s standard
alpha/alpha/sys_machdep.c standard
+alpha/alpha/synch_machdep.c standard
alpha/alpha/trap.c standard
alpha/alpha/userconfig.c optional userconfig
alpha/alpha/vm_machdep.c standard
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index f5fa25a..e9a7acd 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -188,7 +188,6 @@ i386/i386/mp_clock.c optional smp
i386/i386/mp_machdep.c optional smp
i386/i386/mpapic.c optional smp
i386/i386/mpboot.s optional smp
-i386/i386/mplock.s optional smp
i386/i386/nexus.c standard
i386/i386/perfmon.c optional perfmon
i386/i386/perfmon.c optional perfmon profiling-routine
@@ -198,6 +197,7 @@ i386/i386/simplelock.s optional smp
i386/i386/support.s standard
i386/i386/swtch.s standard
i386/i386/sys_machdep.c standard
+i386/i386/synch_machdep.c standard
i386/i386/trap.c standard
i386/i386/userconfig.c optional userconfig
i386/i386/vm86.c standard
@@ -242,6 +242,7 @@ i386/isa/if_wi.c optional wi card
i386/isa/if_wl.c count wl
i386/isa/if_wlp.c optional wlp
i386/isa/intr_machdep.c standard
+i386/isa/ithread.c standard
i386/isa/ipl_funcs.c standard \
compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
i386/isa/isa.c optional isa
diff --git a/sys/conf/files.pc98 b/sys/conf/files.pc98
index bcb6773..2e8481e 100644
--- a/sys/conf/files.pc98
+++ b/sys/conf/files.pc98
@@ -175,7 +175,6 @@ i386/i386/mp_clock.c optional smp
i386/i386/mp_machdep.c optional smp
i386/i386/mpapic.c optional smp
i386/i386/mpboot.s optional smp
-i386/i386/mplock.s optional smp
i386/i386/nexus.c standard
i386/i386/perfmon.c optional perfmon
i386/i386/perfmon.c optional perfmon profiling-routine
diff --git a/sys/conf/options b/sys/conf/options
index ddd04a3..8093240 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -454,6 +454,15 @@ PCFCLOCK_VERBOSE opt_pcfclock.h
PCFCLOCK_MAX_RETRIES opt_pcfclock.h
TDFX_LINUX opt_tdfx.h
+KTR opt_global.h
+KTR_MASK opt_global.h
+KTR_CPUMASK opt_global.h
+KTR_COMPILE opt_global.h
+KTR_ENTRIES opt_global.h
+KTR_EXTEND opt_global.h
+SMP_DEBUG opt_global.h
+WITNESS opt_global.h
+
# options for ACPI support
ACPI_DEBUG opt_acpi.h
AML_DEBUG opt_acpi.h
diff --git a/sys/conf/options.alpha b/sys/conf/options.alpha
index 8260cb0..7d53c37 100644
--- a/sys/conf/options.alpha
+++ b/sys/conf/options.alpha
@@ -64,3 +64,7 @@ KBD_MAXRETRY opt_kbd.h
KBD_MAXWAIT opt_kbd.h
KBD_RESETDELAY opt_kbd.h
KBDIO_DEBUG opt_kbd.h
+
+# Clock options
+CLK_USE_I8254_CALIBRATION opt_clock.h
+TIMER_FREQ opt_clock.h
OpenPOWER on IntegriCloud