HomeFreeBSD

vm_map_submap(): Avoid unnecessary clipping.

Description

vm_map_submap(): Avoid unnecessary clipping.

A submap can only be created from an entry spanning the entire request
range. In particular, if vm_map_lookup_entry() returns false or the
returned entry contains "end".

Since the only use of submaps in FreeBSD is for the static pipe and
execve argument KVA maps, this has no functional effect.

Github PR: https://github.com/freebsd/freebsd/pull/420
Submitted by: Wuyang Chung <wuyang.chung1@gmail.com> (original)
Reviewed by: dougm, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D23299

Details

Provenance
markjAuthored on
Reviewer
dougm
Differential Revision
D23299: vm_map_submap(): Avoid unnecessary clipping.
Parents
rS357051: With MSI interrupts bge(4) just schedules taskqueue. Enter the network
Branches
Unknown
Tags
Unknown