summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2016-06-01 22:31:35 +0000
committermarkj <markj@FreeBSD.org>2016-06-01 22:31:35 +0000
commitcbe30ba7a3ab0644b59a730b8023d63c93b5fa02 (patch)
tree377be4f753eced4ab7e03be1e032ee3e1c8843a1 /share
parent10478a3feb7f1a3aedf6ef9f8967caf7f0ff1c38 (diff)
downloadFreeBSD-src-cbe30ba7a3ab0644b59a730b8023d63c93b5fa02.zip
FreeBSD-src-cbe30ba7a3ab0644b59a730b8023d63c93b5fa02.tar.gz
Fix memguard(9) in kernels with INVARIANTS enabled.
With r284861, UMA zones use the trash ctor and dtor by default. This is incompatible with memguard, which frees the backing page when the item is freed. Modify the UMA debug functions to be no-ops if the item was allocated from memguard. This also fixes constructors such as mb_ctor_pack(), which invokes the trash ctor in addition to performing some initialization. Reviewed by: glebius MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D6562
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud