<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netgraph, branch releng/6.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F6.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F6.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-08-08T23:23:44Z</updated>
<entry>
<title>MFC SVN rev 181093</title>
<updated>2008-08-08T23:23:44Z</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2008-08-08T23:23:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e16a83e615f5da85c48d30f9f72e72b197ee509f'/>
<id>urn:sha1:e16a83e615f5da85c48d30f9f72e72b197ee509f</id>
<content type='text'>
Implement ratelimiting for debug messages. For now, allow at most
one message per second. In the future might add a sysctl knob for
each socket family to fine tune this.
</content>
</entry>
<entry>
<title>MFC: SVN rev 181089</title>
<updated>2008-08-04T22:21:44Z</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2008-08-04T22:21:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=37292c3e4b43e0cff0f2d4f7a3a80b40ec5db796'/>
<id>urn:sha1:37292c3e4b43e0cff0f2d4f7a3a80b40ec5db796</id>
<content type='text'>
Increase maximum input queue size limit for raw Bluetooth HCI sockets.
</content>
</entry>
<entry>
<title>MFC rev. 1.158</title>
<updated>2008-05-17T08:45:58Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-05-17T08:45:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3117af1c12f5ac28f676bf4444d98148038a9073'/>
<id>urn:sha1:3117af1c12f5ac28f676bf4444d98148038a9073</id>
<content type='text'>
Use separate UMA zone for data items allocation. It is a partial
rev. 1.149 rework.
It allows to save several percents of CPU time on SMP by using UMA's
internal per-CPU allocation limits instead of own global variable
each time updated with atomics.
Also it restores NG_WAITOK flag processing.

PR:             kern/123741
</content>
</entry>
<entry>
<title>MFC some small optimizations:</title>
<updated>2008-04-20T11:34:56Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-04-20T11:34:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9b77b49bd827f718c2a90345328be9e353b9c324'/>
<id>urn:sha1:9b77b49bd827f718c2a90345328be9e353b9c324</id>
<content type='text'>
rev. 1.151: Remove impossible (hk_peer == NULL) check.
rev. 1.152: Remove ng_setisr() call from ng_dequeue().
rev. 1.153: There is no need to erase hook-&gt;hk_node before freeing hook.
rev. 1.154: Use new atomic_fetchadd() primitive instead of looping atomic_cmpset().
rev. 1.158: ng_address_hook() microoptimization.
</content>
</entry>
<entry>
<title>MFC ng_pptpgre.c rev. 1.41-1.42</title>
<updated>2008-04-07T10:33:28Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-04-07T10:33:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5321fc27641061b1ac879ede54cc7c740d548c79'/>
<id>urn:sha1:5321fc27641061b1ac879ede54cc7c740d548c79</id>
<content type='text'>
Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pair
of pptpgre and ksocket nodes for all calls between two peers. This patch
modifies node's API by adding new "session_%04x" hook names support, while
keeping backward compatibility.
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2008-03-18T17:39:42Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-03-18T17:39:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f7e7670032d41b833f426da30e856bcb90f04e81'/>
<id>urn:sha1:f7e7670032d41b833f426da30e856bcb90f04e81</id>
<content type='text'>
Improve apply callback error reporting:
Before this patch callback returned result of the last finished call chain.
Now it returns last nonzero result from all call chain results in this request.

As soon as this improvement gives reliable error reporting, it is now possible
to remove dirty workaround in ng_socket, made to return ENOBUFS error statuses
of request-response operations. That workaround was responsible for returning
ENOBUFS errors to completely unrelated requests working at the same time
on socket.
</content>
</entry>
<entry>
<title>MFC rev. 1.25</title>
<updated>2008-03-18T17:33:03Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-03-18T17:33:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bd97b837ff3783ab5dfa95e0ccb63d222885d969'/>
<id>urn:sha1:bd97b837ff3783ab5dfa95e0ccb63d222885d969</id>
<content type='text'>
Add session ID hashing to speedup incoming packets dispatch in case
of many connections working via the same tunnel. For example, in case
of full "client &lt;-&gt; LAC &lt;-&gt; LNS" setup.
</content>
</entry>
<entry>
<title>MFC rev. 1.23-1.24</title>
<updated>2008-03-11T19:14:10Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-03-11T19:14:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4d083bd38c0fbe3b727b96e3083e1e4f609dee28'/>
<id>urn:sha1:4d083bd38c0fbe3b727b96e3083e1e4f609dee28</id>
<content type='text'>
To avoid control data losses, do not acknowledge recieving of control packet
if netgraph reported error while delivering to destination.
Reset 'next send' counter to the last requested by peer on ack timeout,
to resend all subsequest packets after lost one again without additional hints.
</content>
</entry>
<entry>
<title>MFC rev. 1.61</title>
<updated>2008-03-11T19:04:42Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-03-11T19:04:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3bb1774bf9d6f7d39c070bdcbfdca5ec02dffdf3'/>
<id>urn:sha1:3bb1774bf9d6f7d39c070bdcbfdca5ec02dffdf3</id>
<content type='text'>
Send only one incoming notification at a time to reduce queue
trashing and improve performance.
Remove waitflag argument from ng_ksocket_incoming2(), it means nothing
as function call was queued by netgraph.
Remove node validity check, as node validity guarantied by netgraph.
Update comments.
</content>
</entry>
<entry>
<title>MFC: rev. 1.148-1.149</title>
<updated>2008-03-10T20:38:56Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2008-03-10T20:38:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=16c020334259f35303c7f3a5a4a7f79d241e2d46'/>
<id>urn:sha1:16c020334259f35303c7f3a5a4a7f79d241e2d46</id>
<content type='text'>
Implement 128 items node name hash for faster name search.
Increase node ID hash size from 32 to 128 items.
Increase default queue items allocation limit from 512 to 4096 items
to avoid terrible unpredicted effects for netgraph operation of their
exhaustion while allocating control messages.
Add separate configurable 512 items limit for data items allocation
for DoS/overload protection.
</content>
</entry>
</feed>
