Re: svn commit: r218211 - in head/sys: conf netinet

2011-02-04 Thread Randall Stewart
On Feb 4, 2011, at 1:40 AM, Robert Watson wrote: > > On Thu, 3 Feb 2011, Randall Stewart wrote: > >> Author: rrs >> Date: Thu Feb 3 10:05:30 2011 >> New Revision: 218211 >> URL: http://svn.freebsd.org/changeset/base/218211 >> >> Log: >> Adds an experimental option to create a pool of >> threa

Re: svn commit: r218243 - head/sys/dev/ath

2011-02-04 Thread Pawel Jakub Dawidek
On Fri, Feb 04, 2011 at 12:25:18AM +, Adrian Chadd wrote: > Author: adrian > Date: Fri Feb 4 00:25:18 2011 > New Revision: 218243 > URL: http://svn.freebsd.org/changeset/base/218243 > > Log: > Oops, fix newbie mistake that breaks the normal build. > > Modified: > head/sys/dev/ath/if_ath.

svn commit: r218264 - head/sys/netinet

2011-02-04 Thread Bruce Cran
Author: brucec Date: Fri Feb 4 12:03:48 2011 New Revision: 218264 URL: http://svn.freebsd.org/changeset/base/218264 Log: Fix typo (Tuneable -> Tunable). Modified: head/sys/netinet/sctp_sysctl.h Modified: head/sys/netinet/sctp_sysctl.h

svn commit: r218266 - head/sys/mips/include

2011-02-04 Thread Tijl Coosemans
Author: tijl Date: Fri Feb 4 13:09:46 2011 New Revision: 218266 URL: http://svn.freebsd.org/changeset/base/218266 Log: Replace __LP64__ with __mips_n64. This partly reverts r217147. Requested by: jmallett, imp Approved by: kib (mentor) Modified: head/sys/mips/include/_inttypes.h he

svn commit: r218269 - head/sys/netinet

2011-02-04 Thread Randall Stewart
Author: rrs Date: Fri Feb 4 13:50:30 2011 New Revision: 218269 URL: http://svn.freebsd.org/changeset/base/218269 Log: 1) Fix cpu mapping per JB's suggestions 2) Fix it so INIT's don't always end up on CPU0 MFC after:3 months Modified: head/sys/netinet/sctp_input.c head/sys/netin

svn commit: r218270 - head/sys/sys

2011-02-04 Thread John Baldwin
Author: jhb Date: Fri Feb 4 14:06:57 2011 New Revision: 218270 URL: http://svn.freebsd.org/changeset/base/218270 Log: Use M_WAITOK rather than M_NOWAIT when creating taskqueues via the TASKQUEUE_DEFINE macros. All the places that use these macros to create taskqueues assume that the operat

svn commit: r218271 - head/sys/netinet

2011-02-04 Thread John Baldwin
Author: jhb Date: Fri Feb 4 14:13:15 2011 New Revision: 218271 URL: http://svn.freebsd.org/changeset/base/218271 Log: When turning off TCP_NOPUSH, only call tcp_output() to immediately flush any pending data if the connection is established. Submitted by: csjp Reviewed by: lstewart

svn commit: r218272 - head/sys/kern

2011-02-04 Thread John Baldwin
Author: jhb Date: Fri Feb 4 14:16:41 2011 New Revision: 218272 URL: http://svn.freebsd.org/changeset/base/218272 Log: Always assert that the turnstile chain lock is held in turnstile_wait() and remove a duplicate hash lookup. MFC after:1 week Modified: head/sys/kern/subr_turnstile

svn commit: r218273 - head/sys/fs/ext2fs

2011-02-04 Thread John Baldwin
Author: jhb Date: Fri Feb 4 14:20:27 2011 New Revision: 218273 URL: http://svn.freebsd.org/changeset/base/218273 Log: Collapse duplicate definitions of EXT2_SB(). Submitted by: Pedro F. Giffuni giffunip at yahoo Modified: head/sys/fs/ext2fs/ext2fs.h Modified: head/sys/fs/ext2fs/ext2fs

svn commit: r218278 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-02-04 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 4 15:22:56 2011 New Revision: 218278 URL: http://svn.freebsd.org/changeset/base/218278 Log: vdev's sectorsize should not be greater than 8 Kbytes and also it should be power of 2. This prevents non-aligned access while probing vdev's labels. PR: kern/

svn commit: r218280 - head/sys/dev/aac

2011-02-04 Thread Ed Maste
Author: emaste Date: Fri Feb 4 15:45:48 2011 New Revision: 218280 URL: http://svn.freebsd.org/changeset/base/218280 Log: We can pass a format string and args to panic(), so instead of using printf() to output some information before a panic, just include that information in the panic.

Re: svn commit: r218238 - head/sys/dev/ath

2011-02-04 Thread Warner Losh
On 02/03/2011 16:07, Bruce Cran wrote: On Thu, Feb 03, 2011 at 08:26:26PM +, Adrian Chadd wrote: if (ni != NULL) { +#if NOTYET /* tag AMPDU aggregates for reorder processing */ This seems to have broken the build because NOTYET isn't defined. ANSI C states

svn commit: r218285 - in head: bin/kill bin/pkill bin/sh lib/libc/gen usr.bin/killall usr.bin/truss

2011-02-04 Thread Jilles Tjoelker
Author: jilles Date: Fri Feb 4 16:40:50 2011 New Revision: 218285 URL: http://svn.freebsd.org/changeset/base/218285 Log: Make sys_signame upper case. This matches the constants from with 'SIG' removed, which POSIX requires kill and trap to accept and 'kill -l' to write. 'kill -l',

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

2011-02-04 Thread Robert Watson
On Thu, 3 Feb 2011, John Baldwin wrote: 1) Move per John Baldwin to mp_maxid 2) Some signed/unsigned errors found by Mac OS compiler (from Michael) 3) a couple of copyright updates on the effected files. Note that mp_maxid is the maxium valid ID, so you typically have to do things like

svn commit: r218289 - head/sys/dev/re

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 17:49:55 2011 New Revision: 218289 URL: http://svn.freebsd.org/changeset/base/218289 Log: Disable TX IP checksum offloading for RTL8168C controllers. The controller in question generates frames with bad IP checksum value if packets contain IP options. For i

svn commit: r218290 - head/sys/conf

2011-02-04 Thread John Baldwin
Author: jhb Date: Fri Feb 4 18:36:09 2011 New Revision: 218290 URL: http://svn.freebsd.org/changeset/base/218290 Log: Correct include path. Submitted by: arundel MFC after:1 week Modified: head/sys/conf/files Modified: head/sys/conf/files =

Re: svn commit: r218290 - head/sys/conf

2011-02-04 Thread Alexander Best
On Fri Feb 4 11, John Baldwin wrote: > Author: jhb > Date: Fri Feb 4 18:36:09 2011 > New Revision: 218290 > URL: http://svn.freebsd.org/changeset/base/218290 > > Log: > Correct include path. thanks a bunch. :) > > Submitted by: arundel > MFC after: 1 week > > Modified: > hea

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

2011-02-04 Thread Julian Elischer
On 2/4/11 9:38 AM, Robert Watson wrote: On Thu, 3 Feb 2011, John Baldwin wrote: 1) Move per John Baldwin to mp_maxid 2) Some signed/unsigned errors found by Mac OS compiler (from Michael) 3) a couple of copyright updates on the effected files. Note that mp_maxid is the maxium valid I

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

2011-02-04 Thread John Baldwin
On Friday, February 04, 2011 1:30:33 pm Julian Elischer wrote: > On 2/4/11 9:38 AM, Robert Watson wrote: > > > > On Thu, 3 Feb 2011, John Baldwin wrote: > > > >>> 1) Move per John Baldwin to mp_maxid > >>> 2) Some signed/unsigned errors found by Mac OS compiler (from > >>> Michael) > >>> 3)

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

2011-02-04 Thread Robert N. M. Watson
On 4 Feb 2011, at 10:56, John Baldwin wrote: > The difference here is that FOREACH_THREAD_IN_PROC() is just a > TAILQ_FOREACH(). The CPU iterators are more complex. > > I agree that that we should have topology-aware iterators, though part of the > problem is what do you iterate? We'd have to

svn commit: r218293 - head/usr.sbin/pw

2011-02-04 Thread Jung-uk Kim
Author: jkim Date: Fri Feb 4 19:49:02 2011 New Revision: 218293 URL: http://svn.freebsd.org/changeset/base/218293 Log: Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home. When the basehome does not exist, it creates all intermediate directories as required, which is

Re: svn commit: r218166 - head/lib/liblzma

2011-02-04 Thread Marius Strobl
On Tue, Feb 01, 2011 at 10:28:05AM +, Martin Matuska wrote: > Author: mm > Date: Tue Feb 1 10:28:05 2011 > New Revision: 218166 > URL: http://svn.freebsd.org/changeset/base/218166 > > Log: > Reintroduce bugfix from r210103 and fix xz on strong-aligned architectures. > This fix was acciden

svn commit: r218303 - in head/lib/libc: amd64/string i386/string

2011-02-04 Thread Konstantin Belousov
Author: kib Date: Fri Feb 4 21:04:00 2011 New Revision: 218303 URL: http://svn.freebsd.org/changeset/base/218303 Log: Remove duplicate .note.GNU-stack section declaration. bcopy already made the neccessary provisions. Reported by: arundel Modified: head/lib/libc/amd64/string/memmove.

Re: svn commit: r218211 - in head/sys: conf netinet

2011-02-04 Thread Michael Tuexen
On Feb 4, 2011, at 7:40 AM, Robert Watson wrote: > > On Thu, 3 Feb 2011, Randall Stewart wrote: > >> Author: rrs >> Date: Thu Feb 3 10:05:30 2011 >> New Revision: 218211 >> URL: http://svn.freebsd.org/changeset/base/218211 >> >> Log: >> Adds an experimental option to create a pool of >> thread

Re: svn commit: r218303 - in head/lib/libc: amd64/string i386/string

2011-02-04 Thread Alexander Best
On Fri Feb 4 11, Konstantin Belousov wrote: > Author: kib > Date: Fri Feb 4 21:04:00 2011 > New Revision: 218303 > URL: http://svn.freebsd.org/changeset/base/218303 > > Log: > Remove duplicate .note.GNU-stack section declaration. bcopy already > made the neccessary provisions. ...and some m

svn commit: r218304 - head/sys/vm

2011-02-04 Thread Alan Cox
Author: alc Date: Fri Feb 4 21:49:24 2011 New Revision: 218304 URL: http://svn.freebsd.org/changeset/base/218304 Log: Since the last parameter to vm_object_shadow() is a vm_size_t and not a vm_pindex_t, it makes no sense for its callers to perform atop(). Let vm_object_shadow() do that ins

svn commit: r218305 - head/lib/msun/amd64

2011-02-04 Thread Konstantin Belousov
Author: kib Date: Fri Feb 4 21:54:06 2011 New Revision: 218305 URL: http://svn.freebsd.org/changeset/base/218305 Log: Remove duplicate .note.GNU-stack section declaration. Reported by: arundel Modified: head/lib/msun/amd64/s_llrint.S head/lib/msun/amd64/s_llrintf.S Modified: head/li

Re: svn commit: r218211 - in head/sys: conf netinet

2011-02-04 Thread Robert N. M. Watson
On 4 Feb 2011, at 13:30, Michael Tuexen wrote: >> Hmm. It might be better to add a new NETISR_SCTP and use netisr's support >> for multithreading? > That sounds really good. > > Is it possible that different network cards put packets in the same queue? > That would be helpful in the case of SC

Re: svn commit: r218211 - in head/sys: conf netinet

2011-02-04 Thread Michael Tuexen
On Feb 4, 2011, at 11:00 PM, Robert N. M. Watson wrote: > > On 4 Feb 2011, at 13:30, Michael Tuexen wrote: > >>> Hmm. It might be better to add a new NETISR_SCTP and use netisr's support >>> for multithreading? >> That sounds really good. >> >> Is it possible that different network cards put p

svn commit: r218306 - head/bin/sh

2011-02-04 Thread Jilles Tjoelker
Author: jilles Date: Fri Feb 4 22:47:55 2011 New Revision: 218306 URL: http://svn.freebsd.org/changeset/base/218306 Log: sh: Remove special code for shell scripts without magic number. These are called "shell procedures" in the source. If execve() failed with [ENOEXEC], the shell woul

svn commit: r218310 - in head/sys/arm: arm include

2011-02-04 Thread Warner Losh
Author: imp Date: Sat Feb 5 03:30:29 2011 New Revision: 218310 URL: http://svn.freebsd.org/changeset/base/218310 Log: Make md_tp a register_t not a void *. This will keep us from accidentally dereferencng it and might be one fewer things to change if arm64 happens... Submitted by: rwa

svn commit: r218311 - head/sys/arm/include

2011-02-04 Thread Warner Losh
Author: imp Date: Sat Feb 5 03:36:34 2011 New Revision: 218311 URL: http://svn.freebsd.org/changeset/base/218311 Log: phys_addr is a PA not a VA so declare it as a vm_paddr_t not a vm_offset_t. Modified: head/sys/arm/include/pmap.h Modified: head/sys/arm/include/pmap.h =