History log of /freebsd-current/lib/libkvm/kvm_getpcpu.3
Revision Date Author Comments
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 1f50ad62 15-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Tweak r315363 slightly

I noticed after commit that kvm_dpcpu_setcpu was defined in the manpage.
Thus, the correct macro for the function reference is .Fn, not .Xr.

MFC after: 1 week
X-MFC with: r315363
Sponsored by: Dell EMC Isilon


# 494deaf8 15-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Fix manlint errors

- Add missing comma after kvm_dpcpu_setcpu .Nm macro use (multiple
.Nm entries should be separated by commas)
- Add missing section for kvm_dpcpu_setcpu Xr.

MFC after: 1 week
Reported by: make manlint
Sponsored by: Dell EMC Isilon


# 9292aad4 12-Feb-2014 Gleb Smirnoff <glebius@FreeBSD.org>

Add kvm_getncpus() to obtain mp_ncpus.

Sponsored by: Nginx, Inc.


# 19b5cffe 12-Feb-2014 Gleb Smirnoff <glebius@FreeBSD.org>

While it isn't too late and kvm_read_zpcpu() function isn't yet used
outside libkvm(3), change its order of arguments, so that it is the
same as in kvm_read().

Sponsored by: Nginx, Inc.


# aaaade70 11-Apr-2013 Joel Dahl <joel@FreeBSD.org>

Remove EOL whitespace.


# 2a213404 10-Apr-2013 Gleb Smirnoff <glebius@FreeBSD.org>

o Provide function kvm_read_zpcpu() to access UMA_ZONE_PCPU allocations.
o Provide function kvm_counter_u64_fetch() to fetch valut of a counter(9).

Sponsored by: Nginx, Inc.


# a3fb6da9 11-May-2012 Glen Barber <gjb@FreeBSD.org>

General mdoc(7) and typo fixes.

PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 63d46d1d 12-Mar-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Fix several typos in macros or macro misusage.

Found by: make manlint
Reviewed by: ru
Approved by: philip (mentor)


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# ccd8bad0 28-Feb-2010 Robert Watson <rwatson@FreeBSD.org>

A first cut at teaching libkvm how to deal with dynamic per-CPU storage
(DPCPU):

A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes
of DPCPU. Calls to kvm_nlist(3) will automatically translate DPCPU
symbols and return a pointer to the current CPU's version of the data.
Consumers needing to read the same symbol on several CPUs will invoke a
series of setcpu/nlist calls, one per CPU of interest.

This addition makes it possible for tools like netstat(1) to query the
values of DPCPU variables during crashdump analysis, and is based on
similar code handling virtualized global variables.

MFC after: 1 week
Sponsored by: Juniper Networks, Inc.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# cd11f01e 21-Aug-2008 John Baldwin <jhb@FreeBSD.org>

Add a "CACHING" section regarding the internal caching of kernel variables
and the ability to clear that cache.


# 794a9a6c 19-Aug-2008 John Baldwin <jhb@FreeBSD.org>

Add two new routines to libkvm for working with per-CPU data:
kvm_getmaxcpu() and kvm_getpcpu().

MFC after: 1 week