svn commit: r227783 - in head/sys/mips/nlm: . hal

2011-11-21 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 21 08:12:36 2011 New Revision: 227783 URL: http://svn.freebsd.org/changeset/base/227783 Log: Merge XLP 3XX updates and related rework. * Update message station (CMS) code, read queue ids from PCI header. * Use interrupts to wakeup message handling threads on

Re: svn commit: r227778 - head/sys/net

2011-11-21 Thread Lawrence Stewart
On 11/21/11 18:28, Lawrence Stewart wrote: On 11/21/11 17:18, Julien Ridoux wrote: On 21/11/2011, at 4:39 PM, Lawrence Stewart wrote: On 11/21/11 16:12, Ben Kaduk wrote: [snip] Is it really necessary to make the ABI dependent on a kernel configuration option? This causes all sorts of headac

Re: svn commit: r227473 - head/sbin/geom/class/multipath

2011-11-21 Thread Bruce Evans
On Sun, 13 Nov 2011 m...@freebsd.org wrote: On Sun, Nov 13, 2011 at 2:46 PM, Garrett Cooper wrote: On Sun, Nov 13, 2011 at 2:08 PM, Pawel Jakub Dawidek wrote: On Sat, Nov 12, 2011 at 12:16:23PM -0800, Garrett Cooper wrote: On Sat, Nov 12, 2011 at 12:01 PM, Alexander Motin wrote: Author: m

Re: svn commit: r227778 - head/sys/net

2011-11-21 Thread Julien Ridoux
On 21/11/2011, at 7:28 PM, Lawrence Stewart wrote: > On 11/21/11 18:28, Lawrence Stewart wrote: >> On 11/21/11 17:18, Julien Ridoux wrote: >>> >>> On 21/11/2011, at 4:39 PM, Lawrence Stewart wrote: >>> On 11/21/11 16:12, Ben Kaduk wrote: > [snip] > Is it really necessary to make the AB

svn commit: r227784 - head/sys/kern

2011-11-21 Thread Sergey Kandaurov
Author: pluknet Date: Mon Nov 21 10:36:57 2011 New Revision: 227784 URL: http://svn.freebsd.org/changeset/base/227784 Log: Use the acquired reference to the vmspace instead of direct dereferencing of p->p_vmspace like it is done in sysctl_kern_proc_vmmap(). Modified: head/sys/kern/kern_proc

Re: svn commit: r227778 - head/sys/net

2011-11-21 Thread Lawrence Stewart
On 11/21/11 20:52, Julien Ridoux wrote: On 21/11/2011, at 7:28 PM, Lawrence Stewart wrote: On 11/21/11 18:28, Lawrence Stewart wrote: On 11/21/11 17:18, Julien Ridoux wrote: On 21/11/2011, at 4:39 PM, Lawrence Stewart wrote: On 11/21/11 16:12, Ben Kaduk wrote: [snip] Is it really necess

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

2011-11-21 Thread Kostik Belousov
On Mon, Nov 21, 2011 at 10:36:57AM +, Sergey Kandaurov wrote: > Author: pluknet > Date: Mon Nov 21 10:36:57 2011 > New Revision: 227784 > URL: http://svn.freebsd.org/changeset/base/227784 > > Log: > Use the acquired reference to the vmspace instead of direct dereferencing > of p->p_vmspace

svn commit: r227785 - head/sys/netinet

2011-11-21 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 21 12:07:18 2011 New Revision: 227785 URL: http://svn.freebsd.org/changeset/base/227785 Log: - Reduce severity for all ARP events, that can be triggered from remote machine to LOG_NOTICE. Exception left to "using my IP address". - Fix multicast ARP warning: ad

svn commit: r227786 - head/sys/kern

2011-11-21 Thread Sergey Kandaurov
Author: pluknet Date: Mon Nov 21 12:21:00 2011 New Revision: 227786 URL: http://svn.freebsd.org/changeset/base/227786 Log: Remove no more relevant XXXRW comments since accessing the vmspace is now properly done with the acquired vmspace reference. Pointed out by: kib Modifi

svn commit: r227787 - head/etc

2011-11-21 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 21 12:23:22 2011 New Revision: 227787 URL: http://svn.freebsd.org/changeset/base/227787 Log: Better use pkill(1) in last commit. Submitted by: pjd Modified: head/etc/rc.resume Modified: head/etc/rc.resume

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

2011-11-21 Thread Sergey Kandaurov
On 21 November 2011 14:51, Kostik Belousov wrote: > On Mon, Nov 21, 2011 at 10:36:57AM +, Sergey Kandaurov wrote: >> Author: pluknet >> Date: Mon Nov 21 10:36:57 2011 >> New Revision: 227784 >> URL: http://svn.freebsd.org/changeset/base/227784 >> >> Log: >>   Use the acquired reference to the

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

2011-11-21 Thread Attilio Rao
Author: attilio Date: Mon Nov 21 12:59:52 2011 New Revision: 227788 URL: http://svn.freebsd.org/changeset/base/227788 Log: Introduce the same mutex-wise fix in r227758 for sx locks. The functions that offer file and line specifications are: - sx_assert_ - sx_downgrade_ - sx_slock_ -

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

2011-11-21 Thread Lawrence Stewart
Author: lstewart Date: Mon Nov 21 13:34:29 2011 New Revision: 227789 URL: http://svn.freebsd.org/changeset/base/227789 Log: - Add Pulse-Per-Second timestamping using raw ffcounter and corresponding ffclock time in seconds. - Add IOCTL to retrieve ffclock timestamps from userland. C

svn commit: r227790 - head/sys/netinet

2011-11-21 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 21 13:40:35 2011 New Revision: 227790 URL: http://svn.freebsd.org/changeset/base/227790 Log: Be more informative for "unknown hardware address format" message. Submitted by: Andrzej Tobola Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if

svn commit: r227791 - head/sys/netinet

2011-11-21 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 21 14:10:13 2011 New Revision: 227791 URL: http://svn.freebsd.org/changeset/base/227791 Log: Historically in_control() did not check sockaddrs supplied with structs ifreq/in_aliasreq and there've been several panics due to that problem. All these panics were fix

svn commit: r227792 - head/lib/libc/sys

2011-11-21 Thread Sergey Kandaurov
Author: pluknet Date: Mon Nov 21 14:36:19 2011 New Revision: 227792 URL: http://svn.freebsd.org/changeset/base/227792 Log: Add history for setsockopt(2). PR: docs/162719 Submitted by: Niclas Zeising MFC after:1 week Modified: head/lib/libc/sys/getsockopt.2 Modified: h

svn commit: r227793 - in head/cddl: sbin/zfs sbin/zpool usr.bin/zstreamdump usr.sbin/zdb

2011-11-21 Thread Martin Matuska
Author: mm Date: Mon Nov 21 14:50:17 2011 New Revision: 227793 URL: http://svn.freebsd.org/changeset/base/227793 Log: For now, remove MANFILTER from ZFS manpages (bad effect on html output). MFC after:4 days Modified: head/cddl/sbin/zfs/Makefile head/cddl/sbin/zpool/Makefile head

svn commit: r227794 - in head/cddl/contrib/opensolaris/cmd: zfs zpool

2011-11-21 Thread Martin Matuska
Author: mm Date: Mon Nov 21 15:26:20 2011 New Revision: 227794 URL: http://svn.freebsd.org/changeset/base/227794 Log: Update zfs(8) and zpool(8) manpages from CDDL-licensed sources [1]. Improved alignment for a maximum width of 80 characters. Mark unsupported parts as such. Reported to

svn commit: r227795 - head/cddl/contrib/opensolaris/cmd/zpool

2011-11-21 Thread Martin Matuska
Author: mm Date: Mon Nov 21 15:33:37 2011 New Revision: 227795 URL: http://svn.freebsd.org/changeset/base/227795 Log: Fix mismerge in copyright of zpool(8). MFC after:4 days Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Modified: head/cddl/contrib/opensolaris/cmd/zpool/z

svn commit: r227796 - head/sys/fs/nfsclient

2011-11-21 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 21 16:06:23 2011 New Revision: 227796 URL: http://svn.freebsd.org/changeset/base/227796 Log: Clean up some cruft in the NFSv4 client left over from the OpenBSD port, so that it is more readable. No logic change is made by this commit. MFC after:2 weeks

Re: svn commit: r227701 - in head/sys: arm/xscale/ixp425 dev/ahci dev/ata dev/gpio dev/mvs dev/ppbus dev/ppc dev/siba dev/siis dev/usb kern sys

2011-11-21 Thread John Baldwin
On Saturday, November 19, 2011 5:11:51 am Hans Petter Selasky wrote: > Author: hselasky > Date: Sat Nov 19 10:11:50 2011 > New Revision: 227701 > URL: http://svn.freebsd.org/changeset/base/227701 > > Log: > Move the device_delete_all_children() function from usb_util.c > to kern/subr_bus.c. Si

svn commit: r227797 - head/share/mk

2011-11-21 Thread Dag-Erling Smorgrav
Author: des Date: Mon Nov 21 16:35:57 2011 New Revision: 227797 URL: http://svn.freebsd.org/changeset/base/227797 Log: As threatened on -arch, add {SHARED,STATIC}_{C,CXX}FLAGS, which allow a Makefile to specify different CFLAGS for shared and static libraries. MFC after:3 weeks Modif

svn commit: r227798 - in head: . lib/libpam lib/libpam/modules

2011-11-21 Thread Dag-Erling Smorgrav
Author: des Date: Mon Nov 21 16:40:39 2011 New Revision: 227798 URL: http://svn.freebsd.org/changeset/base/227798 Log: Simplify the libpam build by removing the shared modules' dependency on the shared library. The modules are loaded by the library, so we know it'll be there when we need it

svn commit: r227799 - head/sys/mips/nlm

2011-11-21 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 21 16:43:24 2011 New Revision: 227799 URL: http://svn.freebsd.org/changeset/base/227799 Log: Do dcache flush on CPU core before enabling threads. The dcache flush has to be done using the core control registers before splitting the L1D cache by enabling the

Re: svn commit: r227791 - head/sys/netinet

2011-11-21 Thread Qing Li
Logically speaking the prefix route should not be removed until all of the address related housing keeping tasks have been completed successfully. Putting "in_scrubprefix()" at the top does not gain you anything at all, but can potentially be problematic if additional tasks are in fact performed i

svn commit: r227800 - head/sbin/geom/class/part

2011-11-21 Thread Warren Block
Author: wblock (doc committer) Date: Mon Nov 21 18:04:37 2011 New Revision: 227800 URL: http://svn.freebsd.org/changeset/base/227800 Log: Correct and expand BSD partitioning scheme description. Correct GUID to GPT in RECOVERING section. Reviewed by: ae Approved by: gjb (mentor) MFC

Re: svn commit: r227701 - in head/sys: arm/xscale/ixp425 dev/ahci dev/ata dev/gpio dev/mvs dev/ppbus dev/ppc dev/siba dev/siis dev/usb kern sys

2011-11-21 Thread Marius Strobl
On Mon, Nov 21, 2011 at 11:16:47AM -0500, John Baldwin wrote: > On Saturday, November 19, 2011 5:11:51 am Hans Petter Selasky wrote: > > Author: hselasky > > Date: Sat Nov 19 10:11:50 2011 > > New Revision: 227701 > > URL: http://svn.freebsd.org/changeset/base/227701 > > > > Log: > > Move the de

Re: svn commit: r227791 - head/sys/netinet

2011-11-21 Thread Gleb Smirnoff
Qing, On Mon, Nov 21, 2011 at 08:23:31AM -0800, Qing Li wrote: Q> Logically speaking the prefix route should not be removed until all of the Q> address related housing keeping tasks have been completed successfully. >From my point of view logically speaking, we should first remove route, then r

svn commit: r227801 - head/sys/netinet

2011-11-21 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 21 20:07:12 2011 New Revision: 227801 URL: http://svn.freebsd.org/changeset/base/227801 Log: This check isn't needed now, sanity checking done in the beginning. Missed it in last commit. Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c =

svn commit: r227802 - head/sys/fs/tmpfs

2011-11-21 Thread Xin LI
Author: delphij Date: Mon Nov 21 20:26:22 2011 New Revision: 227802 URL: http://svn.freebsd.org/changeset/base/227802 Log: Improve the way to calculate available pages in tmpfs: - Don't deduct wired pages from total usable counts because it does not make any sense. To make things wor

Re: svn commit: r227802 - head/sys/fs/tmpfs

2011-11-21 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 For the record, in our talk kib@ also suggested that it would be worthwhile to add "reserved" swap pages for tmpfs so that administrators can have guaranteed space for tmpfs as well. This is not implemented in this changeset. Cheers, - -- Xin LI

svn commit: r227803 - in head/cddl/contrib/opensolaris/cmd: zfs zpool

2011-11-21 Thread Martin Matuska
Author: mm Date: Mon Nov 21 20:33:18 2011 New Revision: 227803 URL: http://svn.freebsd.org/changeset/base/227803 Log: Revert back to revision 227649 because of license uncertainity. Manual pages from OpenSolaris svn_134 are still properly CDDL licensed but I have been informed that the pa

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

2011-11-21 Thread Hans Petter Selasky
On Monday 21 November 2011 04:37:02 Bruce Evans wrote: > pause() grew some additional complications that I don't like. Hans > noticed that DELAY(n) overflows for large n on arm. So pause() now > avoids passing large n to DELAY(). Probably no other callers of > DELAY() do this, and no callers of

Re: svn commit: r227791 - head/sys/netinet

2011-11-21 Thread Qing Li
> > From my point of view logically speaking, we should first remove route, > then remove address. Otherwise, for a short time we've got an invalid > route in table. > For a short time you have an invalid address, it is faster to remove the address from the list to prevent usage, then to flush the

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

2011-11-21 Thread Adrian Chadd
Author: adrian Date: Mon Nov 21 21:59:01 2011 New Revision: 227804 URL: http://svn.freebsd.org/changeset/base/227804 Log: Fix some whitespace pollution. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ===

svn commit: r227805 - head/sys/dev/iwn

2011-11-21 Thread Bernhard Schmidt
Author: bschmidt Date: Mon Nov 21 22:19:12 2011 New Revision: 227805 URL: http://svn.freebsd.org/changeset/base/227805 Log: The DC calibration result obtained during initialization can't be passed over to the runtime firmware on 6050 devices. Instead let the runtime firmware do the calibrati

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

2011-11-21 Thread Adrian Chadd
Author: adrian Date: Mon Nov 21 22:57:28 2011 New Revision: 227806 URL: http://svn.freebsd.org/changeset/base/227806 Log: Use the correct lock when calling msleep(). This fixes panics that users have been seeing when operating in station mode, where the interface undergoes a lot more rese

svn commit: r227807 - head/lib/libc/string

2011-11-21 Thread David Chisnall
Author: theraven Date: Mon Nov 21 23:32:14 2011 New Revision: 227807 URL: http://svn.freebsd.org/changeset/base/227807 Log: (Hopefully) Fix the build with clang by removing a typedef that's no longer needed. Approved by: brooks (mentor) Modified: head/lib/libc/string/strcasecmp.c Modi

Re: svn commit: r227369 - head/bin/sh

2011-11-21 Thread Jilles Tjoelker
On Mon, Nov 21, 2011 at 06:29:06PM +1100, Bruce Evans wrote: > On Wed, 9 Nov 2011, Jilles Tjoelker wrote: > > On Wed, Nov 09, 2011 at 09:35:51AM +0100, Stefan Farfeleder wrote: > >> Isn't the behaviour undefined too when you convert an out-of-range > >> uintmax_t value back into an intmax_t value?

svn commit: r227808 - head/lib/libc/string

2011-11-21 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Nov 22 00:07:53 2011 New Revision: 227808 URL: http://svn.freebsd.org/changeset/base/227808 Log: - add check for pointer equality prior to performing the O(n) pass - while here change 's' to 's1' in strcoll Submitted by: eadler@ Reviewed by: t

svn commit: r227809 - head/sys/fs/nfsserver

2011-11-21 Thread Rick Macklem
Author: rmacklem Date: Tue Nov 22 00:35:30 2011 New Revision: 227809 URL: http://svn.freebsd.org/changeset/base/227809 Log: This patch enables the new/default NFS server's use of shared vnode locking for read, readdir, readlink, getattr and access. It is hoped that this will improve server p

svn commit: r227812 - head/lib/libc/string

2011-11-21 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Nov 22 02:50:24 2011 New Revision: 227812 URL: http://svn.freebsd.org/changeset/base/227812 Log: - fix some style(9) nits with my last commit - add a comment explaining why I used '|' instead of '||' Submitted by: danfe@ Approved by: emaste@

Re: svn commit: r227775 - in head: lib/clang share/mk

2011-11-21 Thread Brooks Davis
On Mon, Nov 21, 2011 at 12:49:46AM +, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Mon Nov 21 00:49:46 2011 > New Revision: 227775 > URL: http://svn.freebsd.org/changeset/base/227775 > > Log: > Connect LLVM/clang to the build on powerpc64. After the binutils 2.17.50 > import, it wo

Re: svn commit: r227812 - head/lib/libc/string

2011-11-21 Thread mdf
On Mon, Nov 21, 2011 at 6:50 PM, Eitan Adler wrote: > Author: eadler (ports committer) > Date: Tue Nov 22 02:50:24 2011 > New Revision: 227812 > URL: http://svn.freebsd.org/changeset/base/227812 > > Log: >  - fix some style(9) nits with my last commit >  - add a comment explaining why I used '|' i