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

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.