Re: svn commit: r245494 - head/bin/pwait

2013-01-15 Thread Xin LI
This doesn't seem right -- you should never release memory before exit, especially for memory allocated in main(), unless this "main" is intended for different purpose like a monolithic shell that wants to avoid exec(). Note that pwait(1) have multiple exit points I don't think it's practical. Wo

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread Bruce Evans
On Tue, 15 Jan 2013, Wojciech A. Koszek wrote: On Tue, Jan 15, 2013 at 08:26:16AM +, Ganbold Tsagaankhuu wrote: ... Added: head/sys/arm/allwinner/console.c == --- /dev/null 00:00:00 1970 (empty, because file is

svn commit: r245495 - head/sys/fs/nullfs

2013-01-15 Thread Konstantin Belousov
Author: kib Date: Wed Jan 16 05:32:49 2013 New Revision: 245495 URL: http://svnweb.freebsd.org/changeset/base/245495 Log: Remove the filtering of the acceptable mount options for nullfs, added in r245004. Although the report was for noatime option which is non-functional for the nullfs, oth

svn commit: r245494 - head/bin/pwait

2013-01-15 Thread Eitan Adler
Author: eadler Date: Wed Jan 16 05:03:52 2013 New Revision: 245494 URL: http://svnweb.freebsd.org/changeset/base/245494 Log: Free memory before exiting in order to silence a warning from the clang static analyzer Approved by: cperciva MFC after:3 days Modified: head/bin/pwait/pw

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

2013-01-15 Thread Eitan Adler
Author: eadler Date: Wed Jan 16 05:03:49 2013 New Revision: 245493 URL: http://svnweb.freebsd.org/changeset/base/245493 Log: Remove unused variables Approved by: cperciva MFC After:3 days Modified: head/usr.sbin/pw/pw_log.c Modified: head/usr.sbin/pw/pw_log.c

svn commit: r245492 - head/sbin/setkey

2013-01-15 Thread Eitan Adler
Author: eadler Date: Wed Jan 16 05:03:46 2013 New Revision: 245492 URL: http://svnweb.freebsd.org/changeset/base/245492 Log: Correct prefix for "locally installed things" Approved by: cperciva MFC After:3 days Modified: head/sbin/setkey/Makefile Modified: head/sbin/setkey/Makefil

svn commit: r245491 - head/usr.sbin/cpucontrol

2013-01-15 Thread Eitan Adler
Author: eadler Date: Wed Jan 16 05:00:51 2013 New Revision: 245491 URL: http://svnweb.freebsd.org/changeset/base/245491 Log: Avoid clobbering errno with a call to fprintf PR: bin/173923 Submitted by: Garrett Cooper Approved by: cperciva MFC After:3 days Modified: he

svn commit: r245487 - head/share/man/man4

2013-01-15 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 16 02:22:56 2013 New Revision: 245487 URL: http://svnweb.freebsd.org/changeset/base/245487 Log: Add D-Link DFE-520TX (rev. C1) to HARDWARE section. MFC After:1 week Modified: head/share/man/man4/rl.4 Modified: head/share/man/man4/rl.4 ==

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread Ian Lepore
On Wed, 2013-01-16 at 09:22 +0800, Ganbold Tsagaankhuu wrote: > On Wed, Jan 16, 2013 at 12:21 AM, Wojciech A. Koszek > wrote: > > On Tue, Jan 15, 2013 at 08:26:16AM +, Ganbold Tsagaankhuu wrote: > >> Author: ganbold (doc committer) > >> Date: Tue Jan 15 08:26:16 2013 > >> New Revision: 245450

svn commit: r245485 - head/sys/pci

2013-01-15 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 16 01:30:46 2013 New Revision: 245485 URL: http://svnweb.freebsd.org/changeset/base/245485 Log: Add D-Link DFE-520TX rev C1. Tested by:Ruslan Makhmatkhanov < cvs-src <> yandex dot ru > MFC After:1 week Modified: head/sys/pci/if_rl.c head/sys/pci/

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread Ganbold Tsagaankhuu
On Wed, Jan 16, 2013 at 12:21 AM, Wojciech A. Koszek wrote: > On Tue, Jan 15, 2013 at 08:26:16AM +, Ganbold Tsagaankhuu wrote: >> Author: ganbold (doc committer) >> Date: Tue Jan 15 08:26:16 2013 >> New Revision: 245450 >> URL: http://svnweb.freebsd.org/changeset/base/245450 >> >> Log: >> In

svn commit: r245479 - head/cddl/contrib/opensolaris/lib/libzfs/common

2013-01-15 Thread Steven Hartland
Author: smh Date: Tue Jan 15 23:34:24 2013 New Revision: 245479 URL: http://svnweb.freebsd.org/changeset/base/245479 Log: Reports pools which have a removed l2cache disk under -x as this is what happens when a cache device is dropped for any reason. Reviewed by: pjd Approved by: pjd (

svn commit: r245478 - head/sys/arm/arm

2013-01-15 Thread Olivier Houchard
Author: cognet Date: Tue Jan 15 22:11:28 2013 New Revision: 245478 URL: http://svnweb.freebsd.org/changeset/base/245478 Log: Use armv7_drain_writebuf() and armv7_context_switch, instead of the arm11 variants. Modified: head/sys/arm/arm/cpufunc.c Modified: head/sys/arm/arm/cpufunc.c ===

svn commit: r245477 - head/sys/arm/arm

2013-01-15 Thread Olivier Houchard
Author: cognet Date: Tue Jan 15 22:09:11 2013 New Revision: 245477 URL: http://svnweb.freebsd.org/changeset/base/245477 Log: Only spin on the blocked_lock for SCHED_ULE+SMP, as it's done on the other arches. Modified: head/sys/arm/arm/swtch.S Modified: head/sys/arm/arm/swtch.S

svn commit: r245476 - in head/sys: fs/nfs nfsclient

2013-01-15 Thread John Baldwin
Author: jhb Date: Tue Jan 15 22:08:17 2013 New Revision: 245476 URL: http://svnweb.freebsd.org/changeset/base/245476 Log: - More properly handle interrupted NFS requests on an interruptible mount by returning an error of EINTR rather than EACCES. - While here, bring back some (but not all)

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

2013-01-15 Thread Olivier Houchard
Author: cognet Date: Tue Jan 15 22:08:03 2013 New Revision: 245475 URL: http://svnweb.freebsd.org/changeset/base/245475 Log: Don't define rel/acq variants of some atomic operations as the regular version for armv6. Modified: head/sys/arm/include/atomic.h Modified: head/sys/arm/include/atom

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread Eitan Adler
On 15 January 2013 14:00, John-Mark Gurney wrote: > Ganbold Tsagaankhuu wrote this message on Tue, Jan 15, 2013 at 08:26 +: >> + * Copyright (c) 2012 Ganbold Tsagaankhuu. > > Also, (c) doesn't add anything. It needs to be either Copyright (which > you have) or a c in a circle, the parens aro

svn commit: r245471 - head/sys/dev/puc

2013-01-15 Thread John Baldwin
Author: jhb Date: Tue Jan 15 20:13:25 2013 New Revision: 245471 URL: http://svnweb.freebsd.org/changeset/base/245471 Log: Do not require a filter-only interrupt handler for puc ports that are not serial devices (such as printer ports). This allows ppc devices attached to puc to correctly se

svn commit: r245469 - head/sys/kern

2013-01-15 Thread Alfred Perlstein
Author: alfred Date: Tue Jan 15 19:26:17 2013 New Revision: 245469 URL: http://svnweb.freebsd.org/changeset/base/245469 Log: Do not autotune ncallout to be greater than 18508. When maxusers was unrestricted and maxfiles was allowed to autotune much higher the result was that ncallout whic

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread John-Mark Gurney
Ganbold Tsagaankhuu wrote this message on Tue, Jan 15, 2013 at 08:26 +: > + * Copyright (c) 2012 Ganbold Tsagaankhuu. Also, (c) doesn't add anything. It needs to be either Copyright (which you have) or a c in a circle, the parens around a c have not been given legal force... -- John-Mark

svn commit: r245468 - head/sys/dev/cxgbe/tom

2013-01-15 Thread Navdeep Parhar
Author: np Date: Tue Jan 15 18:50:40 2013 New Revision: 245468 URL: http://svnweb.freebsd.org/changeset/base/245468 Log: cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (passive open). MFC after:1 week Modified: head/sys/dev/cxgbe/tom/t4_listen.c Modified: head/sys/

svn commit: r245467 - head/sys/dev/cxgbe/tom

2013-01-15 Thread Navdeep Parhar
Author: np Date: Tue Jan 15 18:38:51 2013 New Revision: 245467 URL: http://svnweb.freebsd.org/changeset/base/245467 Log: cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (active open). MFC after:1 week Modified: head/sys/dev/cxgbe/tom/t4_connect.c Modified: head/sys/d

Re: svn commit: r245269 - head/share/mk

2013-01-15 Thread Steve Kargl
On Tue, Jan 15, 2013 at 09:59:41AM -0800, Steve Kargl wrote: > On Tue, Jan 15, 2013 at 06:08:36PM +0100, Dag-Erling Smørgrav wrote: > > Steve Kargl writes: > > > I suggest adding a blurb to src/UPDATING to help others with memory > > > loss issues. > > > > Thanks, can you commit that patch? > >

svn commit: r245466 - head/sys/conf

2013-01-15 Thread Adrian Chadd
Author: adrian Date: Tue Jan 15 18:04:15 2013 New Revision: 245466 URL: http://svnweb.freebsd.org/changeset/base/245466 Log: Add some new debugging options for the ath(4) and ath_hal(4) drivers. Modified: head/sys/conf/options Modified: head/sys/conf/options =

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

2013-01-15 Thread Adrian Chadd
Author: adrian Date: Tue Jan 15 18:01:23 2013 New Revision: 245465 URL: http://svnweb.freebsd.org/changeset/base/245465 Log: Implement frame (data) transmission using if_transmit(), rather than if_start(). This removes the overlapping data path TX from occuring, which solves quite a num

Re: svn commit: r245269 - head/share/mk

2013-01-15 Thread Steve Kargl
On Tue, Jan 15, 2013 at 06:08:36PM +0100, Dag-Erling Smørgrav wrote: > Steve Kargl writes: > > I suggest adding a blurb to src/UPDATING to help others with memory > > loss issues. > > Thanks, can you commit that patch? > Yes. But, I found that your commit only indirectly caused the problem. T

svn commit: r245464 - head/sys/net80211

2013-01-15 Thread Adrian Chadd
Author: adrian Date: Tue Jan 15 17:50:07 2013 New Revision: 245464 URL: http://svnweb.freebsd.org/changeset/base/245464 Log: Remove the use of the ifnet send queue and if_start() in the power save queue code. Instead, use if_transmit() directly - and handle the cases where frame transmi

svn commit: r245463 - head/share/misc

2013-01-15 Thread Rene Ladan
Author: rene (doc,ports committer) Date: Tue Jan 15 17:17:54 2013 New Revision: 245463 URL: http://svnweb.freebsd.org/changeset/base/245463 Log: Add gjb as my co-mentor now that I have a full doc/www bit. Approved by: remko (mentor) Modified: head/share/misc/committers-doc.dot Modified

Re: svn commit: r245269 - head/share/mk

2013-01-15 Thread Dag-Erling Smørgrav
Steve Kargl writes: > I suggest adding a blurb to src/UPDATING to help others with memory > loss issues. Thanks, can you commit that patch? DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mai

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread Wojciech A. Koszek
On Tue, Jan 15, 2013 at 08:26:16AM +, Ganbold Tsagaankhuu wrote: > Author: ganbold (doc committer) > Date: Tue Jan 15 08:26:16 2013 > New Revision: 245450 > URL: http://svnweb.freebsd.org/changeset/base/245450 > > Log: > Initial support for Allwinner A10 SoC (Cubieboard) > Add simple c

svn commit: r245459 - head/sys/dev/ciss

2013-01-15 Thread Sean Bruno
Author: sbruno Date: Tue Jan 15 14:35:35 2013 New Revision: 245459 URL: http://svnweb.freebsd.org/changeset/base/245459 Log: Satisfy the intent of kern/151564: [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 107 Submitter wanted to increase the number of logical disks supported by ciss

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

2013-01-15 Thread Andrey Zonov
Author: zont Date: Tue Jan 15 14:09:08 2013 New Revision: 245458 URL: http://svnweb.freebsd.org/changeset/base/245458 Log: - Use standard RETURN VALUES section. Approved by: kib (mentor) MFC after:1 week Modified: head/lib/libc/sys/chroot.2 Modified: head/lib/libc/sys/chroot.2 ==

svn commit: r245457 - head/sys/kern

2013-01-15 Thread Andrey Zonov
Author: zont Date: Tue Jan 15 14:05:59 2013 New Revision: 245457 URL: http://svnweb.freebsd.org/changeset/base/245457 Log: - Detect when we are in KVM. Silence on: emulation Approved by: kib (mentor) MFC after:1 week Modified: head/sys/kern/subr_param.c Modified: head/sys/ker

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

2013-01-15 Thread Gleb Smirnoff
Bruce, On Tue, Jan 15, 2013 at 11:13:36PM +1100, Bruce Evans wrote: B> > can you please look at attached patch, that fixes problems you B> > describe? It B> > B> > - fixes mentioned style bugs in param.h B> > - adds int casts to MHLEN and MLEN B> > - removes extra casts from (void *) to (struct

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

2013-01-15 Thread Bruce Evans
On Tue, 15 Jan 2013, Gleb Smirnoff wrote: On Thu, Jan 10, 2013 at 09:31:28AM +1100, Bruce Evans wrote: B> > On Wed, Jan 09, 2013 at 09:09:09AM +, Hans Petter Selasky wrote: B> > H> Log: B> > H> Fix compile warning when using GCC: B> > H> Comparison between signed and unsigned. B> B>

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

2013-01-15 Thread Gleb Smirnoff
On Thu, Jan 10, 2013 at 09:31:28AM +1100, Bruce Evans wrote: B> > On Wed, Jan 09, 2013 at 09:09:09AM +, Hans Petter Selasky wrote: B> > H> Log: B> > H> Fix compile warning when using GCC: B> > H> Comparison between signed and unsigned. B> B> o Add 3 style bugs: B> 2 sets of e

svn commit: r245456 - in head: sbin/geom/class/raid3 sys/geom/raid3

2013-01-15 Thread Alexander Motin
Author: mav Date: Tue Jan 15 10:06:35 2013 New Revision: 245456 URL: http://svnweb.freebsd.org/changeset/base/245456 Log: Allow to insert new component to geom_raid3 without specifying number. PR: kern/160562 MFC after:2 weeks Modified: head/sbin/geom/class/raid3/geom_rai

svn commit: r245455 - head/sys/arm/allwinner

2013-01-15 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Tue Jan 15 09:56:20 2013 New Revision: 245455 URL: http://svnweb.freebsd.org/changeset/base/245455 Log: Add mistakenly removed third clause to license Reviewed by: joel Modified: head/sys/arm/allwinner/bus_space.c Modified: head/sys/arm/allwinner/bu

svn commit: r245454 - head/sys/arm/allwinner

2013-01-15 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Tue Jan 15 09:39:11 2013 New Revision: 245454 URL: http://svnweb.freebsd.org/changeset/base/245454 Log: Fix formatting of license according to share/examples/etc/bsd-style-copyright Reviewed by: joel Modified: head/sys/arm/allwinner/a10_machdep.c h

svn commit: r245453 - head/sys/arm/allwinner

2013-01-15 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Tue Jan 15 09:31:13 2013 New Revision: 245453 URL: http://svnweb.freebsd.org/changeset/base/245453 Log: Fix license to follow standard license template Reviewed by: joel Modified: head/sys/arm/allwinner/a10_machdep.c head/sys/arm/allwinner/bus_spac

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread Alexander Motin
On 15.01.2013 10:26, Ganbold Tsagaankhuu wrote: > Author: ganbold (doc committer) > Date: Tue Jan 15 08:26:16 2013 > New Revision: 245450 > URL: http://svnweb.freebsd.org/changeset/base/245450 > > Log: > Initial support for Allwinner A10 SoC (Cubieboard) > Add simple console driver >

svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Tue Jan 15 08:26:16 2013 New Revision: 245450 URL: http://svnweb.freebsd.org/changeset/base/245450 Log: Initial support for Allwinner A10 SoC (Cubieboard) Add simple console driver Add interrupt handling and timer codes Add kernel con