Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: swapctl: SWAP_STATS different to SWAP_NSWAP (2 != 3)



On Tue, Feb 10, 2026 at 01:35:36PM +0100, Thomas Klausner wrote:
> How can that happen?

Not sure, looks like the only possibility is the copyout() in
src/sys/uvm/uvm_swap.c:817 going wrong.

Can you modify src/sbin/swapctl/swaplist.c to print errno in that
warnx() and see what comes out of that?


Martin


Home | Main Index | Thread Index | Old Index