Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 1999 04:35:50 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/eisa if_fea.c
Message-ID:  <199901011235.EAA27978@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1999/01/01 04:35:48 PST

  Modified files:
    sys/i386/eisa        if_fea.c 
  Log:
  The previous commit was bogus.  malloc(..., M_WAITOK) should not be
  used in device attach routines.  At least for attaches at boot time,
  actually waiting, or actually failing for malloc(..., M_NOWAIT), are
  almost equally unlikely and harmless, but using M_WAITOK interferes
  with automatic detection of bogus M_WAITOK's.
  
  Revision  Changes    Path
  1.12      +6 -2      src/sys/i386/eisa/if_fea.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901011235.EAA27978>