Page MenuHomeFreeBSD

Use unlocked page lookup for inmem() to avoid object lock contention
ClosedPublic

Authored by mlaier on Oct 3 2020, 6:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 25 2024, 6:17 PM
Unknown Object (File)
Jan 16 2024, 1:45 PM
Unknown Object (File)
Jan 6 2024, 2:14 AM
Unknown Object (File)
Jan 4 2024, 12:56 PM
Unknown Object (File)
Dec 31 2023, 12:20 AM
Unknown Object (File)
Dec 28 2023, 10:37 PM
Unknown Object (File)
Dec 23 2023, 4:40 AM
Unknown Object (File)
Nov 26 2023, 1:38 AM
Subscribers

Details

Summary

Let's try this again:

  • make a vm_page_lookup_unlocked
  • really bool-ify
  • while here, export inmem alongside incore (we have a local diff for this)

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34068
Build 31249: arc lint + arc unit

Event Timeline

mlaier requested review of this revision.Oct 3 2020, 6:57 PM
mlaier created this revision.

Moving the tinc calculation back up - needed for valid range

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

I think this deserves a comment to match the others. e.g., the description for vm_page_lookup(), plus, "The page may be no longer be present in the object at the time that this function returns."

This revision is now accepted and ready to land.Oct 6 2020, 12:47 PM

Add comment per markj's request.

This revision now requires review to proceed.Oct 8 2020, 10:14 PM
This revision is now accepted and ready to land.Oct 8 2020, 10:48 PM