Page MenuHomeFreeBSD

vm_page_unswappable: remove wrong assertion
ClosedPublic

Authored by vangyzen on Nov 9 2022, 8:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 10, 9:00 AM
Unknown Object (File)
Thu, Sep 5, 10:17 AM
Unknown Object (File)
Aug 28 2024, 3:42 PM
Unknown Object (File)
Jul 23 2024, 12:33 PM
Unknown Object (File)
Jun 28 2024, 3:42 PM
Unknown Object (File)
Jun 22 2024, 5:43 PM
Unknown Object (File)
Jun 17 2024, 7:17 PM
Unknown Object (File)
Jun 16 2024, 11:56 AM
Subscribers

Details

Summary

markj says:

...the assertion is incorrect and should simply be removed.
It has been racy since we removed the use of the page hash
lock to synchronize wiring of pages.

PR: 267621

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 48248
Build 45134: arc lint + arc unit

Event Timeline

markj added inline comments.
sys/vm/vm_page.c
4203

ASSERT_LOCKED is sufficient. The intent is that nothing should be concurrently freeing the page; a read lock on the object suffices for that.

This revision is now accepted and ready to land.Nov 9 2022, 8:21 PM
This revision was automatically updated to reflect the committed changes.