Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 23:22:07 -0700 (PDT)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_bus.c
Message-ID:  <200310140622.h9E6M7cp017713@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2003/10/13 23:22:07 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             subr_bus.c 
  Log:
  With DIAGNOSTICS, sometimes we get weird crashes when some driver
  accesses softc after it is freed.  Use a different malloc type for
  softc than the rest of the bus code to make it more clear when these
  things happen that it is the driver that's at fault, not the bus code.
  
  Suggested by: sam and/or phk (I think)
  
  Revision  Changes    Path
  1.132     +4 -3      src/sys/kern/subr_bus.c



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