]]>
mdocml: Switch to using the files in contrib/mdocmlSascha Wildner <saw@online.de>Mon, 7 Mar 2011 05:21:41 +0000http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/5ca403ee444f707fcaf672b2786f4da85ad751b3http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/5ca403ee444f707fcaf672b2786f4da85ad751b3
mdocml: Switch to using the files in contrib/mdocml
mdocml: Switch to using the files in contrib/mdocml

]]>
kernel - Make sure thread is released before migratingMatthew Dillon <dillon@apollo.backplane.com>Sun, 6 Mar 2011 18:24:49 +0000http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/95858b9186e25a62d68c58e909b9fe7f50ee81d7http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/95858b9186e25a62d68c58e909b9fe7f50ee81d7
kernel - Make sure thread is released before migrating
kernel - Make sure thread is released before migrating
* Make sure the current thread is in a released state before migrating it
to another cpu. Doing the release inside the lwkt_switch(), after we
send the IPI, can result in a livelock.
Reported-by: Peter Avalos <peter@theshell.com>

]]>
Revert "<float.h>: Use compiler builtins for some constants, if they are available."Sascha Wildner <saw@online.de>Sun, 6 Mar 2011 12:24:32 +0000http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/2e2a1cf79437aa99c731a36585fe98887a5c0bf0http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/2e2a1cf79437aa99c731a36585fe98887a5c0bf0
Revert "<float.h>: Use compiler builtins for some constants, if they are available."
Revert "<float.h>: Use compiler builtins for some constants, if they are available."
This reverts commit 7a0a994307056aae0718f7c17fa081f57d19f2c1.
It does more harm than it fixes and needs more investigation.
For now, lower WARNS in xlint/lint1 to 0.
Reported-by: vsrinivas

]]>
kernel - Fix a few MP races against process statusMatthew Dillon <dillon@apollo.backplane.com>Sun, 6 Mar 2011 00:05:20 +0000http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/0d78b86e0a2315042ff35cf013868289cb1c7acfhttp://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/0d78b86e0a2315042ff35cf013868289cb1c7acf
kernel - Fix a few MP races against process status
kernel - Fix a few MP races against process status
* proc->p_token is required when traversing p->p_lwp_tree.
* Reorder lwp insertion on lwp_fork() so scan races see a whole lwp
instead of a partially initialized one.
* Check for NULL p->p_pgrp and friends when only using proc_token to
scan the process list to deal with new processes that are still in the
middle of being fork()'d.
Reported-by: Peter Avalos <peter@theshell.com>,
Antonio Huete Jimenez <tuxillo@crater.dragonflybsd.org>

]]>
ps - Handle unexpected output order when sorting by memory or cpuMatthew Dillon <dillon@apollo.backplane.com>Sat, 5 Mar 2011 22:44:22 +0000http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/7c75e4b97eedf419709b08e4d037ee1526bffe45http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/7c75e4b97eedf419709b08e4d037ee1526bffe45
ps - Handle unexpected output order when sorting by memory or cpu
ps - Handle unexpected output order when sorting by memory or cpu
* When sorting by memory or cpu, including when using 'u' as in 'ps aux',
if the primary sort critera is an exact match fall back to the default
sort critera (tty and then pid).
Reported-by: swildner

]]>
kernel - Major bridging functionality added (bug fixes 2)Matthew Dillon <dillon@apollo.backplane.com>Sat, 5 Mar 2011 22:27:13 +0000http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/9b42fdc95445ec2e9e96793c59748227f691e6d2http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commitdiff/9b42fdc95445ec2e9e96793c59748227f691e6d2
kernel - Major bridging functionality added (bug fixes 2)
kernel - Major bridging functionality added (bug fixes 2)
* Recalculate the port configuration after enabling a member interface,
fixing an issue where openvpn brings up a TAP interface after
authenticating the link but whos weights then go unrecognized by the
bridge.
The port configuration was already being recalculated after a member
interface becomes disabled.
* Reinitialize the bridge when the link0, link1, and/or link2 interface
flag changes state, so the sysop doesn't have to bring the interface
down and up manually to recognize the new settings.