HomeFreeBSD

Wrap the sleeps synchronized by the vm_object lock into the specific

Description

Wrap the sleeps synchronized by the vm_object lock into the specific
macro VM_OBJECT_SLEEP().
This hides some implementation details like the usage of the msleep()
primitive and the necessity to access to the lock address directly.
For this reason VM_OBJECT_MTX() macro is now retired.

Sponsored by: EMC / Isilon storage division
Reviewed by: alc
Tested by: pho

Details

Provenance
Attilio Rao <attilio@FreeBSD.org>Authored on Feb 26 2013, 5:22 PM
Parents
rG8a4f65bc335d: Change the way how software PMC updates counters.
Branches
Unknown
Tags
Unknown

Event Timeline