cvs commit: src/sys/ia64/ia64 mca.c

Marcel Moolenaar marcel at FreeBSD.org
Sat May 19 12:50:14 UTC 2007


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


More information about the cvs-src mailing list