Re: svn commit: r206814 - head/sys/vm

2010-04-20 Thread Alan Cox
Peter Jeremy wrote: On 2010-Apr-18 21:29:28 +, Alan Cox wrote: Remove a nonsensical test from vm_pageout_clean(). A page can't be in the inactive queue and have a non-zero wire count. Should this test be turned into a KASSERT()? I considered it, but no I don't think an as

Re: svn commit: r206945 - head/share/misc

2010-04-20 Thread Ryan Stone
Sorry, I forgot the following: Approved by: emaste (mentor) and jkoshy (mentor) I'm looking into why svn wasn't using the default checkin template for me. On Tue, Apr 20, 2010 at 6:43 PM, Ryan Stone wrote: > Author: rstone > Date: Tue Apr 20 22:43:53 2010 > New Revision: 206945 > URL: http://s

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

2010-04-20 Thread Garrett Cooper
On Tue, Apr 20, 2010 at 6:13 PM, Xin LI wrote: > Author: delphij > Date: Wed Apr 21 01:13:08 2010 > New Revision: 206973 > URL: http://svn.freebsd.org/changeset/base/206973 > > Log: >  When CPUTYPE is defined to any value, on amd64 platform "mmx" is >  available through MACHINE_CPU, indicating the

svn commit: r206973 - head/share/mk

2010-04-20 Thread Xin LI
Author: delphij Date: Wed Apr 21 01:13:08 2010 New Revision: 206973 URL: http://svn.freebsd.org/changeset/base/206973 Log: When CPUTYPE is defined to any value, on amd64 platform "mmx" is available through MACHINE_CPU, indicating the CPU supports that feature, as done by revision 138685.

svn commit: r206972 - head/tools/tools/netrate/tcpp

2010-04-20 Thread Robert Watson
Author: rwatson Date: Wed Apr 21 00:52:55 2010 New Revision: 206972 URL: http://svn.freebsd.org/changeset/base/206972 Log: Merge @176820, @176822, @177156 to tcpp from P4 to HEAD: Improve accuracy of connection data transfer math. Disable Nagle's algorithm to avoid delaying transfe

Re: svn commit: r206922 - head/sys/x86/isa

2010-04-20 Thread TAKAHASHI Yoshihiro
In article <201004202104.o3kl4vhv043...@svn.freebsd.org> Rui Paulo writes: > Log: > Fix another instance of lapic_cyclic_clock_func. > > Modified: > head/sys/x86/isa/clock.c > > Modified: head/sys/x86/isa/clock.c >

svn commit: r206945 - head/share/misc

2010-04-20 Thread Ryan Stone
Author: rstone Date: Tue Apr 20 22:43:53 2010 New Revision: 206945 URL: http://svn.freebsd.org/changeset/base/206945 Log: add new committer rstone to committers-src.dot Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot =

Re: svn commit: r206901 - in head/sys: amd64/amd64 cddl/dev/cyclic/i386 i386/i386 sys

2010-04-20 Thread Rui Paulo
On 20 Apr 2010, at 21:30, Bjoern A. Zeeb wrote: > On Tue, 20 Apr 2010, Rui Paulo wrote: > >> Author: rpaulo >> Date: Tue Apr 20 17:03:30 2010 >> New Revision: 206901 >> URL: http://svn.freebsd.org/changeset/base/206901 >> >> Log: >> Rename the cyclic global variable lapic_cyclic_clock_func to j

svn commit: r206924 - head/lib/libz

2010-04-20 Thread Xin LI
Author: delphij Date: Tue Apr 20 21:14:30 2010 New Revision: 206924 URL: http://svn.freebsd.org/changeset/base/206924 Log: MFV: zlib 1.2.5. Modified: head/lib/libz/ChangeLog head/lib/libz/README head/lib/libz/crc32.c head/lib/libz/deflate.c head/lib/libz/deflate.h head/lib/libz/gzgu

svn commit: r206922 - head/sys/x86/isa

2010-04-20 Thread Rui Paulo
Author: rpaulo Date: Tue Apr 20 21:04:57 2010 New Revision: 206922 URL: http://svn.freebsd.org/changeset/base/206922 Log: Fix another instance of lapic_cyclic_clock_func. Modified: head/sys/x86/isa/clock.c Modified: head/sys/x86/isa/clock.c ===

Re: svn commit: r206814 - head/sys/vm

2010-04-20 Thread Peter Jeremy
On 2010-Apr-18 21:29:28 +, Alan Cox wrote: > Remove a nonsensical test from vm_pageout_clean(). A page can't be in the > inactive queue and have a non-zero wire count. Should this test be turned into a KASSERT()? -- Peter Jeremy pgpUBaNmfHIN6.pgp Description: PGP signature

svn commit: r206916 - head/sys/kern

2010-04-20 Thread Warner Losh
Author: imp Date: Tue Apr 20 20:39:42 2010 New Revision: 206916 URL: http://svn.freebsd.org/changeset/base/206916 Log: Make sure that we free the passed in data message if we don't actually insert it onto the queue. Also, fix a mtx leak if someone turns off devctl while we're processing a m

svn commit: r206915 - head/usr.sbin/config

2010-04-20 Thread Warner Losh
Author: imp Date: Tue Apr 20 20:36:38 2010 New Revision: 206915 URL: http://svn.freebsd.org/changeset/base/206915 Log: Bump minor version of config to reflect the new option remapping feature. The kernel makefiles have specifically not been bumped because nothing uses this new feature and d

Re: svn commit: r206901 - in head/sys: amd64/amd64 cddl/dev/cyclic/i386 i386/i386 sys

2010-04-20 Thread Bjoern A. Zeeb
On Tue, 20 Apr 2010, Rui Paulo wrote: Author: rpaulo Date: Tue Apr 20 17:03:30 2010 New Revision: 206901 URL: http://svn.freebsd.org/changeset/base/206901 Log: Rename the cyclic global variable lapic_cyclic_clock_func to just cyclic_clock_func. This will make more sense when we start developi

svn commit: r206909 - head/sys/dev/sis

2010-04-20 Thread Bruce Cran
Author: brucec Date: Tue Apr 20 19:30:12 2010 New Revision: 206909 URL: http://svn.freebsd.org/changeset/base/206909 Log: It's not necessary to reset the chip every time an input overflow event occurs. In addition, the delay when programming the short cable fix should be 100us, not 100ms.

svn commit: r206904 - head/share/misc

2010-04-20 Thread Ana Kukec
Author: anchie Date: Tue Apr 20 18:16:56 2010 New Revision: 206904 URL: http://svn.freebsd.org/changeset/base/206904 Log: Add myself and list bz@ as my mentor. Approved by: bz (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot ===

svn commit: r206903 - head/sys/sys

2010-04-20 Thread Warner Losh
Author: imp Date: Tue Apr 20 17:57:43 2010 New Revision: 206903 URL: http://svn.freebsd.org/changeset/base/206903 Log: Make this file more C++ friendly. Modified: head/sys/sys/thr.h Modified: head/sys/sys/thr.h == --

svn commit: r206902 - head/sys/mips/mips

2010-04-20 Thread Rui Paulo
Author: rpaulo Date: Tue Apr 20 17:22:20 2010 New Revision: 206902 URL: http://svn.freebsd.org/changeset/base/206902 Log: Add the necessary hooks for dtrace cyclic module. Modified: head/sys/mips/mips/tick.c Modified: head/sys/mips/mips/tick.c

svn commit: r206901 - in head/sys: amd64/amd64 cddl/dev/cyclic/i386 i386/i386 sys

2010-04-20 Thread Rui Paulo
Author: rpaulo Date: Tue Apr 20 17:03:30 2010 New Revision: 206901 URL: http://svn.freebsd.org/changeset/base/206901 Log: Rename the cyclic global variable lapic_cyclic_clock_func to just cyclic_clock_func. This will make more sense when we start developing non x86 cyclic version. Modified:

svn commit: r206900 - in head/sys: cddl/dev/cyclic/amd64 modules/cyclic

2010-04-20 Thread Rui Paulo
Author: rpaulo Date: Tue Apr 20 16:30:17 2010 New Revision: 206900 URL: http://svn.freebsd.org/changeset/base/206900 Log: The amd64 version of the cyclic dtrace module is a verbatim copy of the i386 version, so instead having a copy of the same file, use Makefile foo to include the i386 vers

svn commit: r206898 - head/lib/libc/stdlib

2010-04-20 Thread Konstantin Belousov
Author: kib Date: Tue Apr 20 14:22:29 2010 New Revision: 206898 URL: http://svn.freebsd.org/changeset/base/206898 Log: Free() is not allowed to modify errno, remove safety brackets around it [1]. Add small optimization, do not copy a string to the buffer that is to be freed immediately after

Re: svn commit: r206843 - head/sbin/ipfw

2010-04-20 Thread Robert Noland
Julian Elischer wrote: On 4/19/10 9:01 AM, Robert Noland wrote: Luigi Rizzo wrote: [...] Index: sbin/ipfw/ipfw2.c === --- sbin/ipfw/ipfw2.c (revision 206844) +++ sbin/ipfw/ipfw2.c (working copy) @@ -326,7 +326,7 @@ #ifdef T

svn commit: r206897 - head/sys/kern

2010-04-20 Thread Attilio Rao
Author: attilio Date: Tue Apr 20 12:22:06 2010 New Revision: 206897 URL: http://svn.freebsd.org/changeset/base/206897 Log: Fix compilation in the !SMP case. Keep the interrupts disabled in order to avoid preemption problems. Reported by: tinderbox, b.f. MFC: 2 weeks X-MFC:

svn commit: r206895 - head/sys/mips/rmi

2010-04-20 Thread Rui Paulo
Author: rpaulo Date: Tue Apr 20 10:42:08 2010 New Revision: 206895 URL: http://svn.freebsd.org/changeset/base/206895 Log: Remove svn:executable prop. Modified: Directory Properties: head/sys/mips/rmi/debug.h (props changed) head/sys/mips/rmi/msgring.h (props changed) head/sys/mips/rmi

svn commit: r206894 - in head/sys: fs/pseudofs kern ufs/ufs

2010-04-20 Thread Konstantin Belousov
Author: kib Date: Tue Apr 20 10:19:27 2010 New Revision: 206894 URL: http://svn.freebsd.org/changeset/base/206894 Log: The cache_enter(9) function shall not be called for doomed dvp. Assert this. In the reported panic, vdestroy() fired the assertion "vp has namecache for ..", because ps

svn commit: r206893 - in head: include lib/libc/stdlib

2010-04-20 Thread Konstantin Belousov
Author: kib Date: Tue Apr 20 10:16:44 2010 New Revision: 206893 URL: http://svn.freebsd.org/changeset/base/206893 Log: Slightly modernize realpath(3). SUSv4 requires that implementation returns EINVAL if supplied path is NULL, and ENOENT if path is empty string [1]. Bring prototype in c

Re: svn commit: r206843 - head/sbin/ipfw

2010-04-20 Thread Bruce Evans
On Tue, 20 Apr 2010, Luigi Rizzo wrote: On Mon, Apr 19, 2010 at 03:44:25PM -0700, Julian Elischer wrote: On 4/19/10 9:01 AM, Robert Noland wrote: Luigi Rizzo wrote: [...] Index: sbin/ipfw/ipfw2.c === --- sbin/ipfw/ipfw2.c (

svn commit: r206892 - head/sys/netinet

2010-04-20 Thread Michael Tuexen
Author: tuexen Date: Tue Apr 20 08:51:21 2010 New Revision: 206892 URL: http://svn.freebsd.org/changeset/base/206892 Log: Update highest_tsn variables when sliding mapping arrays. Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c ==

svn commit: r206891 - head/sys/netinet

2010-04-20 Thread Michael Tuexen
Author: tuexen Date: Tue Apr 20 08:50:19 2010 New Revision: 206891 URL: http://svn.freebsd.org/changeset/base/206891 Log: Really print the nr_mapping array when it should be printed.` MFC after: 3 days. Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c

Re: svn commit: r206140 - head/sys/vm

2010-04-20 Thread Alan Cox
K. Macy wrote: How has the problem been addressed? I'm seeing periodic panics with non-zero resident count with the page lock patch applied. It is possible that I've inadvertently re-introduced an issue you've fixed. r196318 and r189783 come to mind. On Sat, Apr 3, 2010 at 9:20 AM, Alan