atomic_set_* ORs its arguments together, but the intention here was
obviously to clear the flag.
Details
Details
- Reviewers
kib jeff alc - Commits
- rS326664: Fix the UMA reclaim worker after r326347.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Plain store is enough, _rel does not add any functionality there. Or the load in the while() loop above should become _acq(), but I do not see a need.
Comment Actions
Plain assignment to volatile does it. Explanation was added to atomic(9) not too long time ago.