]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove locking around accounting initialization of the default object.
authorkib <kib@FreeBSD.org>
Wed, 14 Dec 2016 23:34:25 +0000 (23:34 +0000)
committerkib <kib@FreeBSD.org>
Wed, 14 Dec 2016 23:34:25 +0000 (23:34 +0000)
commit3bda92f604af41328942988f9e5f0671d2d75573
tree9713285840d275a8050bb8339131f369136ed0f7
parentea79716e67cb5a85c93285acf225379f8fa33735
Remove locking around accounting initialization of the default object.

The object is not yet fully constructed and must not be available to
other threads.  This makes default_pager_alloc() almost identical to
swap_pager_alloc_init().

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/vm/default_pager.c