Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146112199
D54219.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
467 B
Referenced Files
None
Subscribers
None
D54219.diff
View Options
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -2460,7 +2460,8 @@
vm_page_t m;
vm_pindex_t swap_index;
- VM_OBJECT_ASSERT_RLOCKED(object);
+ VM_OBJECT_ASSERT_LOCKED(object);
+ KASSERT((object->flags & OBJ_SWAP) != 0, ("non-swap obj %p", object));
vm_page_iter_init(&pages, object);
m = vm_radix_iter_lookup_ge(&pages, pindex);
if (m != NULL && pages.index == pindex && vm_page_any_valid(m))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 28, 10:19 PM (10 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27041527
Default Alt Text
D54219.diff (467 B)
Attached To
Mode
D54219: vm_object_coalesce(): check that coalescing does not revive stale pages
Attached
Detach File
Event Timeline
Log In to Comment