From owner-cvs-all@FreeBSD.ORG Wed Jun 23 21:50:04 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5041916A4CE; Wed, 23 Jun 2004 21:50:04 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2856343D5D; Wed, 23 Jun 2004 21:50:04 +0000 (GMT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id D78DD5C809; Wed, 23 Jun 2004 14:48:36 -0700 (PDT) Date: Wed, 23 Jun 2004 14:48:36 -0700 From: Alfred Perlstein To: Bruce M Simpson Message-ID: <20040623214836.GL40173@elvis.mu.org> References: <200406231515.i5NFF7CX054351@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406231515.i5NFF7CX054351@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm swap_pager.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 21:50:04 -0000 * Bruce M Simpson [040623 08:15] wrote: > bms 2004-06-23 15:15:07 UTC > > FreeBSD src repository > > Modified files: > sys/vm swap_pager.c > Log: > In swap_pager_getpages(), bp->b_dev can be NULL, particularly for the > case of NFS mounted swap, so do not try to dereference it. > > While we're here, brucify the printf() call which happens when we > time out on acquisition of vm_page_queue_mtx. FYI, You're not timing out on the mutex, you're timing out on waiting for the swap record to be serviced. -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684