Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 12:50:13 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/ia64 mca.c
Message-ID:  <200705191250.l4JCoDDj061596@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2007-05-19 12:50:13 UTC

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        mca.c 
  Log:
  Account for the fact that contigmalloc(9) can return a NULL pointer.
  Fix the flags argument: M_WAITOK is not a valid flag. Its presence
  leaves the indication that contigmalloc(9) will not return a NULL
  pointer.
  
  The use of contigmalloc(9) in this place is probably not a good idea
  given the constraints. It's probably better to lift the constraints
  and instead add a permanent mapping to the ITR. It's possible that
  the first 256MB of memory is exhausted when we get here.
  
  This fixes a kernel panic on a 16GB rx3600.
  
  Revision  Changes    Path
  1.12      +6 -3      src/sys/ia64/ia64/mca.c



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