Date: Wed, 10 Jan 2007 21:04:43 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c Message-ID: <200701102104.l0AL4hdI059998@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2007-01-10 21:04:43 UTC
FreeBSD src repository
Modified files:
sys/vm uma_core.c
Log:
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701102104.l0AL4hdI059998>
