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 |
|
#
e535ebfa |
| 21-Jan-2018 |
zrj <rimvydas.jasinskas@gmail.com> |
netgraph: Disable unused structs.
This needs recheck.
While there, document that musycc and if_mn requires netgraph and are not compatible with netgraph7.
|
Revision tags: 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, 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, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, 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, 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 |
|
#
8d7fe9c2 |
| 20-Apr-2012 |
Nuno Antunes <nuno.antunes@gmail.com> |
netgraph: do not unconditionally load ng_ksocket module
Unconditionally loading ng_ksocket module was preventing correct operation when compiling netgraph into the kernel (i.e. when not compiled as
netgraph: do not unconditionally load ng_ksocket module
Unconditionally loading ng_ksocket module was preventing correct operation when compiling netgraph into the kernel (i.e. when not compiled as a module).
show more ...
|
Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
884717e1 |
| 06-Dec-2011 |
Sascha Wildner <saw@online.de> |
kernel: Replace all usage of MALLOC()/FREE() with kmalloc()/kfree().
|
#
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 |
|
#
09c280ec |
| 08-Sep-2009 |
Simon Schubert <corecode@dragonflybsd.org> |
modules: add/correct module versions and depends
|
#
1c0e3286 |
| 03-Sep-2009 |
Simon Schubert <corecode@dragonflybsd.org> |
modules: pull in most of FreeBSD's module linker changes
The big user-visible difference is that the module dependency system changed. Module dependencies are now the same as for the loader, and th
modules: pull in most of FreeBSD's module linker changes
The big user-visible difference is that the module dependency system changed. Module dependencies are now the same as for the loader, and the hack linker (and Makefile) magic is not needed anymore.
Obtained-from: FreeBSD
show more ...
|
#
b8fb634a |
| 04-Aug-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel module loader - fix load dependencies from preload modules by kernel
The boot loader is supposed to load module dependencies but it misses a few when e.g. 'snd_hda' is specified in loader.con
kernel module loader - fix load dependencies from preload modules by kernel
The boot loader is supposed to load module dependencies but it misses a few when e.g. 'snd_hda' is specified in loader.conf. This resulted in the kernel itself trying to load the missing dependencies, but the kernel was running the sysinits for those dependencies immediately during the preload stage instead of registering them.
Pass a flag to the loader chain to register the sysinits instead of running them if a dependency is loaded during the preload stage. This fixes the problem. And also, by the way, the loader does not need to load dependencies any more (though it still does).
Reported-by: corecode, swildner
show more ...
|
Revision tags: v2.3.2, v2.3.1, v2.2.1 |
|
#
f92bfd8c |
| 20-Mar-2009 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
netisr: Add pktinfo struct; add new netisr method to find msgport using pktinfo
The new netisr method, ni_mport_pktinfo, returns NULL if the passed in pktinfo does not contain enough information to
netisr: Add pktinfo struct; add new netisr method to find msgport using pktinfo
The new netisr method, ni_mport_pktinfo, returns NULL if the passed in pktinfo does not contain enough information to determine the msgport.
show more ...
|
Revision tags: v2.2.0, v2.3.0, v2.1.1 |
|
#
95af0087 |
| 24-Sep-2008 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
Add NETISR_FLAG_NOTMPSAFE, which could be used as the last parameter to netisr_register(), more expressive and less error-prone than 0.
Suggested-by: hsu@
|
#
92db3805 |
| 23-Sep-2008 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
Add following three network protocol threads running mode: 1) BGL (default) 2) Adaptive BGL. Protocol threads run without BGL by default. BGL will be held if the received msg does not have MSGF_
Add following three network protocol threads running mode: 1) BGL (default) 2) Adaptive BGL. Protocol threads run without BGL by default. BGL will be held if the received msg does not have MSGF_MPSAFE turned on the ms_flags field 3) No BGL (experimental)
The code on the main path is done by dillon@
Following three sysctls and tunables are added to adjust the "mode": net.netisr.mpsafe_thread net.inet.tcp.mpsafe_thread net.inet.udp.mpsafe_thread
They have same set of values, 0 (default) -- BGL 1 -- Adaptive BGL 2 -- No BGL
NETISR_FLAG_MPSAFE is added (netisr.ni_flags), so that: - netisr_queue() and schednetisr() could set MSGF_MPSAFE during msg initialization - netisr_run() (called by ether_input_oncpu()) could hold BGL based on this flag before calling netisr's handler
PR_MPSAFE is added (protosw.pr_flags), so that tranport_processing_oncpu() could hold BGL before calling protocol's input handler
Kernel API changes: - The thread parameter to netmsg_service_loop() must be supplied (running mode) and it must have the type of "int *" - netisr_register() takes additional flags parameter to indicate whether its handler is MPSAFE (NETISR_FLAG_MPSAFE) or not
Reviewed-by: dillon@
show more ...
|
Revision tags: v2.0.1 |
|
#
e7b4468c |
| 05-Jan-2008 |
Sascha Wildner <swildner@dragonflybsd.org> |
For kmalloc(), MALLOC() and contigmalloc(), use M_ZERO instead of explicitly bzero()ing.
Reviewed-by: sephe
|
#
f15ba1a8 |
| 03-Jun-2007 |
Matthew Dillon <dillon@dragonflybsd.org> |
Catch up a bit with FreeBSD netgraph by replacing *LEN constants with *SIZ constants which already account space for trailing '\0's.
Submitted-by: "Nuno Antunes" <nuno.antunes@gmail.com> Obtained fr
Catch up a bit with FreeBSD netgraph by replacing *LEN constants with *SIZ constants which already account space for trailing '\0's.
Submitted-by: "Nuno Antunes" <nuno.antunes@gmail.com> Obtained from: FreeBSD (sorta).
show more ...
|
#
4599cf19 |
| 23-May-2007 |
Matthew Dillon <dillon@dragonflybsd.org> |
* Greatly reduce the complexity of the LWKT messaging and port abstraction. Significantly reduce the overhead of the subsystem.
* The message abort algorithm has been rewritten. It now sends a
* Greatly reduce the complexity of the LWKT messaging and port abstraction. Significantly reduce the overhead of the subsystem.
* The message abort algorithm has been rewritten. It now sends a separate message to issue the abort instead of trying to requeue the original message. This also means the TAILQ embedded in the lwkt_msg structure can be used by unrelated code during processing of the message.
* Numerous MSGF_ flags have been removed, and all the LWKT msg/port algorithms have been rewritten and simplified. The message structure is now only touched by the current owner in all situations.
* Numerous structural fields have been removed. In particular, the fields used for message abort sequencing have been simplified and we do not try to embed a 'command' field in the base LWKT message any more.
* Clean up the netmsg abstraction, which is used all over the network stack. Instead of trying to overload fields in lwkt_msg we now simply extend the base lwkt_msg into struct netmsg. The function dispatch now takes a netmsg and returns void (before we had to return EASYNC), and we no longer need weird casts.
Accept/connect message aborts are now greatly simplified.
show more ...
|
#
4b1cf444 |
| 22-Dec-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
Rename printf -> kprintf in sys/ and add some defines where necessary (files which are used in userland, too).
|
#
f8c7a42d |
| 20-Dec-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Rename sprintf -> ksprintf Rename snprintf -> knsprintf
Make allowances for source files that are compiled for both userland and the kernel.
|
#
2682b36e |
| 06-Jun-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Some netisr's are just used to wakeup a driver via schednetisr(). The netmsg's sent to these ISR's must be replied whereas the netmsg's sent to packet-handling ISRs must not be replied because the n
Some netisr's are just used to wakeup a driver via schednetisr(). The netmsg's sent to these ISR's must be replied whereas the netmsg's sent to packet-handling ISRs must not be replied because the netmsg is embedded in the mbuf).
In the case of notifications via schednetisr(), we reply the message before we run the queue in order to interlock the wakeup message with the queue. Otherwise we could end up with a race that leaves packets in the queue without a wakeup to process them.
Reported-by: Stefan Krueger <skrueger@meinberlikomm.de> Investigated-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
show more ...
|
#
70aac194 |
| 01-Jun-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Use the MP friendly objcache instead of zalloc to allocate temporary MAXPATHLEN space.
|
#
6aad077d |
| 20-May-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Embed the netmsg in the mbuf itself rather than allocating one for each received packet. This greatly reduces the overhead in the network receive path (removing a malloc() and free()).
|
#
191cd68c |
| 04-Sep-2005 |
YONETANI Tomokazu <y0netan1@dragonflybsd.org> |
Avoid panic by not using linker_* API in the early stage of boot process, during which namei_zone is not initialized yet but linker_* API relies on it indirectly by calling nlookup_init().
|
#
d75e028f |
| 30-Aug-2005 |
YONETANI Tomokazu <y0netan1@dragonflybsd.org> |
Forced commit to note that the review and the suggestion for the previous commit was done by Hiten Pandya(hmp@) and not someone named hiten@ .
|
#
d8fef73e |
| 30-Aug-2005 |
YONETANI Tomokazu <y0netan1@dragonflybsd.org> |
Workaround the panic, triggered by the netgraph attempting to load a missing module from within the socket dispatch thread, by:
- not trying to load a netgraph module when you can't.
- preloading n
Workaround the panic, triggered by the netgraph attempting to load a missing module from within the socket dispatch thread, by:
- not trying to load a netgraph module when you can't.
- preloading ng_ksocket.ko(if missing) from the module handler where you're guaranteed to have the process context needed by the linker_* functions. This makes us sure at least that the basic netgraph operations will work without messing with loading a kernel module on the fly (suggested by: hiten@).
Reviewed-by: hiten@
show more ...
|
#
41e90fed |
| 02-Jun-2005 |
Sascha Wildner <swildner@dragonflybsd.org> |
Remove spl*() calls in netgraph and replace them with critical sections.
|
#
5e2195bf |
| 17-Feb-2005 |
Joerg Sonnenberger <joerg@dragonflybsd.org> |
GCC supports two pseudo variables to get the function name, __FUNCTION__ and __func__. The latter is C99, prefer that.
|
#
b76bed62 |
| 21-Apr-2004 |
Matthew Dillon <dillon@dragonflybsd.org> |
Fix a netmsg memory leak in the ARP code. Adjust all ms_cmd function dispatches to return a proper error code.
Reported-by: multiple people
|
#
38c37c8c |
| 11-Apr-2004 |
Jeffrey Hsu <hsu@dragonflybsd.org> |
Silence warning about missing prototype.
Reported by: Pete Carah <pete@altadena.net>
|