Assorted changes split out from the complete diff. Some have value on their own, but for the most part are only there for the new lookup.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/kern/kern_descrip.c | ||
---|---|---|
3354 ↗ | (On Diff #74149) | My concern that if we are on UP and mutator is preempted by this loop at the unlucky moment, system can be livelocked. |
sys/kern/vfs_subr.c | ||
---|---|---|
3083 ↗ | (On Diff #74149) | So I don't know how to name this. In the patchset I introduce vget_finish_ref later to facilitate WANTPARENT/!LOCKLEAF lookups, but I'm not going to call something like that from vref. |
sys/kern/vfs_subr.c | ||
---|---|---|
3083 ↗ | (On Diff #74149) | I would call it vref_hold() or vget_ref_hold(). This name describes the action of the code. |
Comment Actions
- add vfs_smr_entered_load
- vget_finish_ref
sys/kern/vfs_subr.c | ||
---|---|---|
3083 ↗ | (On Diff #74149) | I reworked the only consumer of vref_smr to use vget direclty instead, thus getting rid of the problem for the time being. |