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
Unknown Object (File)
Wed, Dec 18, 11:08 AM
Unknown Object (File)
Tue, Dec 10, 7:00 AM
Unknown Object (File)
Nov 26 2024, 10:15 AM
Unknown Object (File)
Nov 24 2024, 2:27 PM
Unknown Object (File)
Nov 24 2024, 2:22 PM
Unknown Object (File)
Oct 2 2024, 8:17 PM
Unknown Object (File)
Sep 25 2024, 7:52 PM
Unknown Object (File)
Sep 23 2024, 4:55 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #68924)

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 ↗(On Diff #68924)

It is in the buf_mapped() check below.