summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1998-03-01 04:18:54 +0000
committerdyson <dyson@FreeBSD.org>1998-03-01 04:18:54 +0000
commit69e5a1e9f571b8af39e0b507e63b81be43f49634 (patch)
treec798d0618605500d1d7f4999c6d26a20c99e7235 /sys/kern/subr_smp.c
parent8c8a4b1058a64bbc945a9a8c5badfc1ebf7a55c1 (diff)
downloadFreeBSD-src-69e5a1e9f571b8af39e0b507e63b81be43f49634.zip
FreeBSD-src-69e5a1e9f571b8af39e0b507e63b81be43f49634.tar.gz
1) Use a more consistent page wait methodology.
2) Do not unnecessarily force page blocking when paging pages out. 3) Further improve swap pager performance and correctness, including fixing the paging in progress deadlock (except in severe I/O error conditions.) 4) Enable vfs_ioopt=1 as a default. 5) Fix and enable the page prezeroing in SMP mode. All in all, SMP systems especially should show a significant improvement in "snappyness."
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 0b5a162..d532bec 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.64 1997/12/15 02:18:20 tegge Exp $
+ * $Id: mp_machdep.c,v 1.65 1998/02/09 06:08:13 eivind Exp $
*/
#include "opt_smp.h"
@@ -1991,7 +1991,7 @@ int invltlb_ok = 0; /* throttle smp_invltlb() till safe */
SYSCTL_INT(_machdep, OID_AUTO, invltlb_ok, CTLFLAG_RW, &invltlb_ok, 0, "");
/* Warning: Do not staticize. Used from swtch.s */
-int do_page_zero_idle = 0; /* bzero pages for fun and profit in idleloop */
+int do_page_zero_idle = 1; /* bzero pages for fun and profit in idleloop */
SYSCTL_INT(_machdep, OID_AUTO, do_page_zero_idle, CTLFLAG_RW,
&do_page_zero_idle, 0, "");
OpenPOWER on IntegriCloud