From owner-freebsd-arch@FreeBSD.ORG Tue Feb 6 21:31:34 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2251416A401 for ; Tue, 6 Feb 2007 21:31:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outY.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 0D0E813C4B5 for ; Tue, 6 Feb 2007 21:31:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Tue, 06 Feb 2007 13:09:12 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 91EAF125B31; Tue, 6 Feb 2007 13:31:32 -0800 (PST) Message-ID: <45C8F3B4.8060400@elischer.org> Date: Tue, 06 Feb 2007 13:31:32 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: John Baldwin References: <200702061537.54056.jhb@freebsd.org> In-Reply-To: <200702061537.54056.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org Subject: Re: Restoring crash dump ability for kvm_getswapinfo(3) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 21:31:34 -0000 John Baldwin wrote: > The patch below fixes kvm_getswapinfo(3) (and thus pstat -T/pstat -s/swapinfo) > on crash dumps. The one ugliness in it is that since 'struct swdevt' was > moved into swap_pager.c, there is no longer a header that I can include to > get it (used to be in vm/swap_pager.h) so I have a copy of the structure in > kvm_getswapinfo.c. I'd prefer to move the structures back into > vm/swap_pager.h. I agree