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:55:02PM +0100, Martin Husemann wrote:
> 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?
I replaced warnx with warn, but errno was 0:
swapctl: SWAP_STATS different to SWAP_NSWAP (1 != 3): Undefined error: 0
Thomas
Home |
Main Index |
Thread Index |
Old Index