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

Matthew Dillon dillon at
Sat Feb 14 11:59:31 PST 2004

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

More information about the Commits mailing list