Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4 |
|
#
84bfc1a1 |
| 01-Aug-2015 |
Sascha Wildner <saw@online.de> |
kernel: Use <sys/bitstring.h> instead of <bitstring.h>.
|
Revision tags: v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4 |
|
#
b5523eac |
| 19-Feb-2015 |
Sascha Wildner <saw@online.de> |
kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.
The main reason is that our having to use the MB_WAIT and MB_DONTWAIT flags was a recurring issue when porting drivers from FreeBSD
kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.
The main reason is that our having to use the MB_WAIT and MB_DONTWAIT flags was a recurring issue when porting drivers from FreeBSD because it tended to get forgotten and the code would compile anyway with the wrong constants. And since MB_WAIT and MB_DONTWAIT ended up as ocflags for an objcache_get() or objcache_reclaimlist call (which use M_WAITOK and M_NOWAIT), it was just one big converting back and forth with some sanitization in between.
This commit allows M_* again for the mbuf functions and keeps the sanitizing as it was before: when M_WAITOK is among the passed flags, objcache functions will be called with M_WAITOK and when it is absent, they will be called with M_NOWAIT. All other flags are scrubbed by the MB_OCFLAG() macro which does the same as the former MBTOM().
Approved-by: dillon
show more ...
|
Revision tags: v4.0.3, v4.0.2, v4.0.1 |
|
#
e85b99ab |
| 15-Nov-2014 |
Sascha Wildner <saw@online.de> |
kernel/netgraph7: Port the kernel part of the netgraph7 bluetooth stack.
It still needs more testing/debugging, along with the userland part.
In-discussion-with: nant
|
Revision tags: v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2 |
|
#
a62226e4 |
| 15-Jul-2014 |
Sascha Wildner <saw@online.de> |
kernel/netgraph7: Use kprintf etc. directly instead of defining printf.
While here, remove some commented out code from dragonfly.h
In-discussion-with: nant
|
Revision tags: v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3 |
|
#
e368a6e9 |
| 20-Aug-2013 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
tcp: Implement asynchronous pru_connect
This is mainly used to improve TCP nonblocking connect(2) performance.
Before this commit the user space thread uses nonblocking connect(2) will have to wait
tcp: Implement asynchronous pru_connect
This is mainly used to improve TCP nonblocking connect(2) performance.
Before this commit the user space thread uses nonblocking connect(2) will have to wait for the netisr completes the SYN output. This could be performance hit for nonblocking connect(2). First, the user space thread is put into sleep, even if the connect(2) is nonblocking. Second, it does not make too much sense for nonblocking connect(2) to wait for the SYN output.
TCP's asynchronous pru_connect implementation will set ISCONNECTING before dispatching netmsg to netisr0. The errors like EADDRNOTAVAIL, i.e. out of local port space, will be notified through kevent(2) or getsockopt(2) SOL_SOCKET/SO_ERROR.
NFS and other kernel code still use old synchronized pru_connect. This commit only affects connect(2) syscall.
Sysctl node kern.ipc.soconnect_async is added to enable and disable asynchronous pru_connect. It is enabled by default.
The performance measurement (i7-2600 w/ bnx(4)), using tools/tools/netrate/accept_connect/kq_connect_client:
kq_connect_client -4 SERVADDR -p SERVPORT -i 8 -c 32 -l 30 (8 processes, each creates 32 connections simultaniously, run 30 secs)
16 runs average:
asynchronous pru_connect synchronized pru_connect 220979.89 conns/s 189106.88 conns/s
This commit gives ~16% performance improvement for nonblocking connect(2)
show more ...
|
Revision tags: v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3 |
|
#
ed20d0e3 |
| 21-Apr-2012 |
Sascha Wildner <saw@online.de> |
kernel: Remove newlines from the panic messages that have one.
panic() itself will add a newline.
|
Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
fc025606 |
| 10-Dec-2011 |
Sascha Wildner <saw@online.de> |
kernel/netgraph7: Replace usage of MALLOC/FREE with kmalloc/kfree here too.
Requested-by: Nuno Antunes
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1 |
|
#
99dd49c5 |
| 15-Apr-2009 |
Sascha Wildner <saw@online.de> |
Fix the way <sys/ioccom.h> is included throughout our tree.
The original intention was to include it only in header files which define ioctl codes and not in .c or .h files which include headers tha
Fix the way <sys/ioccom.h> is included throughout our tree.
The original intention was to include it only in header files which define ioctl codes and not in .c or .h files which include headers that define ioctl codes.
Adjust the tree to follow this idea.
Pointed-out-by: Guy Harris <guy@alum.mit.edu> Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1334>
show more ...
|
#
2038fb68 |
| 06-Apr-2009 |
Sascha Wildner <saw@online.de> |
Replace all casts of NULL to something with NULL.
|
Revision tags: v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
#
5a975a3d |
| 26-Jun-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Netgraph port from FreeBSD - initial porting work
* Use relative #include's as appropriate so the code doesn't dig into the original netgraph/ directory.
* Move FBSDID's and add DragonFly ids.
*
Netgraph port from FreeBSD - initial porting work
* Use relative #include's as appropriate so the code doesn't dig into the original netgraph/ directory.
* Move FBSDID's and add DragonFly ids.
* Fix improper uses of M_NOWAIT.
* Fix uses of M_NOWAIT which should be MB_DONTWAIT and vise-versa (also forward to Julian).
* Add a dragonfly.h compatibility header.
* NOTE: m_tag_alloc() in DFly takes MB_ flags.
show more ...
|
#
b06ebda0 |
| 26-Jun-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Vendor import of netgraph from FreeBSD-current 20080626
|
#
6cef7136 |
| 10-Sep-2010 |
Matthew Dillon <dillon@apollo.backplane.com> |
network - MP socket free & abort interactions, so_state
* Add so_refs and ref-count the socket structure to deal with MP races on sofree().
* Ref the socket structure for all soabort() operations
network - MP socket free & abort interactions, so_state
* Add so_refs and ref-count the socket structure to deal with MP races on sofree().
* Ref the socket structure for all soabort() operations (they are usually asynchronous). The netmsg_pru_abort() handler will sofree() the ref after calling the protocol stack's abort function.
* Use atomic ops to set and clear bits in so_state, because it is modified by both the fronttend and the backend.
* Remove numerous critical sections that are no longer effective.
* Protect the accept queues with so_rcv.ssb_token.
* Protect after-the-fact calls to soisdisconnected() with a soreference() to avoid use-after-free cases.
* Wrap unix domain, mroute, div, raw, and key sockets/protocols with their own private tokens.
show more ...
|