HomeFreeBSD

Remove locking around accounting initialization of the default object.

Description

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

Details

Provenance
kibAuthored on Dec 14 2016, 11:34 PM
Parents
rGb9a6fb934370: reaper: Make REAPER_KILL_SUBTREE actually work.
Branches
Unknown
Tags
Unknown

Event Timeline