Page MenuHomeFreeBSD

vm_phys_early_alloc: mem_index is only used under #ifdef NUMA.
ClosedPublic

Authored by jhb on Apr 8 2022, 10:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 17, 6:14 AM
Unknown Object (File)
Fri, Oct 17, 6:14 AM
Unknown Object (File)
Fri, Oct 17, 4:36 AM
Unknown Object (File)
Thu, Oct 16, 8:49 PM
Unknown Object (File)
Mon, Oct 13, 4:31 AM
Unknown Object (File)
Fri, Oct 10, 9:47 PM
Unknown Object (File)
Fri, Oct 10, 1:44 PM
Unknown Object (File)
Fri, Sep 26, 10:05 AM
Subscribers

Details

Summary

Possibly mem_index should just reuse biggestone since this loop is
already reusing biggestsize.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45087
Build 41975: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Apr 8 2022, 10:59 PM
kib added inline comments.
sys/vm/vm_phys.c
1681

Or do int mem_index = 0; there; style now allows it.

This revision is now accepted and ready to land.Apr 9 2022, 12:38 AM

Oops, I had merged this accidentally along with other commits before it was reviewed.