Subject: Re: CVS commit: syssrc/sys/kern
To: None <itojun@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 11/25/2002 09:22:11
As far as I know, it can't. It would panic in that case, unless
you use M_CANFAIL.

Jaromir

Jun-ichiro itojun Hagino wrote:
> 
> Module Name:	syssrc
> Committed By:	itojun
> Date:		Mon Nov 25 06:32:39 UTC 2002
> 
> Modified Files:
> 	syssrc/sys/kern: uipc_syscalls.c uipc_usrreq.c
> 
> Log Message:
> MEXTMALLOC() can fail even if M_WAITOK, if arg is too big for malloc().
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.71 -r1.72 syssrc/sys/kern/uipc_syscalls.c
> cvs rdiff -r1.54 -r1.55 syssrc/sys/kern/uipc_usrreq.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-