Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Bruce Evans
On Fri, 14 Jan 2011, Garrett Cooper wrote: On Fri, Jan 14, 2011 at 6:42 PM, Bruce Evans wrote: On Fri, 14 Jan 2011 m...@freebsd.org wrote: On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans wrote: On Thu, 13 Jan 2011 m...@freebsd.org wrote: There appear to be 330 uses of SYSCTL and QUAD on t

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Bruce Evans
On Fri, 14 Jan 2011 m...@freebsd.org wrote: On Thu, Jan 13, 2011 at 9:56 PM, Bruce Evans wrote: Now with stricter type checking, even formats for integers are redundant. The CTLTYPE now always matches the type, and the format should always match the type. ?The space wasted for the format is 1

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Garrett Cooper
On Fri, Jan 14, 2011 at 6:42 PM, Bruce Evans wrote: > On Fri, 14 Jan 2011 m...@freebsd.org wrote: > >> On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans >> wrote: >>> >>> On Thu, 13 Jan 2011 m...@freebsd.org wrote: >>> There appear to be 330 uses of SYSCTL and QUAD on the same line in CURRE

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread Bruce Evans
On Fri, 14 Jan 2011 m...@freebsd.org wrote: On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans wrote: On Thu, 13 Jan 2011 m...@freebsd.org wrote: There appear to be 330 uses of SYSCTL and QUAD on the same line in CURRENT. ?This seems reasonable to change them to S64, U64 and X64 so they correctly

svn commit: r217432 - in head/sys: fs/nfs fs/nfsserver nfs

2011-01-14 Thread Rick Macklem
Author: rmacklem Date: Fri Jan 14 23:30:35 2011 New Revision: 217432 URL: http://svn.freebsd.org/changeset/base/217432 Log: Modify the experimental NFSv4 server so that it posts a SIGUSR2 signal to the master nfsd daemon whenever the stable restart file has been modified. This will allow the

svn commit: r217425 - head/bin/sh

2011-01-14 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 14 21:30:27 2011 New Revision: 217425 URL: http://svn.freebsd.org/changeset/base/217425 Log: sh: Make 'trap -l' look like 'kill -l'. Modified: head/bin/sh/trap.c Modified: head/bin/sh/trap.c

svn commit: r217424 - in head/sys/amd64: ia32 linux32

2011-01-14 Thread Jung-uk Kim
Author: jkim Date: Fri Jan 14 21:09:01 2011 New Revision: 217424 URL: http://svn.freebsd.org/changeset/base/217424 Log: Remove redundant, bogus, and even harmful uses of setting TS bit in CR0. It is done from fpstate_drop() when it is really necessary. Reviewed by: kib MFC after:1

svn commit: r217417 - head/sys/dev/dc

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 20:26:59 2011 New Revision: 217417 URL: http://svn.freebsd.org/changeset/base/217417 Log: - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. -

svn commit: r217416 - head/usr.bin/cpuset

2011-01-14 Thread John Baldwin
Author: jhb Date: Fri Jan 14 19:57:28 2011 New Revision: 217416 URL: http://svn.freebsd.org/changeset/base/217416 Log: Add two more features to cpuset(1): - Add a new -C flag to create a new cpuset and move an existing pid into that set. - Allow 'all' to be specified for a cpu list (e.g.

svn commit: r217415 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:39:12 2011 New Revision: 217415 URL: http://svn.freebsd.org/changeset/base/217415 Log: - Allow IFM_FLAG0 to be set indicating that auto-negotiation with manual configuration, which is used to work around issues with certain setups (see r161237) by defau

svn commit: r217414 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:33:58 2011 New Revision: 217414 URL: http://svn.freebsd.org/changeset/base/217414 Log: - Don't announce PAUSE support for half-duplex when MIIF_FORCEPAUSE is set. - Let mii_phy_auto() also announce PAUSE support for 10baseT-FDX. MFC after:1 week

svn commit: r217413 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:29:53 2011 New Revision: 217413 URL: http://svn.freebsd.org/changeset/base/217413 Log: - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. -

svn commit: r217412 - head/sys/dev/mii

2011-01-14 Thread Marius Strobl
Author: marius Date: Fri Jan 14 19:16:59 2011 New Revision: 217412 URL: http://svn.freebsd.org/changeset/base/217412 Log: - Masking IFM_GMASK when also masking IFM_FDX is redundant and just complicates the code. - Don't let atphy_setmedia() announce PAUSE support for half-duplex when M

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

2011-01-14 Thread John Baldwin
Author: jhb Date: Fri Jan 14 17:06:54 2011 New Revision: 217410 URL: http://svn.freebsd.org/changeset/base/217410 Log: Rework realtime priority support: - Move the realtime priority range up above kernel sleep priorities and just below interrupt thread priorities. - Contract the interrup

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread mdf
On Thu, Jan 13, 2011 at 9:56 PM, Bruce Evans wrote: > On Thu, 13 Jan 2011, Matthew D Fleming wrote: > >> Log: >>  Add a 64-bit hex-printed sysctl(9) since there is at least one place in >>  the code that wanted it.  It is named X64 rather than XQUAD since the >>  quad name is a historical abominat

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-14 Thread mdf
On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans wrote: > On Thu, 13 Jan 2011 m...@freebsd.org wrote: > >> There appear to be 330 uses of SYSCTL and QUAD on the same line in >> CURRENT.  This seems reasonable to change them to S64, U64 and X64 so >> they correctly reflect the size they operate upon.

Re: svn commit: r217391 - in head/release: amd64 i386 ia64 pc98 powerpc sparc64 sun4v

2011-01-14 Thread Nathan Whitehorn
On 01/14/11 04:56, Takahashi Yoshihiro wrote: Author: nyan Date: Fri Jan 14 10:56:44 2011 New Revision: 217391 URL: http://svn.freebsd.org/changeset/base/217391 Log: Fix making a release. The old libdialog was renamed to libodialog. Ack, I guess I missed this one. Thank you for fixing it!

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-14 Thread John Baldwin
On Thursday, January 13, 2011 5:12:47 pm Warner Losh wrote: > On 01/12/2011 17:06, Bruce Evans wrote: > > On Wed, 12 Jan 2011, John Baldwin wrote: > > > >>> Log: > >>> Fix a brain fart. Since this file is shared between i386 and > >>> amd64, a > >>> bus_size_t may be 32 or 64 bits. Change th

svn commit: r217400 - in head/sys/powerpc: include powerpc

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:36:44 2011 New Revision: 217400 URL: http://svn.freebsd.org/changeset/base/217400 Log: Enable shared page for the signal trampolines on PowerPC. Reviewed and tested by: nwhitehorn Modified: head/sys/powerpc/include/vmparam.h head/sys/powerpc/powerp

svn commit: r217399 - in head/lib/csu: powerpc powerpc64

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:34:58 2011 New Revision: 217399 URL: http://svn.freebsd.org/changeset/base/217399 Log: Mark csu on PowerPC as not requiring executable stack. Reviewed and tested by: nwhitehorn Modified: head/lib/csu/powerpc/crti.S head/lib/csu/powerpc/crtn.S hea

svn commit: r217398 - in head/lib/libc: powerpc/gen powerpc/sys powerpc64/gen powerpc64/sys

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:33:40 2011 New Revision: 217398 URL: http://svn.freebsd.org/changeset/base/217398 Log: Mark assembler sources from libc as working with non-executable stack. Reviewed and tested by: nwhitehorn Modified: head/lib/libc/powerpc/gen/_ctx_start.S head/l

svn commit: r217397 - in head/libexec/rtld-elf: powerpc powerpc64

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:32:31 2011 New Revision: 217397 URL: http://svn.freebsd.org/changeset/base/217397 Log: Mark rtld on PowerPC as not requiring executable stack. Reviewed and tested by: nwhitehorn Modified: head/libexec/rtld-elf/powerpc/rtld_start.S head/libexec/rtld

svn commit: r217396 - head/contrib/gcc/config/rs6000

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:31:22 2011 New Revision: 217396 URL: http://svn.freebsd.org/changeset/base/217396 Log: Configure gcc to emit .note.GNU-stack for both 32 and 64 bits PowerPC. Mark gcc-provided asm files as not requiring executable stack. It seems that non-FreeBSD ABIs for p

svn commit: r217395 - head/contrib/binutils/ld/emultempl

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:28:34 2011 New Revision: 217395 URL: http://svn.freebsd.org/changeset/base/217395 Log: On PowerPC64, linker emits a fake object into each linked object, 'linker stubs'. Add .note.GNU-stack for the stubs objects. Without this, final binary will have RWE mode fo

svn commit: r217394 - head/contrib/binutils/ld

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:25:11 2011 New Revision: 217394 URL: http://svn.freebsd.org/changeset/base/217394 Log: Add a workaround for the warnings and sometimes errors due to missed forward-declaration. Reviewed by: dim Modified: head/contrib/binutils/ld/ldemul.h Modified: head

svn commit: r217393 - head/lib/libcompiler_rt

2011-01-14 Thread Konstantin Belousov
Author: kib Date: Fri Jan 14 11:23:39 2011 New Revision: 217393 URL: http://svn.freebsd.org/changeset/base/217393 Log: Mark libcompiler_rt as not needed executable stack on powerpc. Reviewed and tested by: nwhitehorn Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/li

svn commit: r217391 - in head/release: amd64 i386 ia64 pc98 powerpc sparc64 sun4v

2011-01-14 Thread Takahashi Yoshihiro
Author: nyan Date: Fri Jan 14 10:56:44 2011 New Revision: 217391 URL: http://svn.freebsd.org/changeset/base/217391 Log: Fix making a release. The old libdialog was renamed to libodialog. Modified: head/release/amd64/boot_crunch.conf head/release/i386/boot_crunch.conf head/release/ia64/bo