diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2024-04-19 10:22:52 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2024-04-19 10:22:52 +0000 |
commit | 68acfc6e1e716f102731791b8bb7b2ab1c482686 (patch) | |
tree | 2d3484af8d6f36167f1df9e54b9cf37c5a28cbcb /usr.bin/vmstat | |
parent | 5c78de79d201b5311976d0ff89fc20423df0762a (diff) |
Revert per-CPU caches a double-free has been found by naddy@.
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index a737d36adb5..dcc999bd05e 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1,5 +1,5 @@ /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ -/* $OpenBSD: vmstat.c,v 1.156 2024/04/17 13:12:58 mpi Exp $ */ +/* $OpenBSD: vmstat.c,v 1.157 2024/04/19 10:22:51 mpi Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 @@ -513,12 +513,7 @@ dosum(void) uvmexp.reserve_pagedaemon); (void)printf("%11u pages reserved for kernel\n", uvmexp.reserve_kernel); - (void)printf("%11u pages in per-cpu caches\n", - uvmexp.percpucaches); - /* per-cpu cache */ - (void)printf("%11u per-cpu cache hits\n", uvmexp.pcphit); - (void)printf("%11u per-cpu cache misses\n", uvmexp.pcpmiss); /* swap */ (void)printf("%11u swap pages\n", uvmexp.swpages); (void)printf("%11u swap pages in use\n", uvmexp.swpginuse); |