cvs commit: src/sys/vm uma_core.c
rwatson at FreeBSD.org
Wed Jan 10 21:04:44 UTC 2007
rwatson 2007-01-10 21:04:43 UTC
FreeBSD src repository
Remove uma_zalloc_arg() hack, which coerced M_WAITOK to M_NOWAIT when
allocations were made using improper flags in interrupt context.
Replace with a simple WITNESS warning call. This restores the
invariant that M_WAITOK allocations will always succeed or die
horribly trying, which is relied on by many UMA consumers.
MFC after: 3 weeks
Discussed with: jhb
Revision Changes Path
1.142 +3 -22 src/sys/vm/uma_core.c
More information about the cvs-all