Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P174
(An Untitled Masterwork)
Active
Public
Actions
Authored by
markj
on Apr 17 2018, 5:59 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F3315738:
Apr 17 2018, 5:59 PM
2018-04-17 17:59:19 (UTC+0)
Subscribers
None
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 945ff80afbe6..30a69d6a34cb 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -4140,6 +4140,8 @@ vm_page_ps_test(vm_page_t m, int flags, vm_page_t skip_m)
int i, npages;
object = m->object;
+ if (skip_m != NULL && skip_m->object != object)
+ return (false);
VM_OBJECT_ASSERT_LOCKED(object);
npages = atop(pagesizes[m->psind]);
Event Timeline
markj
created this paste.
Apr 17 2018, 5:59 PM
2018-04-17 17:59:19 (UTC+0)
markj
created this object in space
S1 Global
.
Log In to Comment