This function is a bit special because it may return a resident page
without zeroing it, so I added an assertion and made this diff separate.
Details
Details
- Reviewers
kib
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 37203 Build 34092: arc lint + arc unit
Event Timeline
sys/x86/iommu/intel_utils.c | ||
---|---|---|
274–275 | Why not now move the locking outside the loop since we're no longer trying to perform the zeroing without the object lock being held? There would be two fewer lines of code, plus one more if unnecessary braces around the first unlock were eliminated. |