On Monday, May 25, 2015 10:38:33 PM Gleb Smirnoff wrote: > On Mon, May 25, 2015 at 07:18:16PM +0000, Adrian Chadd wrote: > A> * kill M_WAITOK - some platforms just don't want you to use it > > Actually all functions called in device attach context or in > syscall context should use M_WAITOK. This makes API more robust and > simplifies code a lot. > > Can we achieve portability without losing this nice feature of > FreeBSD?
I agree with this general policy. There are several places that currently use M_NOWAIT (e.g. new-bus) that could safely use M_WAITOK instead in many cases (if not always). -- John Baldwin _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"