Deleted Added
full compact
kvm_getpcpu.3 (204494) kvm_getpcpu.3 (205076)
1.\" Copyright (c) 2008 Yahoo!, Inc.
2.\" All rights reserved.
3.\" Written by: John Baldwin <jhb@FreeBSD.org>
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
1.\" Copyright (c) 2008 Yahoo!, Inc.
2.\" All rights reserved.
3.\" Written by: John Baldwin <jhb@FreeBSD.org>
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\" $FreeBSD: head/lib/libkvm/kvm_getpcpu.3 204494 2010-03-01 00:27:55Z rwatson $
29.\" $FreeBSD: head/lib/libkvm/kvm_getpcpu.3 205076 2010-03-12 10:01:06Z uqs $
30.\"
31.Dd February 28, 2010
32.Dt KVM_GETPCPU 3
33.Os
34.Sh NAME
35.Nm kvm_dpcpu_setcpu
36.Nm kvm_getmaxcpu ,
37.Nm kvm_getpcpu

--- 53 unchanged lines hidden (view full) ---

91.Xr kvm_dpcpu_setcpu ,
92which defaults to 0.
93Once another CPU is selected,
94.Xr kvm_nlist 3
95will return pointers to that data on the appropriate CPU.
96.Sh CACHING
97.Fn kvm_getmaxcpu
98and
30.\"
31.Dd February 28, 2010
32.Dt KVM_GETPCPU 3
33.Os
34.Sh NAME
35.Nm kvm_dpcpu_setcpu
36.Nm kvm_getmaxcpu ,
37.Nm kvm_getpcpu

--- 53 unchanged lines hidden (view full) ---

91.Xr kvm_dpcpu_setcpu ,
92which defaults to 0.
93Once another CPU is selected,
94.Xr kvm_nlist 3
95will return pointers to that data on the appropriate CPU.
96.Sh CACHING
97.Fn kvm_getmaxcpu
98and
99.Vn kvm_getpcpu
99.Fn kvm_getpcpu
100cache the nlist values for various kernel variables which are
101reused in successive calls.
102You may call either function with
103.Fa kd
104set to
105.Dv NULL
106to clear this cache.
107.Sh RETURN VALUES

--- 23 unchanged lines hidden ---
100cache the nlist values for various kernel variables which are
101reused in successive calls.
102You may call either function with
103.Fa kd
104set to
105.Dv NULL
106to clear this cache.
107.Sh RETURN VALUES

--- 23 unchanged lines hidden ---