I have a number of small patches in my branch targeted at making the grab & busy usage more consistent. This enables tighter assertions that are necessary for lockless lookup & busy. In these particular cases the busy lock is acquired for free in page_alloc and we are only paying an extra atomic to release.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27870 Build 26042: arc lint + arc unit
Event Timeline
sys/compat/cloudabi/cloudabi_vdso.c | ||
---|---|---|
63–64 | Can't these two operations now be placed after the lock release? To be clear, I'm not concerned about the performance impact here, but rather that these are good examples when other people cut-and-paste elsewhere. |
sys/compat/cloudabi/cloudabi_vdso.c | ||
---|---|---|
63–64 | Yes you are right. Will fix. |