Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2004 18:11:41 +0000 (UTC)
From:      Brian Feldman <green@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm uma_core.c
Message-ID:  <200407031811.i63IBfSf092416@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
green       2004-07-03 18:11:41 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               uma_core.c 
  Log:
  Limit mbuma damage.  Suddenly ALL allocations with M_WAITOK are subject
  to failing -- that is, allocations via malloc(M_WAITOK) that are required
  to never fail -- if WITNESS is not defined.  While everyone should be
  running WITNESS, in any case, zone "Mbuf" allocations are really the only
  ones that should be screwed with by this hack.
  
  This hack is crashing people, and would continue to do so with or without
  WITNESS.  Things shouldn't be allocating with M_WAITOK with locks held,
  but it's not okay just to always remove M_WAITOK when !WITNESS.
  
  Reported by:    Bernd Walter <ticso@cicely5.cicely.de>
  
  Revision  Changes    Path
  1.98      +8 -4      src/sys/vm/uma_core.c



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