Otherwise iter % ds->ds_cnt will be negative once iter wraps around to a
negative number.
Details
Details
- Reviewers
alc jeff kib - Commits
- rS339075: Use an unsigned iterator for domain sets.
Peter found the problem while testing some other NUMA patches, one
of which adds a domainset iterator to each UMA keg.
It seems that the per-thread and per-object iterators never managed
to reach 0x80000000 in previous testing.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable