OpenBSD CVS

CVS log for src/share/man/man9/counters_alloc.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Sat Sep 16 09:33:28 2023 UTC (8 months, 2 weeks ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.12: +9 -2 lines
Diff to previous 1.12 (colored)

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@

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 20 23:11:01 2022 UTC (2 years, 3 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

i missed a word.

some other tweaks for readability or brevity while here

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 27 09:29:16 2020 UTC (3 years, 9 months ago) by fcambus
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Fix a bunch of typos in various man pages.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 6 07:09:19 2017 UTC (7 years, 4 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.9: +5 -19 lines
Diff to previous 1.9 (colored)

The counter api now always uses memory with type M_COUNTERS.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 14 06:57:39 2016 UTC (7 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

grammar;

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 14 03:40:09 2016 UTC (7 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.7: +42 -1 lines
Diff to previous 1.7 (colored)

document counters_inc, counters_add, and counters_pkt.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 25 08:09:22 2016 UTC (7 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

minor tweaks;

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 25 00:21:05 2016 UTC (7 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.5: +63 -1 lines
Diff to previous 1.5 (colored)

provide an example based on the mbuf code

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 25 00:11:06 2016 UTC (7 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

bluhm@ suggested pointing out that cpumem_malloc_ncpus and
counters_alloc_ncpus preserve the contents of memory used by the
boot cpu.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 25 00:07:29 2016 UTC (7 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.3: +4 -6 lines
Diff to previous 1.3 (colored)

bluhm@ suggests that it is enough to say that the allocations will
be zeroed, and how they're zeroed is an implementation detail that
doesnt really help the reader.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 25 00:03:40 2016 UTC (7 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.2: +66 -2 lines
Diff to previous 1.2 (colored)

start documenting allocating per cpu data at boot time, and adding
memory for new cpus after theyve attached.

some tweaks from jmc@ who will probably find more things wrong after this.
im putting some suggestions in from bluhm@ shortly

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 21 12:39:13 2016 UTC (7 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.1: +9 -10 lines
Diff to previous 1.1 (colored)

more tweaks; ok dlg

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 21 10:15:40 2016 UTC (7 years, 7 months ago) by dlg
Branch: MAIN

first stab at describing the per cpu counters api

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.