<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libkvm, branch releng/9.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r235286:</title>
<updated>2012-05-18T00:31:20+00:00</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-05-18T00:31:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fafd9fa45e470605dfc848ee4a477325cb04200d'/>
<id>fafd9fa45e470605dfc848ee4a477325cb04200d</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:52:14+00:00</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-02-12T07:52:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a9c5d0fc3a670bfc8fb0e42aeb616317d7d07438'/>
<id>a9c5d0fc3a670bfc8fb0e42aeb616317d7d07438</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 r227839, r230146:</title>
<updated>2012-01-30T19:32:33+00:00</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-01-30T19:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=046a8b864b6d5af0ec00bd49e8d3d2d3c3a11829'/>
<id>046a8b864b6d5af0ec00bd49e8d3d2d3c3a11829</id>
<content type='text'>
r227839:

Now kvm_getenvv() and kvm_getargv() don't need procfs(5).

r230146:

In kvm_argv(), the case when the supplied buffer was too short to hold the
requested value was handled incorrectly, and the function retuned NULL
instead of the truncated result.

Fix this and also remove unnecessary check for buf != NULL, which alway
retuns true.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r227839:

Now kvm_getenvv() and kvm_getargv() don't need procfs(5).

r230146:

In kvm_argv(), the case when the supplied buffer was too short to hold the
requested value was handled incorrectly, and the function retuned NULL
instead of the truncated result.

Fix this and also remove unnecessary check for buf != NULL, which alway
retuns true.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for PBVM addresses. In a nutshell this means:</title>
<updated>2011-08-06T15:59:54+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2011-08-06T15:59:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d69bc9bcbec83cd7d7d7b6d678df5265523791a0'/>
<id>d69bc9bcbec83cd7d7d7b6d678df5265523791a0</id>
<content type='text'>
o   get the physical address and size of the PBVM page table. This
    can be found in the bootinfo structure, of which the physical
    address is recorded as the ELF entry point.
o   translate region 4 virtual addresses to physical addresses using
    the PBVM page table.

In _kvm_kvatop() make the distinction between physical address and
core file offset a little clearer to avoid confusion. To further
enhance readability, always store the translated address into pa
so that it's obvious how the translation from va to pa happened.

Approved by:	re (blanket)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o   get the physical address and size of the PBVM page table. This
    can be found in the bootinfo structure, of which the physical
    address is recorded as the ELF entry point.
o   translate region 4 virtual addresses to physical addresses using
    the PBVM page table.

In _kvm_kvatop() make the distinction between physical address and
core file offset a little clearer to avoid confusion. To further
enhance readability, always store the translated address into pa
so that it's obvious how the translation from va to pa happened.

Approved by:	re (blanket)
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename ki_ocomm to ki_tdname and OCOMMLEN to TDNAMLEN.</title>
<updated>2011-07-18T20:06:15+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2011-07-18T20:06:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=925af54487d1c8cafc0dbb5ceee2ed1e49285249'/>
<id>925af54487d1c8cafc0dbb5ceee2ed1e49285249</id>
<content type='text'>
Provide backward compatibility defines under BURN_BRIDGES.

Suggested by:	jhb
Reviewed by:	emaste
Sponsored by:	Sandvine Incorporated
Approved by:	re (kib)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide backward compatibility defines under BURN_BRIDGES.

Suggested by:	jhb
Reviewed by:	emaste
Sponsored by:	Sandvine Incorporated
Approved by:	re (kib)
</pre>
</div>
</content>
</entry>
<entry>
<title>Completely remove now unused pc_other_cpus, pc_cpumask.</title>
<updated>2011-07-04T10:45:54+00:00</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-07-04T10:45:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a2f4e284b063d4ef888098f52b5474e1425bb404'/>
<id>a2f4e284b063d4ef888098f52b5474e1425bb404</id>
<content type='text'>
Tested by:	pluknet
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested by:	pluknet
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert r222363, as bde@ pointed out the initial solution was far more</title>
<updated>2011-05-31T20:59:53+00:00</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-31T20:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1de471dfee9267dde6b33dd262faefffb2b71bc9'/>
<id>1de471dfee9267dde6b33dd262faefffb2b71bc9</id>
<content type='text'>
correct.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
correct.
</pre>
</div>
</content>
</entry>
<entry>
<title>Style fix: cast to size_t rather than u_long when comparing to sizeof()</title>
<updated>2011-05-27T16:01:51+00:00</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-27T16:01:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d361ed4b1ca199522f067ecf7b9fd66d10642d1e'/>
<id>d361ed4b1ca199522f067ecf7b9fd66d10642d1e</id>
<content type='text'>
rets.

Requested by:	kib
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rets.

Requested by:	kib
</pre>
</div>
</content>
</entry>
<entry>
<title>In the near future cpuset_t objects in struct pcpu will be axed out, but</title>
<updated>2011-05-27T15:50:14+00:00</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-27T15:50:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d5880f9cdfac5af5b1b92212097d71d3e0ddf459'/>
<id>d5880f9cdfac5af5b1b92212097d71d3e0ddf459</id>
<content type='text'>
as long as this does not happen, we need to fix interfaces to userland
in order to not break run-time accesses to the structure.

Reviwed by:	kib
Tested by:	pluknet
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as long as this does not happen, we need to fix interfaces to userland
in order to not break run-time accesses to the structure.

Reviwed by:	kib
Tested by:	pluknet
</pre>
</div>
</content>
</entry>
<entry>
<title>Disconnect sun4v architecture from the three.</title>
<updated>2011-05-14T01:53:38+00:00</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-14T01:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4b547324c0a839a0ecd067638686112f6f7cc11e'/>
<id>4b547324c0a839a0ecd067638686112f6f7cc11e</id>
<content type='text'>
Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by:	marius
Tested by:	sbruno
Approved by:	re
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by:	marius
Tested by:	sbruno
Approved by:	re
</pre>
</div>
</content>
</entry>
</feed>
