Page MenuHomeFreeBSD

Add a lock free relookup for bogus page replacement.
ClosedPublic

Authored by jeff on Feb 27 2020, 10:38 PM.
Tags
None
Referenced Files
F163219730: D23866.id.diff
Tue, Jul 21, 4:21 AM
Unknown Object (File)
Sun, Jul 19, 10:16 PM
Unknown Object (File)
Sat, Jul 18, 6:43 PM
Unknown Object (File)
Fri, Jul 17, 2:18 PM
Unknown Object (File)
Jun 18 2026, 8:15 PM
Unknown Object (File)
Jun 18 2026, 1:59 PM
Unknown Object (File)
Jun 17 2026, 6:35 PM
Unknown Object (File)
Jun 8 2026, 9:36 AM
Subscribers

Details

Summary

I doubt that there is a measurable performance impact here but I think the resulting code is clearer and the scope of the object lock is further reduced.

We are very close to being able to eliminate explicit object locking from kern/*. It would be much easier to reason about the system if it was contained in vm/.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29659
Build 27517: arc lint + arc unit

Event Timeline

jeff added reviewers: markj, kib, alc, dougm.
jeff set the repository for this revision to rS FreeBSD src repository - subversion.
markj added inline comments.
sys/kern/vfs_bio.c
2881

We don't seem to need the bogus flag variable anymore.

This revision is now accepted and ready to land.Feb 28 2020, 3:35 PM
sys/kern/vfs_bio.c
2881

It is in the buf_mapped() check below.