cvs commit: src/sys/dev/pccard/pccbb pccbb.c
Matthew Dillon
dillon at apollo.backplane.com
Thu Aug 11 10:34:28 PDT 2005
:corecode 2005/08/10 20:20:37 PDT
:
:DragonFly src repository
:
: Modified files:
: sys/dev/pccard/pccbb pccbb.c
: Log:
: Don't panic if we can't allocate memory.
:
: Revision Changes Path
: 1.9 +14 -5 src/sys/dev/pccard/pccbb/pccbb.c
:
:
:http://www.dragonflybsd.org/cvsweb/src/sys/dev/pccard/pccbb/pccbb.c.diff?r1=1.8&r2=1.9&f=u
Same here. In this case the malloc clearly should not be
allowed to fail as this code is called as part of the initialization
phase. This is a common occurance in FreeBSD code and we've been
changing those M_NOWAIT's to M_INTWAIT's right and left for
initialization phase code.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Commits
mailing list