docs/73429: [patch] Update Handbook, Chapter 8, kernel configuration
Joel Dahl
joel at automatvapen.se
Wed Nov 3 17:40:36 UTC 2004
The following reply was made to PR docs/73429; it has been noted by GNATS.
From: Joel Dahl <joel at automatvapen.se>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: docs/73429: [patch] Update Handbook, Chapter 8, kernel
configuration
Date: Wed, 03 Nov 2004 18:36:11 +0100
--=-cLxltz3tFX6dKS+oVxU2
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Fix small spelling error. New patch attached.
--=-cLxltz3tFX6dKS+oVxU2
Content-Disposition: attachment; filename=kernconf3.diff
Content-Type: text/x-patch; name=kernconf3.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
--- chapter.sgml Sun Oct 31 09:06:48 2004
+++ new.chapter.sgml Wed Nov 3 18:33:43 2004
@@ -893,19 +893,28 @@
<programlisting>options ADAPTIVE_GIANT # Giant mutex is adaptive.</programlisting>
- <para>This option causes Giant to be included in the set of mutexes
- adaptively spun on.</para>
+ <para>Giant is the name of a mutual exclusion mechanism (a sleep mutex)
+ that protects a large set of kernel resources. Today, this is an
+ unacceptable performance bottleneck which is actively being replaced
+ with locks that protect individual resources. The
+ <literal>ADAPTIVE_GIANT</literal> option causes Giant to be included
+ in the set of mutexes adaptively spun on. That is, when a thread
+ wants to lock the Giant mutex, but it is already locked by a thread
+ on another CPU, the first thread will keep running and wait for the
+ lock to be released. Normally, the thread would instead go back to
+ sleep and wait for its next chance to run. If you are not sure,
+ leave this in.</para>
<indexterm>
<primary>kernel options</primary>
<secondary>SMP</secondary>
</indexterm>
- <programlisting># To make an SMP kernel, the next two are needed
-options SMP # Symmetric MultiProcessor Kernel
-device apic # I/O APIC</programlisting>
+ <programlisting>device apic # I/O APIC</programlisting>
- <para>The above are both required for SMP support, and can also be
- safely enabled on uniprocessor systems.</para>
+ <para>The apic device enables the use of I/O APIC for interrupt
+ delivery. The apic device can be used in both UP and SMP kernels, but
+ is required for SMP kernels. Add <literal>options SMP</literal> to
+ include support for multiple processors.</para>
<programlisting>device isa</programlisting>
@@ -1026,6 +1035,7 @@
device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
device ciss # Compaq Smart RAID 5*
device dpt # DPT Smartcache III, IV - See NOTES for options
+device hptmv # Highpoint RocketRAID 182x
device iir # Intel Integrated RAID
device ips # IBM (Adaptec) ServeRAID
device mly # Mylex AcceleRAID/eXtremeRAID
--=-cLxltz3tFX6dKS+oVxU2--
More information about the freebsd-doc
mailing list