y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: > hi, > > > Module Name: src > > Committed By: rmind > > Date: Mon Jan 30 21:05:40 UTC 2012 > > > > Modified Files: > > src/sys/kern: subr_kmem.c > > > > Log Message: > > Fix for KMEM_GUARD; do not use it from interrupt context. > > kmem_zalloc still seems broken and anyway the test looks too fragile. > how about simply moving the #ifdef blocks to callers?
It was just a quick workaround to make it run. I have changed KMGUARD such that it could be called from interrupt context. Might need some tuning as memory consumption is even more significant, but that can be done later. KMGUARD already discovered 4 bugs. > > YAMAMOTO Takashi -- Mindaugas