Page MenuHomeFreeBSD

vfs: manage mnt_lockref with atomics

Authored by mjg on Mon, Sep 9, 12:05 PM.



Tested by pho

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mjg created this revision.Mon, Sep 9, 12:05 PM
kib added a comment.Sat, Sep 14, 8:58 PM

This is not yet updated to pcpu counters, right ?

652 ↗(On Diff #61834)

!= 0

mjg added a comment.Sat, Sep 14, 9:04 PM

No, I wanted to have the approach sorted out before I post rebased patch.

mjg added inline comments.Sat, Sep 14, 9:05 PM
652 ↗(On Diff #61834)

This func already does not do it so I did not change it.

mjg updated this revision to Diff 62109.Sat, Sep 14, 9:07 PM
  • rebase on top of the custom barrier
  • release the mountlist lock after leaving the section
kib accepted this revision.Sat, Sep 14, 9:29 PM
This revision is now accepted and ready to land.Sat, Sep 14, 9:29 PM
jeff accepted this revision.Mon, Sep 16, 8:50 PM
This revision was automatically updated to reflect the committed changes.