summaryrefslogtreecommitdiffstats
path: root/contrib/libc++
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-05-26 16:59:29 +0000
committerkib <kib@FreeBSD.org>2016-05-26 16:59:29 +0000
commitf11f5ba812de1ae12064f700f60e969f68dbb984 (patch)
tree727db65fdef51ecc1f0b0c264ecb933fe3774e4d /contrib/libc++
parent3c784f29dd2bf78a64b9cbd669c8e9ccc08ea9aa (diff)
downloadFreeBSD-src-f11f5ba812de1ae12064f700f60e969f68dbb984.zip
FreeBSD-src-f11f5ba812de1ae12064f700f60e969f68dbb984.tar.gz
Prevent parallel object collapses. Both vm_object_collapse_scan() and
swap_pager_copy() might unlock the object, which allows the parallel collapse to execute. Besides destroying the object, it also might move the reference from parent to the backing object, firing the assertion ref_count == 1. Collapses are prevented by bumping paging_in_progress counters on both the object and its backing object. Reported by: cem Tested by: pho (previous version) Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week X-Differential revision: https://reviews.freebsd.org/D6085
Diffstat (limited to 'contrib/libc++')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud