Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177642968
D61622.1794930044.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
623 B
Referenced Files
None
Subscribers
None
D61622.1794930044.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
@@ -8187,7 +8187,14 @@
pd_entry_t *l0, *l1, *l2, oldl2;
pt_entry_t *l3, *dl3, oldl3;
- PMAP_ASSERT_STAGE1(pmap);
+ /*
+ * The advice is only a hint, and the code below changes stage 1
+ * permission bits and invalidates stage 1 TLB entries. vm_fault()
+ * reaches here for a stage 2 pmap when it drops pages behind a
+ * sequential fault, so ignore the advice for stage 2.
+ */
+ if (pmap->pm_stage != PM_STAGE1)
+ return;
if (advice != MADV_DONTNEED && advice != MADV_FREE)
return;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 17, 3:40 PM (8 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41800936
Default Alt Text
D61622.1794930044.diff (623 B)
Attached To
Mode
D61622: arm64/pmap: Ignore pmap_advise() for stage 2 pmaps
Attached
Detach File
Event Timeline