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 
  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


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