Page MenuHomeFreeBSD

vfs: manage mnt_lockref with atomics
ClosedPublic

Authored by mjg on Sep 9 2019, 12:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 7, 3:12 PM
Unknown Object (File)
Sat, Mar 7, 10:26 AM
Unknown Object (File)
Fri, Mar 6, 2:53 PM
Unknown Object (File)
Fri, Mar 6, 5:54 AM
Unknown Object (File)
Fri, Mar 6, 4:36 AM
Unknown Object (File)
Dec 25 2025, 6:20 AM
Unknown Object (File)
Dec 22 2025, 9:12 PM
Unknown Object (File)
Dec 14 2025, 6:36 AM
Subscribers

Details

Summary

Tested by pho

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This is not yet updated to pcpu counters, right ?

sys/kern/vfs_subr.c
652 ↗(On Diff #61834)

!= 0

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

sys/kern/vfs_subr.c
652 ↗(On Diff #61834)

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

  • rebase on top of the custom barrier
  • release the mountlist lock after leaving the section
This revision is now accepted and ready to land.Sep 14 2019, 9:29 PM
This revision was automatically updated to reflect the committed changes.