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

Thomas Klausner <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
Hi!

While trying to take a closer look at https://gnats.netbsd.org/56764
I'm keeping 'swapctl -l; sleep 1' running in a loop next to a bulk
build.

From time to time, it reports errors like

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

or

swapctl: SWAP_STATS different to SWAP_NSWAP (1 != 3)

This looks like a bug to me.

I'm not changing the swap configuration, and it's not really loaded
yet (13% used right now).

How can that happen?
 Thomas
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.