Change M_NOWAIT to M_WAITOK. This does not fix any known issues but it
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 14 Feb 2004 19:58:50 +0000 (19:58 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 14 Feb 2004 19:58:50 +0000 (19:58 +0000)
commit1870e334efbb6528bb71264f596185d4647c7073
treea30e98718bdcbd274350db3cbe76a77b2d46a9d7
parente5b2205e46afcd72497c80c9686041ee9d16d64f
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.
sys/i386/i386/machdep.c
sys/platform/pc32/i386/machdep.c