Page MenuHomeFreeBSD

rman: Embed the mutex in struct rman instead of using a separate allocation
ClosedPublic

Authored by jhb on Dec 8 2025, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 28, 8:59 PM
Unknown Object (File)
Mon, May 25, 11:33 AM
Unknown Object (File)
Fri, May 22, 10:26 PM
Unknown Object (File)
May 13 2026, 12:47 AM
Unknown Object (File)
May 12 2026, 6:51 PM
Unknown Object (File)
May 9 2026, 5:24 PM
Unknown Object (File)
Apr 29 2026, 12:47 AM
Unknown Object (File)
Apr 28 2026, 8:58 PM
Subscribers

Details

Summary

This used a separate allocation when rman was first imported (back
when the lock was a pre-SMPng "simplelock" instead of a mutex).

Reported by: des

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thanks. I wonder if the performance impact is measurable...

This revision is now accepted and ready to land.Dec 8 2025, 11:09 PM

Hopefully rman routines are not used in any critical paths (attach/detach handlers should be a relatively rare path compared to, say, an interrupt handler)