Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108616111
D37299.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
486 B
Referenced Files
None
Subscribers
None
D37299.diff
View Options
diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c
--- a/sys/arm64/arm64/pmap.c
+++ b/sys/arm64/arm64/pmap.c
@@ -685,8 +685,15 @@
}
bool
-pmap_ps_enabled(pmap_t pmap __unused)
+pmap_ps_enabled(pmap_t pmap)
{
+ /*
+ * Promotion requires a hypervisor call when the kernel is running
+ * in EL1. To stop this disable superpage support on non-stage 1
+ * pmaps for now.
+ */
+ if (pmap->pm_stage != PM_STAGE1)
+ return (false);
return (superpages_enabled != 0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 10:01 PM (8 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16215737
Default Alt Text
D37299.diff (486 B)
Attached To
Mode
D37299: Disable superpage use for stage 2 arm64 mappings
Attached
Detach File
Event Timeline
Log In to Comment