<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libkvm, branch stable/8</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r362623:</title>
<updated>2020-06-30T15:53:52+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2020-06-30T15:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c36d306bb0defd6dd6a1d01cfdb1dd511368ca4d'/>
<id>c36d306bb0defd6dd6a1d01cfdb1dd511368ca4d</id>
<content type='text'>
Fix copy/paste mistake in kvm_getswapinfo(3)

It seems this manpage was copied from kvm_getloadavg(3), but the
DIAGNOSTICS section was not updated completely. Update the section with
correct information about a return value of -1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix copy/paste mistake in kvm_getswapinfo(3)

It seems this manpage was copied from kvm_getloadavg(3), but the
DIAGNOSTICS section was not updated completely. Update the section with
correct information about a return value of -1.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r241303: kvm_getprocs: gracefully handle errors from kvm_deadprocs</title>
<updated>2012-10-17T11:26:48+00:00</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2012-10-17T11:26:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=538c5fbe3dc75f834f8854543aedb3d9bc7e4455'/>
<id>538c5fbe3dc75f834f8854543aedb3d9bc7e4455</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r241302: kvm_proclist: ignore processes in larvae state</title>
<updated>2012-10-14T07:55:14+00:00</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2012-10-14T07:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c5b7595b77863d2c52967870d4c41f722aab420a'/>
<id>c5b7595b77863d2c52967870d4c41f722aab420a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r235286:</title>
<updated>2012-05-18T00:32:29+00:00</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-05-18T00:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=84c3e87e1c04082f23653ce1c5baed9a418df242'/>
<id>84c3e87e1c04082f23653ce1c5baed9a418df242</id>
<content type='text'>
General mdoc(7) and typo fixes.

PR:		167734
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
General mdoc(7) and typo fixes.

PR:		167734
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r230873:</title>
<updated>2012-02-12T07:53:02+00:00</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-02-12T07:53:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=645ff62d5a9c1c7ab5cf92565bc535cfbf1d5620'/>
<id>645ff62d5a9c1c7ab5cf92565bc535cfbf1d5620</id>
<content type='text'>
Try to avoid ambiguity when sysctl returns ENOMEM additionally
checking the returned oldlen: when ENOMEM is due to the supplied
buffer being too short the return oldlen is equal to buffer size.

Without this additional check kvm_getprocs() gets stuck in loop if the
returned ENOMEM was due the exceeded memorylocked limit. This is
easily can be observed running `limits -l 1k top'.

Submitted by:	Andrey Zonov &lt;andrey zonov org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Try to avoid ambiguity when sysctl returns ENOMEM additionally
checking the returned oldlen: when ENOMEM is due to the supplied
buffer being too short the return oldlen is equal to buffer size.

Without this additional check kvm_getprocs() gets stuck in loop if the
returned ENOMEM was due the exceeded memorylocked limit. This is
easily can be observed running `limits -l 1k top'.

Submitted by:	Andrey Zonov &lt;andrey zonov org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: r214904: bring MIPS minidump support to libkvm</title>
<updated>2011-02-18T00:02:35+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2011-02-18T00:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d899c4073244cad0a72f0d8faee53e1eb9a98089'/>
<id>d899c4073244cad0a72f0d8faee53e1eb9a98089</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge r204494, r204511 from head to stable/8:</title>
<updated>2011-01-15T19:23:14+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2011-01-15T19:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7a056c93fadc123cfe05767030a9e920fac5eac1'/>
<id>7a056c93fadc123cfe05767030a9e920fac5eac1</id>
<content type='text'>
  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.

  Sponsored by:   Juniper Networks, Inc.

  Not all programs including kvm.h include the necessary headers to use
  u_int, so prefer unsigned int.

  Pointed out by: bz, kib, Mr Tinderbox
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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.

  Sponsored by:   Juniper Networks, Inc.

  Not all programs including kvm.h include the necessary headers to use
  u_int, so prefer unsigned int.

  Pointed out by: bz, kib, Mr Tinderbox
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r215133: amd64: introduce minidump version 2</title>
<updated>2010-11-26T16:09:08+00:00</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2010-11-26T16:09:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4db580f3b424bade11221baed4d787054bc43852'/>
<id>4db580f3b424bade11221baed4d787054bc43852</id>
<content type='text'>
This should reduce size of the minidump.
Compatibility with version 1 should be preserved in libkvm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should reduce size of the minidump.
Compatibility with version 1 should be preserved in libkvm.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge r204435 from head to stable/8:</title>
<updated>2010-06-01T14:09:35+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2010-06-01T14:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=93ed892eb994000a56b8cb4366d7854add2bcc03'/>
<id>93ed892eb994000a56b8cb4366d7854add2bcc03</id>
<content type='text'>
  Fix typo in comment.

Approved by:	re (bz)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Fix typo in comment.

Approved by:	re (bz)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r207187: kvm(3): Mention that some of the functions use sysctl(3)</title>
<updated>2010-05-02T12:38:59+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-05-02T12:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=03da203042834c809419a511d71a9a8070107a53'/>
<id>03da203042834c809419a511d71a9a8070107a53</id>
<content type='text'>
instead of kmem.

Additionally, because of sysctl(3) use (which is generally good), behaviour
for crash dumps differs slightly from behaviour for live kernels and this
will probably never be fixed entirely, so weaken that claim.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of kmem.

Additionally, because of sysctl(3) use (which is generally good), behaviour
for crash dumps differs slightly from behaviour for live kernels and this
will probably never be fixed entirely, so weaken that claim.
</pre>
</div>
</content>
</entry>
</feed>
