HomeFreeBSD

linux: Unmap the VDSO page when unloading

Description

linux: Unmap the VDSO page when unloading

linux_shared_page_init() creates an object and grabs and maps a single
page to back the VDSO. When destroying the VDSO object, we failed to
destroy the mapping and free KVA. Fix this.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D28696

(cherry picked from commit 0fc8a796722846d0d676548aa0f5cc660199db73)

Details

Provenance
markjAuthored on Feb 16 2021, 2:30 PM
Reviewer
kib
Differential Revision
D28696: linux: Unmap the VDSO page when unloading
Parents
rGab3e1bd3c22a: xen-blkback: fix leak of grant maps on ring setup failure
Branches
Unknown
Tags
Unknown