Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/conf Add optional support for ma...



details:   https://anonhg.NetBSD.org/src/rev/c8d57928b9bd
branches:  sommerfeld_i386mp_1
changeset: 482295:c8d57928b9bd
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Sep 07 17:20:59 2000 +0000

description:
Add optional support for mapping the kernel with large (4MB) pages.
Right now, only does kernel text, and wastes a little memory, but
there is some noticeable performance improvement even with just text.

diffstat:

 sys/arch/i386/conf/largepages.inc |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 847c9d4b9313 -r c8d57928b9bd sys/arch/i386/conf/largepages.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/i386/conf/largepages.inc Thu Sep 07 17:20:59 2000 +0000
@@ -0,0 +1,8 @@
+#      $NetBSD: largepages.inc,v 1.1.4.2 2000/09/07 17:20:59 thorpej Exp $
+#
+# Options to create a kernel suitable for mapping with large
+# pages.
+#
+
+makeoptions    KERN_LDSCRIPT="kern.ldscript.4MB"
+options        LARGEPAGES              # Use large pages for kernel image



Home | Main Index | Thread Index | Old Index