Re: swapctl: SWAP_STATS different to SWAP_NSWAP (2 != 3)
Robert Elz <[email protected]>
| Newsgroups | gmane.os.netbsd.current |
|---|---|
| Message-ID | <[email protected]> |
Date: Thu, 12 Feb 2026 13:44:07 -0000 (UTC)
From: [email protected] (Michael van Elst)
Message-ID: <[email protected]>
| Since the list is only rotated, it's sufficient to collect pointers
| to the entries into a kernel buffer. After releasing the data
| lock, the entries can then be copied out.
That is exactly what I am doing now, code is almost written,
but needs to be tested before I commit it.
kre