Date: Tue, 06 Feb 2007 13:31:32 -0800 From: Julian Elischer <julian@elischer.org> To: John Baldwin <jhb@freebsd.org> Cc: arch@freebsd.org Subject: Re: Restoring crash dump ability for kvm_getswapinfo(3) Message-ID: <45C8F3B4.8060400@elischer.org> In-Reply-To: <200702061537.54056.jhb@freebsd.org> References: <200702061537.54056.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45C8F3B4.8060400>