HomeFreeBSD

Functions that call vm_map_splay_merge sometimes set data fields

Description

Functions that call vm_map_splay_merge sometimes set data fields
(e.g. root->left = NULL) to affect the behavior of that function. This
change stops that data manipulation, and instead calls a pair of
functions, one for the left direction and the other for the right,
with the function called depending whether or not we currently null
the root child in that direction to control the behavior of
vm_map_splay_merge.

Reviewed by: kib
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D22589

Details

Provenance
dougmAuthored on
Reviewer
kib
Differential Revision
D22589: break up vm_map_splay_merge
Parents
rS355200: MFC r354752: Cleanup address range checks in ioat(4).
Branches
Unknown
Tags
Unknown