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
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/compat/cloudabi/cloudabi_vdso.c | ||
---|---|---|
63–64 ↗ | (On Diff #65064) | 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 ↗ | (On Diff #65064) | Yes you are right. Will fix. |