Page MenuHomeFreeBSD

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

Authored by jhb on Mon, Dec 8, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 1:05 PM
Unknown Object (File)
Tue, Dec 9, 10:05 PM
Unknown Object (File)
Tue, Dec 9, 1:25 PM
Unknown Object (File)
Tue, Dec 9, 6:03 AM
Unknown Object (File)
Tue, Dec 9, 5:32 AM
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.Mon, Dec 8, 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)