svn commit: r280321 - head/etc/autofs

2015-03-21 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 21 09:42:37 2015 New Revision: 280321 URL: https://svnweb.freebsd.org/changeset/base/280321 Log: Make the autofs LDAP script cope with server returning entries with ENTRY_ATTRIBUTE (eg cn) after the VALUE_ATTRIBUTE (eg automountInformation), instead of before.

svn commit: r280322 - head/sys/dev/sound/usb

2015-03-21 Thread Hans Petter Selasky
Author: hselasky Date: Sat Mar 21 09:45:45 2015 New Revision: 280322 URL: https://svnweb.freebsd.org/changeset/base/280322 Log: The synchronisation value returned by the so-called feedback endpoint appears to be too inaccurate that it can be used to synchronize the playback data stream. If t

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-21 Thread Bruce Evans
On Sat, 21 Mar 2015, Xin LI wrote: Log: Disable timestamping on devfs read/write operations by default. Currently we update timestamps unconditionally when doing read or write operations. This may slow things down on hardware where reading timestamps is expensive (e.g. HPET, because of the

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Bruce Evans
On Sat, 21 Mar 2015, Konstantin Belousov wrote: On Sat, Mar 21, 2015 at 09:42:51AM +1100, Bruce Evans wrote: On Fri, 20 Mar 2015, Konstantin Belousov wrote: On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20 10:27:06 2015 New Revision: 280279 URL: http

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-21 Thread Kubilay Kocak
On 21/03/2015 12:14 PM, Xin LI wrote: > Author: delphij > Date: Sat Mar 21 01:14:11 2015 > New Revision: 280308 > URL: https://svnweb.freebsd.org/changeset/base/280308 > > Log: > Disable timestamping on devfs read/write operations by default. > > Currently we update timestamps unconditional

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 09:33:22PM +1100, Bruce Evans wrote: > On Sat, 21 Mar 2015, Konstantin Belousov wrote: > How does the unconditional use of popcntq (in inline asm that is called > from amd64 pmap) even work? It is not unconditional. The pmap code does the following: if ((cp

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 11:00:09PM +1100, Kubilay Kocak wrote: > On 21/03/2015 12:14 PM, Xin LI wrote: > > Author: delphij > > Date: Sat Mar 21 01:14:11 2015 > > New Revision: 280308 > > URL: https://svnweb.freebsd.org/changeset/base/280308 > > > > Log: > > Disable timestamping on devfs read/wri

svn commit: r280323 - head/sys/kern

2015-03-21 Thread Konstantin Belousov
Author: kib Date: Sat Mar 21 15:01:19 2015 New Revision: 280323 URL: https://svnweb.freebsd.org/changeset/base/280323 Log: Somewhat modernize the SysV shm code: - Use real locking, replace Giant with global sx protecting the subsystem. Since the subsystem' lock is no longer dropped during

svn commit: r280324 - head/sys/arm/arm

2015-03-21 Thread Olivier Houchard
Author: cognet Date: Sat Mar 21 15:32:59 2015 New Revision: 280324 URL: https://svnweb.freebsd.org/changeset/base/280324 Log: When waiting on PTE allocation, another thread could free the l2_dtable while we're not looking at it. Fix this by increasing l2->l2_occupancy before we try to alloc

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread John Baldwin
On 3/20/15 9:02 AM, Konstantin Belousov wrote: > On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: >> Author: jhb >> Date: Fri Mar 20 10:27:06 2015 >> New Revision: 280279 >> URL: https://svnweb.freebsd.org/changeset/base/280279 >> >> Log: >> Expand the bitcount* API to support 64-bit

svn commit: r280325 - head/sys/kern

2015-03-21 Thread Olivier Houchard
Author: cognet Date: Sat Mar 21 16:16:17 2015 New Revision: 280325 URL: https://svnweb.freebsd.org/changeset/base/280325 Log: error is only used if MAC is defined, so make its declaration conditional as well. Modified: head/sys/kern/sysv_shm.c Modified: head/sys/kern/sysv_shm.c ===

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 12:04:41PM -0400, John Baldwin wrote: > On 3/20/15 9:02 AM, Konstantin Belousov wrote: > > On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: > >> Author: jhb > >> Date: Fri Mar 20 10:27:06 2015 > >> New Revision: 280279 > >> URL: https://svnweb.freebsd.org/change

svn commit: r280326 - head

2015-03-21 Thread Warner Losh
Author: imp Date: Sat Mar 21 16:54:01 2015 New Revision: 280326 URL: https://svnweb.freebsd.org/changeset/base/280326 Log: Make TARGET_ARCH=powerpc64 work without TARGET=powerpc. Modified: head/Makefile Modified: head/Makefile =

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread John Baldwin
On 3/21/15 12:35 PM, Konstantin Belousov wrote: > On Sat, Mar 21, 2015 at 12:04:41PM -0400, John Baldwin wrote: >> On 3/20/15 9:02 AM, Konstantin Belousov wrote: >>> On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20 10:27:06 2015 New Revision:

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

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 04:16:18PM +, Olivier Houchard wrote: > Author: cognet > Date: Sat Mar 21 16:16:17 2015 > New Revision: 280325 > URL: https://svnweb.freebsd.org/changeset/base/280325 > > Log: > error is only used if MAC is defined, so make its declaration conditional > as well. Th

svn commit: r280327 - in head/sys: kern vm

2015-03-21 Thread Alan Cox
Author: alc Date: Sat Mar 21 17:56:55 2015 New Revision: 280327 URL: https://svnweb.freebsd.org/changeset/base/280327 Log: Introduce vm_object_color() and use it in mmap(2) to set the color of named objects to zero before the virtual address is selected. Previously, the color setting was de

svn commit: r280328 - head/share/mk

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 19:13:13 2015 New Revision: 280328 URL: https://svnweb.freebsd.org/changeset/base/280328 Log: Correctly pass the -mllvm -enable-gvn=false flag in CLANG_OPT_SMALL (this has to be passed as a combination of two flags). Should fix the case where the clang version i

svn commit: r280330 - head/sys/kern

2015-03-21 Thread Mateusz Guzik
Author: mjg Date: Sat Mar 21 20:24:03 2015 New Revision: 280330 URL: https://svnweb.freebsd.org/changeset/base/280330 Log: fork: assign refed credentials earlier Prior to this change the kernel would take p1's credentials and assign them tempororarily to p2. But p1 could change credential

svn commit: r280331 - in head/sys: kern sys

2015-03-21 Thread Mateusz Guzik
Author: mjg Date: Sat Mar 21 20:24:54 2015 New Revision: 280331 URL: https://svnweb.freebsd.org/changeset/base/280331 Log: cred: add proc_set_cred_init helper proc_set_cred_init can be used to set first credentials of a new process. Update proc_set_cred assertions so that it only exp

svn commit: r280332 - head/sys/kern

2015-03-21 Thread Mateusz Guzik
Author: mjg Date: Sat Mar 21 20:25:34 2015 New Revision: 280332 URL: https://svnweb.freebsd.org/changeset/base/280332 Log: proc: use MTX_NEW flag in proc_init This allows us to get rid of bzero which was added specifically to make mtx_init on p_mtx reliable. This also fixes a potenti

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

2015-03-21 Thread Mark Linimon
On Sat, Mar 21, 2015 at 03:01:20PM +, Konstantin Belousov wrote: > Somewhat modernize the SysV shm code: Interesting. Is my understanding correct that postgres still uses shm? If so, has someone benchmarked the speedup? mcl ___ svn-src-head@free

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

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 04:03:41PM -0500, Mark Linimon wrote: > On Sat, Mar 21, 2015 at 03:01:20PM +, Konstantin Belousov wrote: > > Somewhat modernize the SysV shm code: > > Interesting. > > Is my understanding correct that postgres still uses shm? If so, > has someone benchmarked the spe

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

2015-03-21 Thread Dmitry Morozovsky
On Sat, 21 Mar 2015, Konstantin Belousov wrote: > > > Somewhat modernize the SysV shm code: > > > > Interesting. > > > > Is my understanding correct that postgres still uses shm? If so, > > has someone benchmarked the speedup? > > Yes, some versions of Postgres still use SysV shm. To be c

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

2015-03-21 Thread Konstantin Belousov
On Sun, Mar 22, 2015 at 12:16:22AM +0300, Dmitry Morozovsky wrote: > On Sat, 21 Mar 2015, Konstantin Belousov wrote: > > > > > Somewhat modernize the SysV shm code: > > > > > > Interesting. > > > > > > Is my understanding correct that postgres still uses shm? If so, > > > has someone benchmar

svn commit: r280333 - head/contrib/compiler-rt/lib/builtins

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 21:49:25 2015 New Revision: 280333 URL: https://svnweb.freebsd.org/changeset/base/280333 Log: Pull in r231972 from upstream compiler-rt trunk (by Jörg Sonnenberger): Always include stddef.h to make sure size_t exists. From Alexander Esilevich. Req

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Bruce Evans
On Sat, 21 Mar 2015, John Baldwin wrote: On 3/21/15 12:35 PM, Konstantin Belousov wrote: On Sat, Mar 21, 2015 at 12:04:41PM -0400, John Baldwin wrote: On 3/20/15 9:02 AM, Konstantin Belousov wrote: On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20 10:

svn commit: r280334 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 23:12:46 2015 New Revision: 280334 URL: https://svnweb.freebsd.org/changeset/base/280334 Log: Quieten some of the log spam from AR9300 sysctl tree walk and chip setup/reset path. * For now there's no exposed control over classic / LNA antenna diversity,

svn commit: r280335 - head/sys/mips/conf

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 23:39:34 2015 New Revision: 280335 URL: https://svnweb.freebsd.org/changeset/base/280335 Log: re-enable building modules for the AR933x * add ipfw * delete ath / ath_ahb for now, until I can have Warner beat me with the clue stick about putting in condi

svn commit: r280336 - head/usr.bin/logger

2015-03-21 Thread Warren Block
Author: wblock (doc committer) Date: Sun Mar 22 01:25:57 2015 New Revision: 280336 URL: https://svnweb.freebsd.org/changeset/base/280336 Log: Describe the behavior when both -f and a message are given. Pointed out by Raphael Abreu on freebsd-doc. MFC after:1 week Modified: head/u

svn commit: r280337 - head/sys/mips/conf

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sun Mar 22 02:15:09 2015 New Revision: 280337 URL: https://svnweb.freebsd.org/changeset/base/280337 Log: Add initial D-Link DIR-655 (A1) support. This is based on the AP135 design - QCA9558 SoC, 3x3 2GHz wifi, but no 5GHz (11n or 11ac) chip is available. It howev