svn commit: r209034 - in head: bin/getfacl share/man/man4 share/termcap usr.sbin/nfscbd

2010-06-11 Thread Ulrich Spoerlein
Author: uqs Date: Fri Jun 11 06:04:07 2010 New Revision: 209034 URL: http://svn.freebsd.org/changeset/base/209034 Log: More mdoc nitpicking to improve compatibility to mdocml - .Nd in section NAME is not optional - .Ed was missing - indent is not a flag, but a literal argument for

svn commit: r209031 - in head: lib/libarchive share/man/man4 share/man/man9 usr.sbin/service

2010-06-11 Thread Ulrich Spoerlein
Author: uqs Date: Fri Jun 11 06:03:47 2010 New Revision: 209031 URL: http://svn.freebsd.org/changeset/base/209031 Log: mdoc nitpicking: the title argument shall be uppercase Modified: head/lib/libarchive/archive_entry.3 head/lib/libarchive/archive_read.3

Re: svn commit: r208988 - in head/sys: kern sys

2010-06-11 Thread Kostik Belousov
On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: Author: mav Date: Thu Jun 10 16:14:05 2010 New Revision: 208988 URL: http://svn.freebsd.org/changeset/base/208988 Log: Store interrupt trap frame into struct thread. It allows interrupt handler to obtain both trap frame

Re: svn commit: r208988 - in head/sys: kern sys

2010-06-11 Thread Alexander Motin
Kostik Belousov wrote: On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: Author: mav Date: Thu Jun 10 16:14:05 2010 New Revision: 208988 URL: http://svn.freebsd.org/changeset/base/208988 Log: Store interrupt trap frame into struct thread. It allows interrupt handler to

svn commit: r209037 - head/sys/kern

2010-06-11 Thread Ivan Voras
Author: ivoras Date: Fri Jun 11 09:27:33 2010 New Revision: 209037 URL: http://svn.freebsd.org/changeset/base/209037 Log: In another move to join with the age of the Fruitbat, increase SYSV shared resources defaults beyond absolute minimums. The new values are chosen mostly by magic.

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread John Baldwin
On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: Author: marcel Date: Fri Jun 11 03:00:32 2010 New Revision: 209026 URL: http://svn.freebsd.org/changeset/base/209026 Log: Bump MAX_BPAGES from 256 to 1024. It seems that a few drivers, bge(4) in particular, do not handle

Re: svn commit: r208988 - in head/sys: kern sys

2010-06-11 Thread Kostik Belousov
On Fri, Jun 11, 2010 at 08:10:40AM -0400, John Baldwin wrote: On Friday 11 June 2010 4:31:37 am Kostik Belousov wrote: On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: Author: mav Date: Thu Jun 10 16:14:05 2010 New Revision: 208988 URL:

svn commit: r209039 - head/share/misc

2010-06-11 Thread Ashish SHUKLA
Author: ashish (ports committer) Date: Fri Jun 11 12:58:29 2010 New Revision: 209039 URL: http://svn.freebsd.org/changeset/base/209039 Log: Add myself to the committers graph. Approved by: pgj (mentor) Modified: head/share/misc/committers-ports.dot Modified:

Re: svn commit: r208988 - in head/sys: kern sys

2010-06-11 Thread John Baldwin
On Friday 11 June 2010 8:41:49 am Kostik Belousov wrote: On Fri, Jun 11, 2010 at 08:10:40AM -0400, John Baldwin wrote: On Friday 11 June 2010 4:31:37 am Kostik Belousov wrote: On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: Author: mav Date: Thu Jun 10 16:14:05 2010

svn commit: r209048 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v

2010-06-11 Thread Alan Cox
Author: alc Date: Fri Jun 11 15:49:39 2010 New Revision: 209048 URL: http://svn.freebsd.org/changeset/base/209048 Log: Relax one of the new assertions in pmap_enter() a little. Specifically, allow pmap_enter() to be performed on an unmanaged page that doesn't have VPO_BUSY set. Having

svn commit: r209051 - in head/sbin: camcontrol gvinum

2010-06-11 Thread Ulrich Spoerlein
Author: uqs Date: Fri Jun 11 17:02:57 2010 New Revision: 209051 URL: http://svn.freebsd.org/changeset/base/209051 Log: Initialize variables before usage. Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 7736, 7760) Modified: head/sbin/camcontrol/modeedit.c

svn commit: r209052 - in head/sbin: ccdconfig gbde iscontrol

2010-06-11 Thread Ulrich Spoerlein
Author: uqs Date: Fri Jun 11 17:03:04 2010 New Revision: 209052 URL: http://svn.freebsd.org/changeset/base/209052 Log: Remove dead variable assignments Found by: clang static analyzer Verified by: md5(1) Modified: head/sbin/ccdconfig/ccdconfig.c head/sbin/gbde/gbde.c

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

2010-06-11 Thread Matthew D Fleming
Author: mdf Date: Fri Jun 11 17:03:26 2010 New Revision: 209053 URL: http://svn.freebsd.org/changeset/base/209053 Log: Add INVARIANTS checking that numfreebufs values are sane. Also add a per-buf flag to catch if a buf is double-counted in the free count. This code was useful to debug an

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

2010-06-11 Thread John Baldwin
On Friday 11 June 2010 11:56:18 am John Baldwin wrote: Author: jhb Date: Fri Jun 11 15:56:18 2010 New Revision: 209050 URL: http://svn.freebsd.org/changeset/base/209050 Log: Add helper macros to iterate over available CPUs in the system. CPU_FOREACH(i) iterates over the CPU IDs of all

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Marcel Moolenaar
On Jun 11, 2010, at 9:12 AM, Scott Long wrote: On Jun 11, 2010, at 5:51 AM, John Baldwin wrote: On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: Author: marcel Date: Fri Jun 11 03:00:32 2010 New Revision: 209026 URL: http://svn.freebsd.org/changeset/base/209026 Log: Bump

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread John Baldwin
On Friday 11 June 2010 1:04:36 pm Marcel Moolenaar wrote: On Jun 11, 2010, at 9:12 AM, Scott Long wrote: On Jun 11, 2010, at 5:51 AM, John Baldwin wrote: On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: Author: marcel Date: Fri Jun 11 03:00:32 2010 New Revision: 209026

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:21:24AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:04 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 9:12 AM, Scott Long wrote: On Jun 11, 2010, at 5:51 AM, John Baldwin wrote: On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: Author:

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Marcel Moolenaar
On Jun 11, 2010, at 10:21 AM, Scott Long wrote: On Jun 11, 2010, at 11:04 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 9:12 AM, Scott Long wrote: On Jun 11, 2010, at 5:51 AM, John Baldwin wrote: On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: Author: marcel Date: Fri

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Scott Long
On Jun 11, 2010, at 11:41 AM, Pyun YongHyeon wrote: On Fri, Jun 11, 2010 at 11:37:36AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:32 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:21 AM, Scott Long wrote: On Jun 11, 2010, at 11:04 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Marcel Moolenaar
On Jun 11, 2010, at 10:37 AM, Scott Long wrote: I'm not clear why you even need bounce buffers for RX. The chip supports 64bit addresses with no boundary or alignment restrictions. As per: /* * All controllers that are not 5755 or higher have 4GB * boundary DMA

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Scott Long
On Jun 11, 2010, at 11:44 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:37 AM, Scott Long wrote: I'm not clear why you even need bounce buffers for RX. The chip supports 64bit addresses with no boundary or alignment restrictions. As per: /* * All controllers that

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Scott Long
On Jun 11, 2010, at 11:53 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:47 AM, Scott Long wrote: On Jun 11, 2010, at 11:44 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:37 AM, Scott Long wrote: I'm not clear why you even need bounce buffers for RX. The chip supports 64bit

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:55:07AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:53 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:47 AM, Scott Long wrote: On Jun 11, 2010, at 11:44 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:37 AM, Scott Long wrote: I'm not clear

Re: svn commit: r208988 - in head/sys: kern sys

2010-06-11 Thread Julian Elischer
On 6/11/10 6:43 AM, John Baldwin wrote: On Friday 11 June 2010 8:41:49 am Kostik Belousov wrote: On Fri, Jun 11, 2010 at 08:10:40AM -0400, John Baldwin wrote: On Friday 11 June 2010 4:31:37 am Kostik Belousov wrote: On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: Author: mav

svn commit: r209055 - head/sys/dev/acpi_support

2010-06-11 Thread Jung-uk Kim
Author: jkim Date: Fri Jun 11 18:19:23 2010 New Revision: 209055 URL: http://svn.freebsd.org/changeset/base/209055 Log: Fix a possible dereference of null pointer. Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 3423) Modified:

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Scott Long
On Jun 11, 2010, at 12:04 PM, Pyun YongHyeon wrote: On Fri, Jun 11, 2010 at 11:55:07AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:53 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:47 AM, Scott Long wrote: On Jun 11, 2010, at 11:44 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at

svn commit: r209057 - head/sys/ufs/ffs

2010-06-11 Thread Andriy Gapon
Author: avg Date: Fri Jun 11 18:26:53 2010 New Revision: 209057 URL: http://svn.freebsd.org/changeset/base/209057 Log: ffs_softdep: change KR in function defintions to ANSI prototypes Apparently it's bad when we first have an ANSI prototype in function declaration, but then use KR in its

svn commit: r209059 - in head/sys: amd64/acpica amd64/amd64 cddl/contrib/opensolaris/uts/common/dtrace cddl/dev/cyclic cddl/dev/dtrace cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 compat/linprocfs de...

2010-06-11 Thread John Baldwin
Author: jhb Date: Fri Jun 11 18:46:34 2010 New Revision: 209059 URL: http://svn.freebsd.org/changeset/base/209059 Log: Update several places that iterate over CPUs to use CPU_FOREACH(). Modified: head/sys/amd64/acpica/madt.c head/sys/amd64/amd64/legacy.c

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Marcel Moolenaar
On Jun 11, 2010, at 11:08 AM, Pyun YongHyeon wrote: On Fri, Jun 11, 2010 at 11:06:06AM -0700, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:50 AM, Pyun YongHyeon wrote: I'm not clear why you even need bounce buffers for RX. The chip supports 64bit addresses with no boundary or

svn commit: r209063 - head/usr.sbin/arp

2010-06-11 Thread Max Laier
Author: mlaier Date: Fri Jun 11 19:35:05 2010 New Revision: 209063 URL: http://svn.freebsd.org/changeset/base/209063 Log: Cache the last result from if_indextoname for printing. This speeds up arp -an when using a lot of aliases (on a single interface). A better fix would include a

svn commit: r209064 - in head/sys/dev: acpi_support acpica

2010-06-11 Thread Jung-uk Kim
Author: jkim Date: Fri Jun 11 19:53:42 2010 New Revision: 209064 URL: http://svn.freebsd.org/changeset/base/209064 Log: Remove unused assignment. Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 4537, 4538, 4539) Modified:

svn commit: r209065 - head/sys/dev/acpica

2010-06-11 Thread Jung-uk Kim
Author: jkim Date: Fri Jun 11 19:58:41 2010 New Revision: 209065 URL: http://svn.freebsd.org/changeset/base/209065 Log: Simplify a function for getting brightness levels. Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c

Re: svn commit: r209060 - head/sys/dev/ixgbe

2010-06-11 Thread Jack Vogel
HM, I put in a change in response to some people having problems with mbuf resources, it seemed to work ok, but now i'm kinda concerned. Does this happen every time you bring the device up? In the routine 'ixgbe_setup_receive_ring()' I changed a couple of M_NOWAIT's to M_WAITOK, thinking

Re: svn commit: r209060 - head/sys/dev/ixgbe

2010-06-11 Thread Bjoern A. Zeeb
On Fri, 11 Jun 2010, Jack Vogel wrote: Hi, HM, I put in a change in response to some people having problems with mbuf resources, it seemed to work ok, but now i'm kinda concerned. Does this happen every time you bring the device up? In the routine 'ixgbe_setup_receive_ring()' I changed

Re: svn commit: r209060 - head/sys/dev/ixgbe

2010-06-11 Thread Jack Vogel
Odd though, because that code is in the driver on a system with 16 cores and I'm not hearing about any problem from my test engineer. Jack On Fri, Jun 11, 2010 at 1:13 PM, Bjoern A. Zeeb b...@freebsd.org wrote: On Fri, 11 Jun 2010, Jack Vogel wrote: Hi, HM, I put in a change in

Re: svn commit: r209060 - head/sys/dev/ixgbe

2010-06-11 Thread Bjoern A. Zeeb
On Fri, 11 Jun 2010, Jack Vogel wrote: Odd though, because that code is in the driver on a system with 16 cores and I'm not hearing about any problem from my test engineer. So this makes it all go away: --- //depot/user/bz/vimage/src/sys/dev/ixgbe/ixgbe.c2010-06-09 07:53:30.0

svn commit: r209068 - head/sys/dev/e1000

2010-06-11 Thread Jack F Vogel
Author: jfv Date: Fri Jun 11 20:54:27 2010 New Revision: 209068 URL: http://svn.freebsd.org/changeset/base/209068 Log: Add a couple fixes from Michael Tuexen. Remove unneeded rxtx handler, make que handler generic. Do not allocate header mbufs in rx ring if not doing hdr split. Release

svn commit: r209069 - head/usr.sbin/sysinstall

2010-06-11 Thread Randi Harper
Author: randi Date: Fri Jun 11 20:56:40 2010 New Revision: 209069 URL: http://svn.freebsd.org/changeset/base/209069 Log: Make sysinstall WARNS=2 clean. Approved by: cperciva (mentor) MFC after:1 month Modified: head/usr.sbin/sysinstall/Makefile

svn commit: r209070 - head/sys/dev/ixgbe

2010-06-11 Thread Jack F Vogel
Author: jfv Date: Fri Jun 11 20:59:29 2010 New Revision: 209070 URL: http://svn.freebsd.org/changeset/base/209070 Log: Change the mbuf memory calls back to NOWAIT as a problem has been seen in one case with doing the M_WAITOK Modified: head/sys/dev/ixgbe/ixgbe.c Modified:

Re: svn commit: r209060 - head/sys/dev/ixgbe

2010-06-11 Thread Michael Tuexen
On Jun 11, 2010, at 10:44 PM, Jack Vogel wrote: On Fri, Jun 11, 2010 at 1:27 PM, Jack Vogel jfvo...@gmail.com wrote: On Fri, Jun 11, 2010 at 1:23 PM, Bjoern A. Zeeb b...@freebsd.org wrote: On Fri, 11 Jun 2010, Jack Vogel wrote: Odd though, because that code is in the driver on a

Re: svn commit: r209068 - head/sys/dev/e1000

2010-06-11 Thread John Baldwin
On Friday 11 June 2010 4:54:27 pm Jack F Vogel wrote: Author: jfv Date: Fri Jun 11 20:54:27 2010 New Revision: 209068 URL: http://svn.freebsd.org/changeset/base/209068 Log: Add a couple fixes from Michael Tuexen. Remove unneeded rxtx handler, make que handler generic. Do not

Re: svn commit: r209068 - head/sys/dev/e1000

2010-06-11 Thread Jack Vogel
LOL, I'm sorry John, I actually did put them into my local source, I dont know what happened, just not my day :( Jack On Fri, Jun 11, 2010 at 2:25 PM, John Baldwin j...@freebsd.org wrote: On Friday 11 June 2010 4:54:27 pm Jack F Vogel wrote: Author: jfv Date: Fri Jun 11 20:54:27 2010

svn commit: r209071 - head/sys/dev/e1000

2010-06-11 Thread Jack F Vogel
Author: jfv Date: Fri Jun 11 21:35:19 2010 New Revision: 209071 URL: http://svn.freebsd.org/changeset/base/209071 Log: Put back the lost bus_describe_intr() calls. Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c

svn commit: r209072 - head/usr.sbin/sysinstall

2010-06-11 Thread Colin Percival
Author: cperciva Date: Fri Jun 11 21:46:45 2010 New Revision: 209072 URL: http://svn.freebsd.org/changeset/base/209072 Log: Clean up code by removing pre-C99 struct hack preprocessor magic. Approved by: randi (maintainer) Modified: head/usr.sbin/sysinstall/sysinstall.h Modified:

svn commit: r209078 - head/lib/liblzma

2010-06-11 Thread Xin LI
Author: delphij Date: Fri Jun 11 22:29:49 2010 New Revision: 209078 URL: http://svn.freebsd.org/changeset/base/209078 Log: Detect bit endianness through machine/endian.h. This fixes xz on big-endian systems. Tested on:sparc64 (kindly provided by linimon), amd64 Modified:

svn commit: r209082 - head/sys/sys

2010-06-11 Thread Jung-uk Kim
Author: jkim Date: Fri Jun 11 23:38:25 2010 New Revision: 209082 URL: http://svn.freebsd.org/changeset/base/209082 Log: Apply band-aid around function-like macro fdrop() without turning it into a real (inline) function or applying void casting for all its consumers. In most of places, the

svn commit: r209085 - head/sys/ia64/ia64

2010-06-11 Thread Marcel Moolenaar
Author: marcel Date: Sat Jun 12 01:45:29 2010 New Revision: 209085 URL: http://svn.freebsd.org/changeset/base/209085 Log: The ptc.g operation for the Mckinley and Madison processors has the side-effect of purging more than the requested translation. While this is not a problem in general,