Something I noticed while reading code, no functional change intended.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20633 Build 20050: arc lint + arc unit
Event Timeline
Comment Actions
- Fix the bugs pointed out by alc. I mistakenly thought that fcmpset updates the expected value upon success.
sys/i386/i386/pmap.c | ||
---|---|---|
3553 | Oh, I'm surprised that we're using 32-bit cmpset here then. I guess we avoid cmpxchg8b here as a micro-optimization, since PG_RW is in the lower 32 bits? |
sys/i386/i386/pmap.c | ||
---|---|---|
3553 | Yes, and we also avoid conditional compilation. |
Comment Actions
Commit 3687797618b6c978ad733bd206a623e5df47dbe3 , I do not think it is worth touching i386.