<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libmemstat, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-10-30T17:05:12Z</updated>
<entry>
<title>MFC r242152:</title>
<updated>2012-10-30T17:05:12Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2012-10-30T17:05:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc4a4251bb474a97c8fef1e77fa66115adf24350'/>
<id>urn:sha1:bc4a4251bb474a97c8fef1e77fa66115adf24350</id>
<content type='text'>
Const-ify the zone name argument to uma_zcreate(9).
</content>
</entry>
<entry>
<title>MFC r232157, r232158:</title>
<updated>2012-04-26T20:11:57Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-04-26T20:11:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2082345d1e9c8ea29ecb1f51e635def437fefbe0'/>
<id>urn:sha1:2082345d1e9c8ea29ecb1f51e635def437fefbe0</id>
<content type='text'>
r232157:
  Fix various typos in manual pages.

  Submitted by: amdmi3
  PR:           165431

r232158:
  Whitespace cleanup:
    o Wrap sentences on to new lines
    o Cleanup trailing whitespace
</content>
</entry>
<entry>
<title>Cosmetic cleanup: remove #define LIBMEMSTAT used to prevent a nested</title>
<updated>2011-09-02T14:10:42Z</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@FreeBSD.org</email>
</author>
<published>2011-09-02T14:10:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cfc9e655bacc58c2098f47f52302884beb1453c1'/>
<id>urn:sha1:cfc9e655bacc58c2098f47f52302884beb1453c1</id>
<content type='text'>
include of opt_vmpage.h from vm/vm_page.h.  opt_vmpage.h was retired
before 7.0 together with options PQ_NOOPT.

Approved by:	re (kib)
MFC after:	3 days
</content>
</entry>
<entry>
<title>Get rid of MAXCPU knowledge used for internal needs only. Switch to</title>
<updated>2011-08-01T09:43:35Z</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@FreeBSD.org</email>
</author>
<published>2011-08-01T09:43:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1882360b9b0fbd7f4ddcd6fb35674ec309b2a738'/>
<id>urn:sha1:1882360b9b0fbd7f4ddcd6fb35674ec309b2a738</id>
<content type='text'>
dynamic memory allocation to hold per-CPU memory types data (sized to
mp_maxid for UMA, and to mp_maxcpus for malloc to match the kernel).

That fixes libmemstat with arbitrary large MAXCPU values and therefore
eliminates MEMSTAT_ERROR_TOOMANYCPUS error type.

Reviewed by:	jhb
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Revert r222363, as bde@ pointed out the initial solution was far more</title>
<updated>2011-05-31T20:59:53Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-31T20:59:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1de471dfee9267dde6b33dd262faefffb2b71bc9'/>
<id>urn:sha1:1de471dfee9267dde6b33dd262faefffb2b71bc9</id>
<content type='text'>
correct.
</content>
</entry>
<entry>
<title>Style fix: cast to size_t rather than u_long when comparing to sizeof()</title>
<updated>2011-05-27T16:01:51Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-27T16:01:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d361ed4b1ca199522f067ecf7b9fd66d10642d1e'/>
<id>urn:sha1:d361ed4b1ca199522f067ecf7b9fd66d10642d1e</id>
<content type='text'>
rets.

Requested by:	kib
</content>
</entry>
<entry>
<title>Sync with -CURRENT</title>
<updated>2011-05-10T18:01:53Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-10T18:01:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d40d5f64a2f17d7f00658f6f04c8b65b746ee3fa'/>
<id>urn:sha1:d40d5f64a2f17d7f00658f6f04c8b65b746ee3fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a mismerge.</title>
<updated>2011-05-08T14:45:53Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-08T14:45:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be720a4061f9da8e1844da27b17fbb50322a293b'/>
<id>urn:sha1:be720a4061f9da8e1844da27b17fbb50322a293b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert MAXCPU introduction. In userland it is always 1.</title>
<updated>2011-05-08T14:29:25Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-08T14:29:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=34e4a6f408ae92e30d943f1083807e2932497371'/>
<id>urn:sha1:34e4a6f408ae92e30d943f1083807e2932497371</id>
<content type='text'>
Noted by:	marcel
</content>
</entry>
<entry>
<title>Commit the support for removing cpumask_t and replacing it directly with</title>
<updated>2011-05-05T14:39:14Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-05-05T14:39:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71a19bdc640eb9d54e7db3d1d135753888f3469c'/>
<id>urn:sha1:71a19bdc640eb9d54e7db3d1d135753888f3469c</id>
<content type='text'>
cpuset_t objects.
That is going to offer the underlying support for a simple bump of
MAXCPU and then support for number of cpus &gt; 32 (as it is today).

Right now, cpumask_t is an int, 32 bits on all our supported architecture.
cpumask_t on the other side is implemented as an array of longs, and
easilly extendible by definition.

The architectures touched by this commit are the following:
- amd64
- i386
- pc98
- arm
- ia64
- XEN

while the others are still missing.
Userland is believed to be fully converted with the changes contained
here.

Some technical notes:
- This commit may be considered an ABI nop for all the architectures
  different from amd64 and ia64 (and sparc64 in the future)
- per-cpu members, which are now converted to cpuset_t, needs to be
  accessed avoiding migration, because the size of cpuset_t should be
  considered unknown
- size of cpuset_t objects is different from kernel and userland (this is
  primirally done in order to leave some more space in userland to cope
  with KBI extensions). If you need to access kernel cpuset_t from the
  userland please refer to example in this patch on how to do that
  correctly (kgdb may be a good source, for example).
- Support for other architectures is going to be added soon
- Only MAXCPU for amd64 is bumped now

The patch has been tested by sbruno and Nicholas Esborn on opteron
4 x 12 pack CPUs. More testing on big SMP is expected to came soon.
pluknet tested the patch with his 8-ways on both amd64 and i386.

Tested by:	pluknet, sbruno, gianni, Nicholas Esborn
Reviewed by:	jeff, jhb, sbruno
</content>
</entry>
</feed>
