svn commit: r229925 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-09 Thread Dimitry Andric
Author: dim Date: Tue Jan 10 07:46:35 2012 New Revision: 229925 URL: http://svn.freebsd.org/changeset/base/229925 Log: MFC r229425: In sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, check the the number of links against LINK_MAX (which is INT16_MAX), not against UINT32_MAX.

svn commit: r229924 - stable/9/sys/dev/qlxgb

2012-01-09 Thread Dimitry Andric
Author: dim Date: Tue Jan 10 07:45:00 2012 New Revision: 229924 URL: http://svn.freebsd.org/changeset/base/229924 Log: MFC r229423: In sys/dev/qlxgb/qla_misc.c, fix a copy/paste issue. Clang complained the variable 'val' was uninitialized when used. Instead, 'sig' should have been pri

svn commit: r229923 - stable/9/sys/compat/linux

2012-01-09 Thread Dimitry Andric
Author: dim Date: Tue Jan 10 07:42:01 2012 New Revision: 229923 URL: http://svn.freebsd.org/changeset/base/229923 Log: MFC r229402: In sys/compat/linux/linux_ioctl.c, work around a warning when a pointer is compared to an integer, by casting the pointer to l_uintptr_t. No functional di

svn commit: r229922 - stable/9/sys/dev/if_ndis

2012-01-09 Thread Dimitry Andric
Author: dim Date: Tue Jan 10 07:38:46 2012 New Revision: 229922 URL: http://svn.freebsd.org/changeset/base/229922 Log: MFC r229401: In sys/dev/if_ndis/if_ndis_pccard.c, fix a bug where a garbage rid was passed to resource_list_add(). The rid that was just returned by bus_alloc_resource

Re: svn commit: r17 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-09 Thread Hiroki Sato
Ed Schouten wrote in <20120108223438.go5...@hoeg.nl>: ed> Hello Hiroki, ed> ed> * Hiroki Sato , 20120108 18:40: ed> > + A &man.utxrm.8; utility has been added. ed> > + This allows one to remove an entry from the ed> > + utmpx database by hand. This is useful ed> > + when a login daemon cra

svn commit: r229921 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-09 Thread Hiroki Sato
Author: hrs Date: Tue Jan 10 07:21:11 2012 New Revision: 229921 URL: http://svn.freebsd.org/changeset/base/229921 Log: Add relnotes items: RACCT resource accounting API, RCTL resource limiting API and rctl(8), sendmsg(2)/recvmsg(2) improvement in Linux compat layer,

Re: svn commit: r229415 - head/lib/libvgl

2012-01-09 Thread Eitan Adler
On Mon, Jan 9, 2012 at 11:02 PM, John-Mark Gurney wrote: > Last time I did benchmarking on this ~10 years ago, it was slower to > use xor instead of using assignments... I'd be shocked if the compiler didn't optimize this away to an XCHG. -- Eitan Adler _

Re: svn commit: r229415 - head/lib/libvgl

2012-01-09 Thread Pedro Giffuni
Hi John; --- Lun 9/1/12, John-Mark Gurney ha scritto: ... > Pedro F. Giffuni wrote this message > on Tue, Jan 03, 2012 at 19:47 +: > > +#define SL_SWAP(a,b)        >    {a^=b; b^=a; a^=b;} > > Can we replace this w/ a normal swap function? > > Last time I did benchmarking on this ~10 years

Re: svn commit: r229415 - head/lib/libvgl

2012-01-09 Thread John-Mark Gurney
Pedro F. Giffuni wrote this message on Tue, Jan 03, 2012 at 19:47 +: > +#define SL_SWAP(a,b) {a^=b; b^=a; a^=b;} Can we replace this w/ a normal swap function? Last time I did benchmarking on this ~10 years ago, it was slower to use xor instead of using assignments... -- John-Ma

svn commit: r229915 - head/sbin/gvinum

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:26 2012 New Revision: 229915 URL: http://svn.freebsd.org/changeset/base/229915 Log: Fix warning when compiling with gcc46: error: variable 'op' set but not used error: variable 'cmd' set but not used Approved by: dim

svn commit: r229914 - head/sbin/ifconfig

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:18 2012 New Revision: 229914 URL: http://svn.freebsd.org/changeset/base/229914 Log: Fix warning when compiling with gcc46: error: variable 'firstkey' set but not used Approved by: dim MFC after:3 days Modified: head/s

svn commit: r229911 - head/sbin/tunefs

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:58:52 2012 New Revision: 229911 URL: http://svn.freebsd.org/changeset/base/229911 Log: Fix warning when compiling with gcc46: error: variable 'Sflag' set but not used Approved by: dim MFC after:3 days Modified: head/sbin

svn commit: r229910 - head/usr.bin/bsdiff/bsdiff

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:58:44 2012 New Revision: 229910 URL: http://svn.freebsd.org/changeset/base/229910 Log: Silence bogus warning when compiling with gcc46: error: 'pos' may be used uninitialized in this function Reviewed by: cperciva Approved by:

svn commit: r229909 - head/usr.bin/netstat

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:58:36 2012 New Revision: 229909 URL: http://svn.freebsd.org/changeset/base/229909 Log: Fix warning when compiling with gcc46: error: variable 'ifnetfound' set but not used Approved by: dim MFC after: 3 days Modified: he

svn commit: r229908 - head/usr.bin/brandelf

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:58:29 2012 New Revision: 229908 URL: http://svn.freebsd.org/changeset/base/229908 Log: Fix warning when compiling with gcc46: error: variable 'verbose' set but not use Approved by: dim MFC after: 3 days Modified: head/

svn commit: r229919 - head/sbin/camcontrol

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:58 2012 New Revision: 229919 URL: http://svn.freebsd.org/changeset/base/229919 Log: Fix warning when compiling with gcc46: error: variable 'freq' set but not used error: variable 'mode_pars' set but not used Reviewed by

svn commit: r229918 - head/sbin/fsck_ffs

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:50 2012 New Revision: 229918 URL: http://svn.freebsd.org/changeset/base/229918 Log: Fix warning when compiling with gcc46: error: variable 'blksfree' set but not used Reviewed by: pjd Approved by: dim MFC after:3 days

svn commit: r229917 - head/sbin/fsirand

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:43 2012 New Revision: 229917 URL: http://svn.freebsd.org/changeset/base/229917 Log: Fix warning when compiling with gcc46: error: variable 'inumber' set but not used Approved by: dim MFC after:3 days Modified: head/sb

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

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:35 2012 New Revision: 229916 URL: http://svn.freebsd.org/changeset/base/229916 Log: Fix warning when compiling with gcc46: error: variable 'secsz' set but not used Reviewed by: ae Approved by: dim MFC after:3 days Mo

svn commit: r229913 - head/sbin/newfs

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:09 2012 New Revision: 229913 URL: http://svn.freebsd.org/changeset/base/229913 Log: Fix warning when compiling with gcc46: error: variable 'c' set but not used Approved by: dim MFC after:3 days Modified: head/sbin/new

svn commit: r229912 - head/sbin/ping6

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:59:01 2012 New Revision: 229912 URL: http://svn.freebsd.org/changeset/base/229912 Log: Fix warning when compiling with gcc46: error: variable 'origextlen' set but not used Approved by: dim MFC after:3 days Modified: head

svn commit: r229907 - head/usr.bin/ncplist

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:58:20 2012 New Revision: 229907 URL: http://svn.freebsd.org/changeset/base/229907 Log: Fix warning when compiling with gcc46: error: variable 'wdone' set but not use Approved by: dim MFC after:3 days Modified: head/usr.b

svn commit: r229906 - in stable/8/sys: fs/nfs nfsclient

2012-01-09 Thread Rick Macklem
Author: rmacklem Date: Tue Jan 10 02:55:43 2012 New Revision: 229906 URL: http://svn.freebsd.org/changeset/base/229906 Log: MFC: r228757 jwd@ reported a problem via email where the old NFS client would get a reply of EEXIST from an NFS server when a Mkdir RPC was retried, for an NFS over U

svn commit: r229905 - head/usr.bin/split

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:55:43 2012 New Revision: 229905 URL: http://svn.freebsd.org/changeset/base/229905 Log: Fix warning when compiling with gcc46: error: variable 'defname' set but not use Approved by: dim MFC after:3 day Modified: head/usr

svn commit: r229904 - head/libexec/tftpd

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 02:55:35 2012 New Revision: 229904 URL: http://svn.freebsd.org/changeset/base/229904 Log: Fix warning when compiling with gcc46: error: variable 'bp' set but not use Approved by: dim MFC After:3 days Modified: head/libexec

svn commit: r229902 - in stable/9/sys: fs/nfs nfsclient

2012-01-09 Thread Rick Macklem
Author: rmacklem Date: Tue Jan 10 02:16:38 2012 New Revision: 229902 URL: http://svn.freebsd.org/changeset/base/229902 Log: MFC: r228757 jwd@ reported a problem via email where the old NFS client would get a reply of EEXIST from an NFS server when a Mkdir RPC was retried, for an NFS over U

Re: svn commit: r229861 - stable/8/sys/fs/nfsserver

2012-01-09 Thread Rick Macklem
Thanks John. Sorry about that. Pointy hat goes on me. rick ps: I probably shouldn't have merged in into stable/8, but since you've fixed it, it might as well stay there. - Original Message - > Author: jhb > Date: Mon Jan 9 18:46:03 2012 > New Revision: 229861 > URL: http://svn.freebsd

svn commit: r229901 - stable/7/usr.sbin/fwcontrol

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 01:02:40 2012 New Revision: 229901 URL: http://svn.freebsd.org/changeset/base/229901 Log: - Remove extraneous null ptr deref checks - Fix memory leak Approved by: jhb Modified: stable/7/usr.sbin/fwcontrol/fwcontrol.c Directory Properti

svn commit: r229900 - in stable/8/usr.sbin: fwcontrol newsyslog

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 01:02:19 2012 New Revision: 229900 URL: http://svn.freebsd.org/changeset/base/229900 Log: - Remove extraneous null ptr deref checks - Fix memory leak Approved by: jhb Modified: stable/8/usr.sbin/fwcontrol/fwcontrol.c stable/8/usr.sbi

svn commit: r229899 - in stable/9/usr.sbin: fwcontrol newsyslog ypserv

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 01:01:57 2012 New Revision: 229899 URL: http://svn.freebsd.org/changeset/base/229899 Log: - Remove extraneous null ptr deref checks - Fix memory leak Approved by: jhb Modified: stable/9/usr.sbin/fwcontrol/fwcontrol.c stable/9/usr.sbi

svn commit: r229898 - head/sys/net

2012-01-09 Thread Lawrence Stewart
Author: lstewart Date: Tue Jan 10 00:48:29 2012 New Revision: 229898 URL: http://svn.freebsd.org/changeset/base/229898 Log: Consumers of bpfdetach() expect it to remove all bpf_if structs from the bpf_iflist list which reference the specified ifnet. The existing implementation only removes

svn commit: r229897 - stable/7/sys/dev/puc

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:35:25 2012 New Revision: 229897 URL: http://svn.freebsd.org/changeset/base/229897 Log: MFC r227535: - add support for Titan VScom PCIex-800H PR: kern/124128 Approved by: jhb Modified: stable/7/sys/dev/puc/pucdata.c

svn commit: r229896 - stable/8/sys/dev/puc

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:35:01 2012 New Revision: 229896 URL: http://svn.freebsd.org/changeset/base/229896 Log: MFC r227535: - add support for Titan VScom PCIex-800H PR: kern/124128 Approved by: jhb Modified: stable/8/sys/dev/puc/pucdata.c

svn commit: r229895 - stable/9/sys/dev/puc

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:34:40 2012 New Revision: 229895 URL: http://svn.freebsd.org/changeset/base/229895 Log: MFC r227535: - add support for Titan VScom PCIex-800H PR: kern/124128 Approved by: jhb Modified: stable/9/sys/dev/puc/pucdata.c

svn commit: r229894 - stable/7/sys/dev/sio

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:27:37 2012 New Revision: 229894 URL: http://svn.freebsd.org/changeset/base/229894 Log: MFC r227532: - add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial) - correct mislabeling of 0x432214e4 device PR: ke

svn commit: r229893 - stable/8/sys/dev/sio

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:27:16 2012 New Revision: 229893 URL: http://svn.freebsd.org/changeset/base/229893 Log: MFC r227532: - add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial) - correct mislabeling of 0x432214e4 device PR: ke

svn commit: r229892 - stable/9/sys/dev/sio

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:26:54 2012 New Revision: 229892 URL: http://svn.freebsd.org/changeset/base/229892 Log: MFC r227532: - add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial) - correct mislabeling of 0x432214e4 device PR: ke

svn commit: r229891 - stable/7/sys/dev/puc

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:20:28 2012 New Revision: 229891 URL: http://svn.freebsd.org/changeset/base/229891 Log: MFC 226404: - add support for I-O DATA RSA-PCI2/R PR: kern/142999 Approved by: jhb Modified: stable/7/sys/dev/puc/pucdata.c Di

svn commit: r229890 - stable/8/sys/dev/puc

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:19:18 2012 New Revision: 229890 URL: http://svn.freebsd.org/changeset/base/229890 Log: MFC 226404: - add support for I-O DATA RSA-PCI2/R PR: kern/142999 Approved by: jhb Modified: stable/8/sys/dev/puc/pucdata.c Di

svn commit: r229889 - in stable/8: sbin/ipfw sys/cam/scsi sys/fs/devfs sys/netinet usr.sbin/mtree usr.sbin/pmcstat

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:03:30 2012 New Revision: 229889 URL: http://svn.freebsd.org/changeset/base/229889 Log: MFC 227489: - fix duplicate "a a" in some comments Approved by: simon Modified: stable/8/sbin/ipfw/main.c stable/8/sys/cam/scsi/scsi_ch.

svn commit: r229888 - in stable/9: sbin/ipfw sys/cam/scsi sys/fs/devfs sys/netinet usr.sbin/mtree usr.sbin/pmcstat

2012-01-09 Thread Eitan Adler
Author: eadler (ports committer) Date: Tue Jan 10 00:01:17 2012 New Revision: 229888 URL: http://svn.freebsd.org/changeset/base/229888 Log: MFC 227489: - fix duplicate "a a" in some comments Approved by: simon Modified: stable/9/sbin/ipfw/main.c stable/9/sys/cam/scsi/scsi_ch.

Re: svn commit: r229887 - in head/sys: conf dev/random modules/random

2012-01-09 Thread Kostik Belousov
On Mon, Jan 09, 2012 at 11:20:30PM +, Jung-uk Kim wrote: > Author: jkim > Date: Mon Jan 9 23:20:30 2012 > New Revision: 229887 > URL: http://svn.freebsd.org/changeset/base/229887 > > Log: > Enable hardware RNG for VIA Nano processors. > > PR: kern/163974 Can we, please, have VI

svn commit: r229887 - in head/sys: conf dev/random modules/random

2012-01-09 Thread Jung-uk Kim
Author: jkim Date: Mon Jan 9 23:20:30 2012 New Revision: 229887 URL: http://svn.freebsd.org/changeset/base/229887 Log: Enable hardware RNG for VIA Nano processors. PR: kern/163974 Modified: head/sys/conf/files.amd64 head/sys/dev/random/probe.c head/sys/modules/random/Makef

svn commit: r229886 - in head: sbin/geom/class/raid sys/geom/raid

2012-01-09 Thread Jim Harris
Author: jimharris Date: Mon Jan 9 23:01:42 2012 New Revision: 229886 URL: http://svn.freebsd.org/changeset/base/229886 Log: Add support for >2TB disks in GEOM RAID for Intel metadata format. Reviewed by: mav Approved by: scottl MFC after: 1 week Modified: head/sbin/geom/class/raid/g

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread Maksim Yevmenkin
2012/1/9 Alexander Motin : > On 09.01.2012 21:01, Maksim Yevmenkin wrote: >> >> 2012/1/9 Alexander Motin: >>> >>> On 09.01.2012 20:54, Maksim Yevmenkin wrote: On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motin  wrote: > > > Author: mav > Date: Wed Dec 28 22:49:28 2

svn commit: r229885 - stable/9/sys/arm/xscale/ixp425

2012-01-09 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 9 21:52:55 2012 New Revision: 229885 URL: http://svn.freebsd.org/changeset/base/229885 Log: MFC r226324 Dont just set the pin high when turning on output, use the current value. Also let this value be set when in input mode. Modified: stable/9/sys/arm/

svn commit: r229884 - stable/9/tools/tools/nanobsd/gateworks

2012-01-09 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 9 21:51:50 2012 New Revision: 229884 URL: http://svn.freebsd.org/changeset/base/229884 Log: MFC r226242 Fix build after TARGET_BIG_ENDIAN was nuked from orbit. Modified: stable/9/tools/tools/nanobsd/gateworks/common Directory Properties: stable/9/tools/t

svn commit: r229883 - stable/9/sys/arm/xscale/ixp425

2012-01-09 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 9 21:49:47 2012 New Revision: 229883 URL: http://svn.freebsd.org/changeset/base/229883 Log: MFC r226034 Add missing newbus glue, this has never attached properly to gpiobus. Modified: stable/9/sys/arm/xscale/ixp425/avila_gpio.c Directory Properties: stab

svn commit: r229882 - stable/9/sys/boot/arm/ixp425/boot2

2012-01-09 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 9 21:49:03 2012 New Revision: 229882 URL: http://svn.freebsd.org/changeset/base/229882 Log: MFC r225955 Allow ixp425 boot2 to compile after r219452 Modified: stable/9/sys/boot/arm/ixp425/boot2/boot2.c Directory Properties: stable/9/sys/ (props changed)

Re: svn commit: r228985 - head/sys/boot/forth

2012-01-09 Thread Sergey Kandaurov
On 9 January 2012 16:49, Dimitry Andric wrote: > On 2012-01-08 21:35, Sergey Kandaurov wrote: > ... > >> So, the problem arise when beastie_disable is set. >> >> In this case menu.rc is not evaluated and consequently menu-unset does >> not have a body yet. This results in the ficl warning "not fou

svn commit: r229881 - head/sys/boot/forth

2012-01-09 Thread Sergey Kandaurov
Author: pluknet Date: Mon Jan 9 20:25:14 2012 New Revision: 229881 URL: http://svn.freebsd.org/changeset/base/229881 Log: Get rid of a spurious warning on the console when booting the kernel from the interactive loader(8) prompt and beastie_disable="YES" is set in loader.conf(5). In this ca

svn commit: r229880 - stable/7/sys/dev/msk

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 20:16:06 2012 New Revision: 229880 URL: http://svn.freebsd.org/changeset/base/229880 Log: MFC r198999: Take a step towards removing if_watchdog/if_timer. Don't explicitly set if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc() sets

svn commit: r229879 - stable/8/sys/dev/msk

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 20:14:52 2012 New Revision: 229879 URL: http://svn.freebsd.org/changeset/base/229879 Log: MFC r198999: Take a step towards removing if_watchdog/if_timer. Don't explicitly set if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc() sets

svn commit: r229878 - in stable/7/sys: dev/msk sparc64/pci

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 20:08:57 2012 New Revision: 229878 URL: http://svn.freebsd.org/changeset/base/229878 Log: MFC r212378: Catch up to rename of the constant for the Master Data Parity Error bit in the PCI status register. Modified: stable/7/sys/dev/msk/if_msk.c stable/

svn commit: r229877 - in stable/8/sys: dev/msk sparc64/pci

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 20:07:38 2012 New Revision: 229877 URL: http://svn.freebsd.org/changeset/base/229877 Log: MFC r212378: Catch up to rename of the constant for the Master Data Parity Error bit in the PCI status register. Modified: stable/8/sys/dev/msk/if_msk.c stable/

svn commit: r229876 - stable/7/sys/dev/msk

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:59:53 2012 New Revision: 229876 URL: http://svn.freebsd.org/changeset/base/229876 Log: MFC r228717: Increase wait time for OP_TCPSTART command processing. It seems 100us is not enough to ensure prefetch unit work. Modified: stable/7/sys/dev/msk/if_

svn commit: r229875 - stable/8/sys/dev/msk

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:58:41 2012 New Revision: 229875 URL: http://svn.freebsd.org/changeset/base/229875 Log: MFC r228717: Increase wait time for OP_TCPSTART command processing. It seems 100us is not enough to ensure prefetch unit work. Modified: stable/8/sys/dev/msk/if_

svn commit: r229874 - stable/9/sys/dev/msk

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:57:07 2012 New Revision: 229874 URL: http://svn.freebsd.org/changeset/base/229874 Log: MFC r228717: Increase wait time for OP_TCPSTART command processing. It seems 100us is not enough to ensure prefetch unit work. Modified: stable/9/sys/dev/msk/if_

svn commit: r229873 - in head/sys: kern net

2012-01-09 Thread John Baldwin
Author: jhb Date: Mon Jan 9 19:34:12 2012 New Revision: 229873 URL: http://svn.freebsd.org/changeset/base/229873 Log: Convert the per-interface address list lock from a mutex to a reader/writer lock. Reviewed by: bz Modified: head/sys/kern/subr_witness.c head/sys/net/if_var.h Modi

svn commit: r229872 - stable/7/sys/dev/fxp

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:31:35 2012 New Revision: 229872 URL: http://svn.freebsd.org/changeset/base/229872 Log: MFC r228716: TCP header size is represented by number of 32bits words. Fix the TCP header size calculation such that makes TSO engine cache all header(ethernet/I

svn commit: r229871 - stable/8/sys/dev/fxp

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:30:23 2012 New Revision: 229871 URL: http://svn.freebsd.org/changeset/base/229871 Log: MFC r228716: TCP header size is represented by number of 32bits words. Fix the TCP header size calculation such that makes TSO engine cache all header(ethernet/I

svn commit: r229870 - stable/9/sys/dev/fxp

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:28:51 2012 New Revision: 229870 URL: http://svn.freebsd.org/changeset/base/229870 Log: MFC r228716: TCP header size is represented by number of 32bits words. Fix the TCP header size calculation such that makes TSO engine cache all header(ethernet/I

svn commit: r229869 - stable/7/sys/dev/bge

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:23:29 2012 New Revision: 229869 URL: http://svn.freebsd.org/changeset/base/229869 Log: MFC r228479-228480: r228479: BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB bu

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread Alexander Motin
On 09.01.2012 21:04, Garrett Cooper wrote: 2012/1/9 Alexander Motin: On 09.01.2012 20:54, Maksim Yevmenkin wrote: On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motinwrote: Author: mav Date: Wed Dec 28 22:49:28 2011 New Revision: 228939 URL: http://svn.freebsd.org/changeset/base/228939 Log:

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread John Baldwin
On Monday, January 09, 2012 2:04:23 pm Garrett Cooper wrote: > 2012/1/9 Alexander Motin : > > On 09.01.2012 20:54, Maksim Yevmenkin wrote: > >> > >> On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motin wrote: > >> > >>> Author: mav > >>> Date: Wed Dec 28 22:49:28 2011 > >>> New Revision: 228939 > >>>

svn commit: r229868 - stable/8/sys/dev/bge

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:20:46 2012 New Revision: 229868 URL: http://svn.freebsd.org/changeset/base/229868 Log: MFC r228479-228480: r228479: BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB bu

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread Maksim Yevmenkin
On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motin wrote: > Author: mav > Date: Wed Dec 28 22:49:28 2011 > New Revision: 228939 > URL: http://svn.freebsd.org/changeset/base/228939 > > Log: >  Set maximum I/O size for mps(4) to MAXPHYS. Looking into the code, I see >  no reason why it should be limit

svn commit: r229867 - stable/9/sys/dev/bge

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:18:53 2012 New Revision: 229867 URL: http://svn.freebsd.org/changeset/base/229867 Log: MFC r228479-228480: r228479: BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB bu

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread Alexander Motin
On 09.01.2012 21:01, Maksim Yevmenkin wrote: 2012/1/9 Alexander Motin: On 09.01.2012 20:54, Maksim Yevmenkin wrote: On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motinwrote: Author: mav Date: Wed Dec 28 22:49:28 2011 New Revision: 228939 URL: http://svn.freebsd.org/changeset/base/228939 Lo

svn commit: r229866 - stable/7/sys/dev/bce

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:10:11 2012 New Revision: 229866 URL: http://svn.freebsd.org/changeset/base/229866 Log: MFC r228476: Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback

svn commit: r229865 - stable/8/sys/dev/bce

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:08:52 2012 New Revision: 229865 URL: http://svn.freebsd.org/changeset/base/229865 Log: MFC r228476: Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread Maksim Yevmenkin
2012/1/9 Alexander Motin : > On 09.01.2012 20:54, Maksim Yevmenkin wrote: >> >> On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motin  wrote: >>> >>> Author: mav >>> Date: Wed Dec 28 22:49:28 2011 >>> New Revision: 228939 >>> URL: http://svn.freebsd.org/changeset/base/228939 >>> >>> Log: >>>  Set maximu

svn commit: r229864 - stable/9/sys/dev/bce

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 19:07:14 2012 New Revision: 229864 URL: http://svn.freebsd.org/changeset/base/229864 Log: MFC r228476: Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread Garrett Cooper
2012/1/9 Alexander Motin : > On 09.01.2012 20:54, Maksim Yevmenkin wrote: >> >> On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motin  wrote: >> >>> Author: mav >>> Date: Wed Dec 28 22:49:28 2011 >>> New Revision: 228939 >>> URL: http://svn.freebsd.org/changeset/base/228939 >>> >>> Log: >>>  Set maximum

Re: svn commit: r228939 - head/sys/dev/mps

2012-01-09 Thread Alexander Motin
On 09.01.2012 20:54, Maksim Yevmenkin wrote: On Wed, Dec 28, 2011 at 2:49 PM, Alexander Motin wrote: Author: mav Date: Wed Dec 28 22:49:28 2011 New Revision: 228939 URL: http://svn.freebsd.org/changeset/base/228939 Log: Set maximum I/O size for mps(4) to MAXPHYS. Looking into the code, I see

svn commit: r229863 - stable/7/sys/dev/bce

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 18:55:28 2012 New Revision: 229863 URL: http://svn.freebsd.org/changeset/base/229863 Log: MFC r218529: - Updated firmware which improves small packet performance. Modified: stable/7/sys/dev/bce/if_bcefw.h Directory Properties: stable/7/sys/ (props chan

svn commit: r229862 - stable/8/sys/dev/bce

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 18:52:47 2012 New Revision: 229862 URL: http://svn.freebsd.org/changeset/base/229862 Log: MFC r218529: - Updated firmware which improves small packet performance. Modified: stable/8/sys/dev/bce/if_bcefw.h Directory Properties: stable/8/sys/ (props chan

svn commit: r229861 - stable/8/sys/fs/nfsserver

2012-01-09 Thread John Baldwin
Author: jhb Date: Mon Jan 9 18:46:03 2012 New Revision: 229861 URL: http://svn.freebsd.org/changeset/base/229861 Log: The sysctls for the new NFS server on stable/8 live under vfs.newnfs rather than vfs.nfsd. Modified: stable/8/sys/fs/nfsserver/nfs_nfsdsubs.c Modified: stable/8/sys/fs/nfs

svn commit: r229860 - in stable/7/sys: conf dev/bce

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 18:33:54 2012 New Revision: 229860 URL: http://svn.freebsd.org/changeset/base/229860 Log: MFC r210522,213489,218423,218527: r210522: Fix an apparent typo. r213489: Add the capability to read the complete contents of the NVRAM via sysctl d

svn commit: r229859 - in stable/8/sys: conf dev/bce

2012-01-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 9 18:32:45 2012 New Revision: 229859 URL: http://svn.freebsd.org/changeset/base/229859 Log: MFC r210522,213489,218423,218527: r210522: Fix an apparent typo. r213489: Add the capability to read the complete contents of the NVRAM via sysctl d

svn commit: r229858 - in stable/9: . share/man/man4 sys/dev/acpi_support

2012-01-09 Thread Jaakko Heinonen
/ports/UPDATING. Please read that file before running portupgrade. +20120109: + The acpi_wmi(4) status device /dev/wmistat has been renamed to + /dev/wmistat0. + 20120106: A new VOP_ADVISE() was added to support posix_fadvise(2). All filesystem modules must be

* Re: svn commit: r228985 - head/sys/boot/forth

2012-01-09 Thread Devin Teske
On Jan 9, 2012, at 4:49 AM, Dimitry Andric wrote: > On 2012-01-08 21:35, Sergey Kandaurov wrote: > ... >> So, the problem arise when beastie_disable is set. >> >> In this case menu.rc is not evaluated and consequently menu-unset does >> not have a body yet. This results in the ficl warning "no

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

2012-01-09 Thread K. Macy
> > The problem with having ZFS compiled into the kernel is that OpenSolaris > compatiblity layer needs its headers to be included before system > headers, which is/was impossible or hard to express for kernel > compilation. AFAIR Kip Macy was working on it and my understanding was > that he finish

svn commit: r229857 - head/sys/contrib/pf/net

2012-01-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 9 14:35:05 2012 New Revision: 229857 URL: http://svn.freebsd.org/changeset/base/229857 Log: Can't pass MSIZE to m_cljget(), an mbuf can't be attached as external storage to another mbuf. Modified: head/sys/contrib/pf/net/if_pfsync.c Modified: head/sys/contrib

Re: svn commit: r229812 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-09 Thread Hiroki Sato
Lawrence Stewart wrote in <4f0a1ef1.8090...@freebsd.org>: ls> Hi Hiroki-san, ls> ls> On 01/09/12 00:54, Hiroki Sato wrote: ls> > Author: hrs ls> > Date: Sun Jan 8 13:54:08 2012 ls> > New Revision: 229812 ls> > URL: http://svn.freebsd.org/changeset/base/229812 ls> > ls> > Log: ls> >Add reln

svn commit: r229856 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-09 Thread Hiroki Sato
Author: hrs Date: Mon Jan 9 14:23:18 2012 New Revision: 229856 URL: http://svn.freebsd.org/changeset/base/229856 Log: cc(4) and cc(9) were renamed to mod_cc(4) and mod_cc(9). Spotted by: lstewart Modified: stable/9/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: stable/9/

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

2012-01-09 Thread Pawel Jakub Dawidek
On Mon, Jan 09, 2012 at 08:15:44AM -0500, John Baldwin wrote: > On Sunday, January 08, 2012 5:43:30 am Pawel Jakub Dawidek wrote: > > On Sun, Jan 08, 2012 at 12:55:22AM +, Adrian Chadd wrote: > > > Author: adrian > > > Date: Sun Jan 8 00:55:22 2012 > > > New Revision: 229800 > > > URL: http://

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

2012-01-09 Thread John Baldwin
On Sunday, January 08, 2012 5:43:30 am Pawel Jakub Dawidek wrote: > On Sun, Jan 08, 2012 at 12:55:22AM +, Adrian Chadd wrote: > > Author: adrian > > Date: Sun Jan 8 00:55:22 2012 > > New Revision: 229800 > > URL: http://svn.freebsd.org/changeset/base/229800 > > > > Log: > > Make these two f

Re: svn commit: r229741 - stable/8/sys/dev/usb/controller

2012-01-09 Thread John Baldwin
On Friday, January 06, 2012 5:54:03 pm Hans Petter Selasky wrote: > Author: hselasky > Date: Fri Jan 6 22:54:03 2012 > New Revision: 229741 > URL: http://svn.freebsd.org/changeset/base/229741 > > Log: > Fix build of ehci_mbus.c by applying patches similar > to ones in r228483. This file was m

svn commit: r229855 - stable/9/sys/fs/tmpfs

2012-01-09 Thread Ivan Voras
Author: ivoras Date: Mon Jan 9 13:35:10 2012 New Revision: 229855 URL: http://svn.freebsd.org/changeset/base/229855 Log: MFC r227822: Avoid panics from recursive rename operations. PR: kern/159418 Modified: stable/9/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties: stable/9/s

Re: svn commit: r228985 - head/sys/boot/forth

2012-01-09 Thread Dimitry Andric
On 2012-01-08 21:35, Sergey Kandaurov wrote: ... So, the problem arise when beastie_disable is set. In this case menu.rc is not evaluated and consequently menu-unset does not have a body yet. This results in the ficl warning "not found" when try-menu-unset calls menu-unset. The warning cannot be

Re: svn commit: r229828 - in head/sys: kern ufs/ufs

2012-01-09 Thread Kostik Belousov
On Mon, Jan 09, 2012 at 12:55:06AM -0800, Doug Barton wrote: > On 01/08/2012 15:06, Konstantin Belousov wrote: > > Author: kib > > Date: Sun Jan 8 23:06:53 2012 > > New Revision: 229828 > > URL: http://svn.freebsd.org/changeset/base/229828 > > > > Log: > > Avoid LOR between vfs_busy() lock and

svn commit: r229854 - in head: . sys/kern

2012-01-09 Thread Andriy Gapon
PEOPLE WHO THINK THAT FreeBSD 10 machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20120109: + panic(9) now stops other CPUs in the SMP systems, disables interrupts + on the current CPU and prevents other threads from

svn commit: r229853 - head/sys/contrib/pf/net

2012-01-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 9 12:06:02 2012 New Revision: 229853 URL: http://svn.freebsd.org/changeset/base/229853 Log: Backout of backout: we need SI_SUB_PROTO_DOMAIN for pfsync, since it needs existing inetdomain on startup. Modified: head/sys/contrib/pf/net/if_pfsync.c Modified: head

svn commit: r229852 - head/sys/contrib/pf/net

2012-01-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 9 09:19:00 2012 New Revision: 229852 URL: http://svn.freebsd.org/changeset/base/229852 Log: Revert sub argument of MODULE_DECLARE back to r226532. Noticed by: bz Modified: head/sys/contrib/pf/net/if_pfsync.c head/sys/contrib/pf/net/pf_ioctl.c Modified:

svn commit: r229851 - head/sys/contrib/pf/net

2012-01-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 9 08:55:23 2012 New Revision: 229851 URL: http://svn.freebsd.org/changeset/base/229851 Log: In FreeBSD we determine presence of pfsync(4) at run-time, not at compile time, so define NPFSYNC to 1 always. While here, remove unused defines. Modified: head/sys/c

Re: svn commit: r229828 - in head/sys: kern ufs/ufs

2012-01-09 Thread Doug Barton
On 01/08/2012 15:06, Konstantin Belousov wrote: > Author: kib > Date: Sun Jan 8 23:06:53 2012 > New Revision: 229828 > URL: http://svn.freebsd.org/changeset/base/229828 > > Log: > Avoid LOR between vfs_busy() lock and covered vnode lock on quotaon(). Does this mean that if we turn witness back

svn commit: r229850 - in head: etc/rc.d sys/contrib/pf/net sys/netinet

2012-01-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 9 08:50:22 2012 New Revision: 229850 URL: http://svn.freebsd.org/changeset/base/229850 Log: Bunch of fixes to pfsync(4) module load/unload: o Make the pfsync.ko actually usable. Before this change loading it didn't register protosw, so was a nop. However,

svn commit: r229849 - head/sys/contrib/pf/net

2012-01-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 9 08:36:12 2012 New Revision: 229849 URL: http://svn.freebsd.org/changeset/base/229849 Log: o Fix panic on module unload, that happened due to mutex being destroyed prior to pfsync_uninit(). To do this, move all the initialization to the module_t method, in