Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162895001
D1544.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1544.diff
View Options
Index: stable/10/sys/amd64/amd64/machdep.c
===================================================================
--- stable/10/sys/amd64/amd64/machdep.c
+++ stable/10/sys/amd64/amd64/machdep.c
@@ -1590,13 +1590,15 @@
Maxmem = atop(physmem_tunable);
/*
- * By default enable the memory test on real hardware, and disable
- * it if we appear to be running in a VM. This avoids touching all
- * pages unnecessarily, which doesn't matter on real hardware but is
- * bad for shared VM hosts. Use a general name so that
- * one could eventually do more with the code than just disable it.
+ * The boot memory test is disabled by default, as it takes a
+ * significant amount of time on large-memory systems, and is
+ * unfriendly to virtual machines as it unnecessarily touches all
+ * pages.
+ *
+ * A general name is used as the code may be extended to support
+ * additional tests beyond the current "page present" test.
*/
- memtest = (vm_guest > VM_GUEST_NO) ? 0 : 1;
+ memtest = 0;
TUNABLE_ULONG_FETCH("hw.memtest.tests", &memtest);
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 19, 2:31 AM (8 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35215285
Default Alt Text
D1544.diff (1 KB)
Attached To
Mode
D1544: Disable amd64 boot time memory test by default
Attached
Detach File
Event Timeline
Log In to Comment