DragonFly BSD
DragonFly commits List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/i386 machdep.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Feb 2004 11:58:50 -0800 (PST)

dillon      2004/02/14 11:58:50 PST

DragonFly src repository

  Modified files:
    sys/i386/i386        machdep.c 
  Log:
  Change M_NOWAIT to M_WAITOK.  This does not fix any known issues but it
  makes the code properly conform to the malloc API.  Using M_NOWAIT
  during booting to mean 'if we block here we would deadlock during boot' but
  then assuming that the return value is always non-NULL is worse then
  using M_WAITOK and potentially allowing the system to deadlock but, not
  really, because there is plenty of memory available during booting.
  
  Revision  Changes    Path
  1.53      +1 -1      src/sys/i386/i386/machdep.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.52&r2=1.53&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]