Re: svn commit: r239187 - head/sys/kern

2012-08-11 Thread Bruce Evans
On Sat, 11 Aug 2012, David Xu wrote: Log: tvtohz will print out an error message if a negative value is given to it, avoid this problem by detecting timeout earlier. Reported by: pho It's interesting that anyone noticed that. In my version, the printf under DIAGNOSTIC (with

Re: svn commit: r239187 - head/sys/kern

2012-08-11 Thread Bruce Evans
On Sat, 11 Aug 2012, Bruce Evans wrote: On Sat, 11 Aug 2012, David Xu wrote: ... for (;;) { if (!(uq-uq_flags UQF_UMTXQ)) return (0); - error = msleep(uq, uc-uc_lock, PCATCH, wmesg, - timo == NULL ? 0 :

svn commit: r239192 - head/lib/msun/src

2012-08-11 Thread Dimitry Andric
Author: dim Date: Sat Aug 11 11:13:48 2012 New Revision: 239192 URL: http://svn.freebsd.org/changeset/base/239192 Log: Change a few extern inline functions in libm to static inline, since they need to refer to static constants, which C99 does not allow for extern inline functions.

svn commit: r239193 - head/lib/libc/gen

2012-08-11 Thread Ed Schouten
Author: ed Date: Sat Aug 11 12:07:24 2012 New Revision: 239193 URL: http://svn.freebsd.org/changeset/base/239193 Log: Rename aux.c to auxv.c. On Windows, AUX is the auxiliary device, usually pointing to COM1. Therefore it is forbidden to create a file named aux.c. To make it a bit

Re: svn commit: r239193 - head/lib/libc/gen

2012-08-11 Thread Bryan Drewery
On 8/11/2012 7:07 AM, Ed Schouten wrote: Author: ed Date: Sat Aug 11 12:07:24 2012 New Revision: 239193 URL: http://svn.freebsd.org/changeset/base/239193 Log: Rename aux.c to auxv.c. On Windows, AUX is the auxiliary device, usually pointing to COM1. Therefore it is forbidden to

Re: svn commit: r239193 - head/lib/libc/gen

2012-08-11 Thread Ian Lepore
On Sat, 2012-08-11 at 09:30 -0500, Bryan Drewery wrote: On 8/11/2012 7:07 AM, Ed Schouten wrote: Author: ed Date: Sat Aug 11 12:07:24 2012 New Revision: 239193 URL: http://svn.freebsd.org/changeset/base/239193 Log: Rename aux.c to auxv.c. On Windows, AUX is the auxiliary

svn commit: r239194 - head/sys/kern

2012-08-11 Thread Alexander Motin
Author: mav Date: Sat Aug 11 15:08:19 2012 New Revision: 239194 URL: http://svn.freebsd.org/changeset/base/239194 Log: Allow idle threads to steal second threads from other cores on systems with 8 or more cores to improve utilization. None of my tests on 2xXeon (2x6x2) system shown any

Re: svn commit: r239193 - head/lib/libc/gen

2012-08-11 Thread Ryan Stone
On Sat, Aug 11, 2012 at 8:07 AM, Ed Schouten e...@freebsd.org wrote: On Windows, AUX is the auxiliary device, usually pointing to COM1. Therefore it is forbidden to create a file named aux.c. To make it a bit easier for Windows users to check out our source code, rename this file to

Re: svn commit: r239066 - head/sys/boot/i386/libi386

2012-08-11 Thread Dimitry Andric
On 2012-08-05 16:37, Andrey V. Elsukov wrote: Author: ae Date: Sun Aug 5 14:37:48 2012 New Revision: 239066 URL: http://svn.freebsd.org/changeset/base/239066 Log: Add offset field to the i386_devdesc structure to be compatible with disk_devdesc structure. Update biosdisk driver to the

svn commit: r239195 - head/lib/msun/src

2012-08-11 Thread Dimitry Andric
Author: dim Date: Sat Aug 11 15:47:22 2012 New Revision: 239195 URL: http://svn.freebsd.org/changeset/base/239195 Log: Add __always_inline to __ieee754_rem_pio2() and __ieee754_rem_pio2f(), since some older versions of gcc refuse to inline these otherwise. Requested by: bde MFC after:

svn commit: r239196 - head/sys/kern

2012-08-11 Thread Alexander Motin
Author: mav Date: Sat Aug 11 20:24:39 2012 New Revision: 239196 URL: http://svn.freebsd.org/changeset/base/239196 Log: Some more minor tunings inspired by bde@. Modified: head/sys/kern/sched_4bsd.c head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_4bsd.c

svn commit: r239197 - head/sys/dev/ath

2012-08-11 Thread Adrian Chadd
Author: adrian Date: Sat Aug 11 22:20:28 2012 New Revision: 239197 URL: http://svn.freebsd.org/changeset/base/239197 Log: Begin fleshing out the TX FIFO support. * Add ATH_TXQ_FIRST() for easy tasting of what's on the list; * Add an axq_fifo_depth for easy tracking of how deep the

svn commit: r239198 - head/sys/dev/ath

2012-08-11 Thread Adrian Chadd
Author: adrian Date: Sat Aug 11 22:25:28 2012 New Revision: 239198 URL: http://svn.freebsd.org/changeset/base/239198 Log: Add the AR9300 HAL ID in to the 11n check routine. I was having TX hang issues, which I root caused to having the legacy ath_hal_setupxtxdesc() called, rather than

svn commit: r239199 - head/sys/dev/ath

2012-08-11 Thread Adrian Chadd
Author: adrian Date: Sat Aug 11 22:39:27 2012 New Revision: 239199 URL: http://svn.freebsd.org/changeset/base/239199 Log: Add the AR9380 HAL to the TX descriptor debugging, in order to dump all of the descriptor contents. Modified: head/sys/dev/ath/if_ath_debug.c Modified:

svn commit: r239200 - head/lib/libthr/thread

2012-08-11 Thread David Xu
Author: davidxu Date: Sat Aug 11 23:17:02 2012 New Revision: 239200 URL: http://svn.freebsd.org/changeset/base/239200 Log: MFp4: Further decreases unexpected context switches by defering mutex wakeup until internal sleep queue lock is released. Modified: head/lib/libthr/thread/thr_cond.c

svn commit: r239201 - head/sys/dev/ath

2012-08-11 Thread Adrian Chadd
Author: adrian Date: Sat Aug 11 23:26:19 2012 New Revision: 239201 URL: http://svn.freebsd.org/changeset/base/239201 Log: Extend the beacon code slightly to support AP mode beaconing for the EDMA HAL hardware. * The EDMA HAL code assumes the nexttbtt and intval values are in TU/8

svn commit: r239202 - head/sys/kern

2012-08-11 Thread David Xu
Author: davidxu Date: Sat Aug 11 23:48:39 2012 New Revision: 239202 URL: http://svn.freebsd.org/changeset/base/239202 Log: Some style fixes inspired by @bde. Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c

svn commit: r239204 - head/sys/dev/ath

2012-08-11 Thread Adrian Chadd
Author: adrian Date: Sun Aug 12 00:37:29 2012 New Revision: 239204 URL: http://svn.freebsd.org/changeset/base/239204 Log: Break out ath_draintxq() into a method and un-methodize ath_tx_processq(). Now that I understand what's going on with this, I've realised that it's going to be quite

svn commit: r239205 - head/sys/dev/ath

2012-08-11 Thread Adrian Chadd
Author: adrian Date: Sun Aug 12 00:46:15 2012 New Revision: 239205 URL: http://svn.freebsd.org/changeset/base/239205 Log: Revert the ath_tx_draintxq() method, and instead teach it the minimum necessary to do EDMA. It was just using the TX completion status for logging information about

svn commit: r239206 - head/lib/libthr/thread

2012-08-11 Thread David Xu
Author: davidxu Date: Sun Aug 12 00:56:56 2012 New Revision: 239206 URL: http://svn.freebsd.org/changeset/base/239206 Log: Do defered mutex wakeup once. Modified: head/lib/libthr/thread/thr_cond.c Modified: head/lib/libthr/thread/thr_cond.c