CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2023/09/16 03:33:28

Modified files:
        sys/kern       : kern_sysctl.c subr_evcount.c subr_percpu.c 
        sys/net        : pfkeyv2_convert.c if_pfsync.c if_etherip.c if.c 
                         pipex.c rtsock.c 
        sys/netinet    : igmp.c ip_carp.c ip_divert.c ip_icmp.c 
                         ip_input.c ip_ipip.c ipsec_input.c tcp_usrreq.c 
                         udp_usrreq.c 
        sys/netinet6   : icmp6.c ip6_divert.c ip6_input.c raw_ip6.c 
        sys/sys        : percpu.h 
        sys/uvm        : uvm_meter.c 
        share/man/man9 : counters_alloc.9 

Log message:
Allow counters_read(9) to take an optional scratch buffer.

Using a scratch buffer makes it possible to take a consistent snapshot of
per-CPU counters without having to allocate memory.

Makes ddb(4) show uvmexp command work in OOM situations.

ok kn@, mvs@, cheloha@

Reply via email to