Page MenuHomeFreeBSD

Add a lockless lookup mechanism that uses a SMR zone.
Needs ReviewPublic

Authored by jeff on Thu, Nov 28, 1:17 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This uses the UMA SMR zone support from https://reviews.freebsd.org/D22586 to implement a lockless lookup.

It is not yet safe to access the returned page so this can only be used as a bool check. I am sharing this review for an example of a consumer.

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 27827
Build 26006: arc lint + arc unit

Event Timeline

jeff created this revision.Thu, Nov 28, 1:17 AM
jeff edited the summary of this revision. (Show Details)Thu, Nov 28, 1:44 AM
jeff set the repository for this revision to rS FreeBSD src repository.
imp added inline comments.Thu, Nov 28, 1:54 AM
sys/vm/vm_page.c
598

Why 10?

jeff added inline comments.Thu, Nov 28, 2:26 AM
sys/vm/vm_page.c
598

Two new zones mentioned in the comments.