From owner-cvs-src@FreeBSD.ORG Sat May 19 12:50:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3050B16A403; Sat, 19 May 2007 12:50:14 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0C46D13C468; Sat, 19 May 2007 12:50:14 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4JCoDd0061606; Sat, 19 May 2007 12:50:13 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4JCoDDj061596; Sat, 19 May 2007 12:50:13 GMT (envelope-from marcel) Message-Id: <200705191250.l4JCoDDj061596@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 19 May 2007 12:50:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 mca.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 12:50:14 -0000 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