DragonFly commits List (threaded) for 2005-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/sys/dev/pccard/pccbb pccbb.c
: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@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]