diff options
author | ae <ae@FreeBSD.org> | 2017-12-08 08:16:36 +0000 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-01-28 14:17:37 -0200 |
commit | 68f86c1364d379dc8bc306a57a2d05b39f6e52c0 (patch) | |
tree | 72c35742be2e90a6bf59b5e24846beefeb8f663a /contrib/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 16a2520e85dd8e13b1fc8e46f32fd2052c8a234f (diff) | |
download | FreeBSD-src-68f86c1364d379dc8bc306a57a2d05b39f6e52c0.zip FreeBSD-src-68f86c1364d379dc8bc306a57a2d05b39f6e52c0.tar.gz |
MFC r326422:
Do better cleaning in key_destroy() for VIMAGE case.
SPDB was cleaned using TAILQ_CONCAT() instead of calling key_unlink()
for each SP, thus we need to properly clean lists in each bucket of
V_sphashtbl to avoid panic in hashdestroy() when INVARIANTS is enabled.
Do the same for V_acqaddrhashtbl and V_acqseqhashtbl.
When we are called in DEFAULT_VNET, destroy also all global locks and
drain key_timer callout.
Reported by: kp
Tested by: kp
(cherry picked from commit 0925361361d574d82f00033397972226eb5cac13)
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions