<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/bin/cat, branch release/8.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-03-16T12:16:17Z</updated>
<entry>
<title>cat(1) compiles fine at WARNS level 6.</title>
<updated>2009-03-16T12:16:17Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2009-03-16T12:16:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ed53753dac4c203fe471dbaa5b26d29ff049893d'/>
<id>urn:sha1:ed53753dac4c203fe471dbaa5b26d29ff049893d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Teach cat(1) and cp(1) to use a larger buffer if enough memory is present</title>
<updated>2008-10-30T14:05:57Z</updated>
<author>
<name>Ivan Voras</name>
<email>ivoras@FreeBSD.org</email>
</author>
<published>2008-10-30T14:05:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e9cbc9a7708270477394aa03527c16d714740a19'/>
<id>urn:sha1:e9cbc9a7708270477394aa03527c16d714740a19</id>
<content type='text'>
in the system. A simple heuristics is used to detect what is "enough"
memory: if number of physmem pages is greater than 32k (equalling 128 MB
on machines with 4 kB pages).

Typical immediate result of these changes is reduction in context switches
and the goal is to increase efficiency by using large buffers:
before: /usr/bin/time -hlp cat file1 &gt; file2
...
       163  voluntary context switches
     11194  involuntary context switches
after: /usr/bin/time -hlp ./cat file1 &gt; file2
...
       417  voluntary context switches
       272  involuntary context switches

Reviewed by:    hackers@ (no objections to earlier version of cat patch)
Approved by:    gnn (mentor)
MFC after:      4 months
</content>
</entry>
<entry>
<title>One more nit.</title>
<updated>2006-12-23T09:25:23Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-12-23T09:25:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d2b53efbb9d9e7bda08cbfce79df54e1b62753d6'/>
<id>urn:sha1:d2b53efbb9d9e7bda08cbfce79df54e1b62753d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix markup.</title>
<updated>2006-12-23T09:22:06Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-12-23T09:22:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=17bba29b9bcdb67c59fac9c3ed68228647c59f44'/>
<id>urn:sha1:17bba29b9bcdb67c59fac9c3ed68228647c59f44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the new standard EXIT STATUS section where appropriate.</title>
<updated>2005-01-16T16:41:59Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-16T16:41:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6fca4c7c3f16b87ad8b9ffa6564f5654f44ed581'/>
<id>urn:sha1:6fca4c7c3f16b87ad8b9ffa6564f5654f44ed581</id>
<content type='text'>
Sort standard sections in the (documented) preferred order.
</content>
</entry>
<entry>
<title>Eliminate macro calls inside literal displays.</title>
<updated>2005-01-15T12:28:01Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-15T12:28:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6a5796e73428a23361ef8b48f14fde19225295f4'/>
<id>urn:sha1:6a5796e73428a23361ef8b48f14fde19225295f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>/*- or .\"- or #- to begin license clauses.</title>
<updated>2005-01-10T08:39:26Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-10T08:39:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9ddb49cbe45441fa3f3a10f6dd355e9956480b5f'/>
<id>urn:sha1:9ddb49cbe45441fa3f3a10f6dd355e9956480b5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use warn() instead of perror().</title>
<updated>2004-07-20T05:52:00Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-07-20T05:52:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2c61418d05e0ec9fbf4f24b64e5358bb53a14b73'/>
<id>urn:sha1:2c61418d05e0ec9fbf4f24b64e5358bb53a14b73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove clause 3 from the UCB licenses.</title>
<updated>2004-04-06T20:06:54Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2004-04-06T20:06:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9'/>
<id>urn:sha1:6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9</id>
<content type='text'>
OK'ed by:	imp, core
</content>
</entry>
<entry>
<title>Reduce redundancy in the description of the -u option.</title>
<updated>2004-03-21T11:04:59Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-03-21T11:04:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=744e4bba0ef1d2a507ecd03da2a8f40fe72627bb'/>
<id>urn:sha1:744e4bba0ef1d2a507ecd03da2a8f40fe72627bb</id>
<content type='text'>
</content>
</entry>
</feed>
