Restoring crash dump ability for kvm_getswapinfo(3)

Julian Elischer julian at elischer.org
Tue Feb 6 21:31:34 UTC 2007


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



More information about the freebsd-arch mailing list