Date: Fri, 24 Nov 2006 22:14:38 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sun4v/mdesc mdesc_init.c Message-ID: <200611242214.kAOMEcYQ061565@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2006-11-24 22:14:38 UTC FreeBSD src repository Modified files: sys/sun4v/mdesc mdesc_init.c Log: Make sure we do not sleep while locks are held. Change the malloc(9) flags from M_WAITOK to M_NOWAIT. This should not cause any problems since the calling code appears to properly handle failed allocations. Discussed with: kmacy Revision Changes Path 1.3 +1 -1 src/sys/sun4v/mdesc/mdesc_init.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611242214.kAOMEcYQ061565>