"Maxime Villard" writes: > Module Name: src > Committed By: maxv > Date: Thu Aug 15 12:06:42 UTC 2019 > > Modified Files: > src/sys/kern: subr_kmem.c > > Log Message: > Retire KMEM_GUARD. It has been superseded by kASan, which is much more > powerful, has much more coverage - far beyond just kmem(9) -, and also > consumes less memory. > > KMEM_GUARD was a debug-only option that required special DDB tweaking, and > had no use in releases or even diagnostic kernels. > > As a general rule, the policy now is to harden the pool layer by default > in GENERIC, and use kASan as a diagnostic/debug/fuzzing feature to verify > each memory allocation & access in the system.
was this discussed? KMEM_GUARD is useful for platforms that don't have kasan yet. .mrg.