svn commit: r239353 - head/sys/netinet

2012-08-16 Thread Randall Stewart
Author: rrs Date: Fri Aug 17 05:51:46 2012 New Revision: 239353 URL: http://svn.freebsd.org/changeset/base/239353 Log: Ok jhb, lets move the ifa_free() down to the bottom to assure that *all* tables and such are removed before we start to free. This won't protect the Hash in ip_input.c but

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

2012-08-16 Thread Alan Cox
Author: alc Date: Fri Aug 17 05:02:29 2012 New Revision: 239352 URL: http://svn.freebsd.org/changeset/base/239352 Log: Fix two problems with pmap_clear_modify(). First, pmap_clear_modify() is write protecting all mappings to the specified page, not just clearing the modified bit. Specifi

svn commit: r239351 - in head/sys: arm/xscale/ixp425 mips/atheros mips/cavium mips/rt305x

2012-08-16 Thread Rui Paulo
Author: rpaulo Date: Fri Aug 17 04:44:57 2012 New Revision: 239351 URL: http://svn.freebsd.org/changeset/base/239351 Log: The GPIO drivers were initialising their mutexes with type of MTX_NETWORK_LOCK. This is wrong since these mutexes have nothing to do with networking. Modified: head/sy

svn commit: r239349 - in head/sys: compat/freebsd32 kern sys

2012-08-16 Thread David Xu
Author: davidxu Date: Fri Aug 17 02:47:16 2012 New Revision: 239349 URL: http://svn.freebsd.org/changeset/base/239349 Log: regen. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/c

svn commit: r239348 - in head: contrib/file lib/libmagic

2012-08-16 Thread Stephen McKay
Author: mckay Date: Fri Aug 17 02:27:17 2012 New Revision: 239348 URL: http://svn.freebsd.org/changeset/base/239348 Log: Correct a regression introduced during the import of file(1) 5.11. Magic tests containing "search" or "regex" directives were incorrectly compiled by "mkmagic" and were

svn commit: r239347 - in head: lib/libc/gen lib/libc/sys lib/libthr/thread sys/compat/freebsd32 sys/kern sys/sys

2012-08-16 Thread David Xu
Author: davidxu Date: Fri Aug 17 02:26:31 2012 New Revision: 239347 URL: http://svn.freebsd.org/changeset/base/239347 Log: Implement syscall clock_getcpuclockid2, so we can get a clock id for process, thread or others we want to support. Use the syscall to implement POSIX API clock_getcpuclo

svn commit: r239346 - head/sys/netinet/khelp

2012-08-16 Thread Lawrence Stewart
Author: lstewart Date: Fri Aug 17 01:49:51 2012 New Revision: 239346 URL: http://svn.freebsd.org/changeset/base/239346 Log: The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP timestamp related stack variables to reference ms directly instead of ticks. The h_ertt(4) K

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

2012-08-16 Thread Kevin Lo
Author: kevlo Date: Fri Aug 17 01:05:56 2012 New Revision: 239345 URL: http://svn.freebsd.org/changeset/base/239345 Log: Make 'junk' volatile so that compilers won't be tempted to optimize Reviewed by: ache MFC after:3 days Modified: head/lib/libc/stdlib/random.c Modified: head/l

svn commit: r239344 - in head/sys: dev/cxgbe dev/cxgbe/common dev/cxgbe/tom modules/cxgbe/tom

2012-08-16 Thread Navdeep Parhar
Author: np Date: Fri Aug 17 00:49:29 2012 New Revision: 239344 URL: http://svn.freebsd.org/changeset/base/239344 Log: Support for TCP DDP (Direct Data Placement) in the T4 TOE module. Basically, this is automatic rx zero copy when feasible. TCP payload is DMA'd directly into the userspac

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

2012-08-16 Thread Randall Stewart
On Aug 16, 2012, at 3:34 PM, John Baldwin wrote: > On Thursday, August 16, 2012 1:55:17 pm Randall Stewart wrote: >> Author: rrs >> Date: Thu Aug 16 17:55:16 2012 >> New Revision: 239334 >> URL: http://svn.freebsd.org/changeset/base/239334 >> >> Log: >> Its never a good idea to double free the

svn commit: r239341 - head/sys/dev/cxgbe

2012-08-16 Thread Navdeep Parhar
Author: np Date: Thu Aug 16 22:33:56 2012 New Revision: 239341 URL: http://svn.freebsd.org/changeset/base/239341 Log: Initialize various DDP parameters in the main cxgbe(4) driver: - Setup multiple DDP page sizes. When the driver attempts DDP it will try to combine physically contiguou

svn commit: r239340 - in head: share/man/man4 sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/de...

2012-08-16 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 16 20:54:52 2012 New Revision: 239340 URL: http://svn.freebsd.org/changeset/base/239340 Log: Merge ACPICA 20120816. Added: head/sys/contrib/dev/acpica/components/utilities/utxfinit.c - copied, changed from r239333, vendor-sys/acpica/dist/source/components

svn commit: r239339 - head/sys/dev/cxgbe/firmware

2012-08-16 Thread Navdeep Parhar
Author: np Date: Thu Aug 16 20:30:14 2012 New Revision: 239339 URL: http://svn.freebsd.org/changeset/base/239339 Log: Make room for DDP page pods in the default configuration profile. While here, bump up the L2 table's size to 4K entries. MFC after:2 weeks Modified: head/sys/dev/c

svn commit: r239338 - in head/sys/dev/cxgbe: . tom

2012-08-16 Thread Navdeep Parhar
Author: np Date: Thu Aug 16 20:15:29 2012 New Revision: 239338 URL: http://svn.freebsd.org/changeset/base/239338 Log: Add a routine (t4_set_tcb_field) to update arbitrary parts of a hardware TCB. Filters are programmed by modifying the TCB too (via a different routine) and the reply to any

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

2012-08-16 Thread John Baldwin
On Thursday, August 16, 2012 1:55:17 pm Randall Stewart wrote: > Author: rrs > Date: Thu Aug 16 17:55:16 2012 > New Revision: 239334 > URL: http://svn.freebsd.org/changeset/base/239334 > > Log: > Its never a good idea to double free the same > address. > > MFC after: 1 week (after the ot

svn commit: r239337 - head/sys/nfs

2012-08-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Aug 16 19:22:34 2012 New Revision: 239337 URL: http://svn.freebsd.org/changeset/base/239337 Log: - Typo fix - style(9) fix Spotted by: kib@, Andrey Zonov Modified: head/sys/nfs/bootp_subr.c Modified: head/sys/nfs/bootp_subr.c ===

svn commit: r239336 - in head/sys/dev/cxgbe: . common

2012-08-16 Thread Navdeep Parhar
Author: np Date: Thu Aug 16 18:31:50 2012 New Revision: 239336 URL: http://svn.freebsd.org/changeset/base/239336 Log: Allow for a different handler for each type of firmware message. MFC after:2 weeks Modified: head/sys/dev/cxgbe/adapter.h head/sys/dev/cxgbe/common/t4_msg.h head/

svn commit: r239335 - head/sys/kern

2012-08-16 Thread John Baldwin
Author: jhb Date: Thu Aug 16 18:04:33 2012 New Revision: 239335 URL: http://svn.freebsd.org/changeset/base/239335 Log: Remove D_NEEDGIANT from dead_devsw. biofinish() (and thus dead_strategy) does not need Giant. MFC after:1 month Modified: head/sys/kern/kern_conf.c Modified: hea

svn commit: r239334 - head/sys/netinet

2012-08-16 Thread Randall Stewart
Author: rrs Date: Thu Aug 16 17:55:16 2012 New Revision: 239334 URL: http://svn.freebsd.org/changeset/base/239334 Log: Its never a good idea to double free the same address. MFC after:1 week (after the other commits ahead of this gets MFC'd) Modified: head/sys/netinet/in.c Modifie

svn commit: r239331 - head/sys/ia64/ia64

2012-08-16 Thread John Baldwin
Author: jhb Date: Thu Aug 16 17:17:08 2012 New Revision: 239331 URL: http://svn.freebsd.org/changeset/base/239331 Log: Add locking for sscdisk(4) and mark it MPSAFE. Since this driver just makes calls out to the emulator, the locking is fairly simple. A global mutex protects the list of ss

svn commit: r239330 - head/sys/dev/isp

2012-08-16 Thread Matt Jacob
Author: mjacob Date: Thu Aug 16 15:32:16 2012 New Revision: 239330 URL: http://svn.freebsd.org/changeset/base/239330 Log: On lun disable, complete all INOTs and ATIOs with CAM_REQ_ABORTED. Reviewed by: ken (silently), chuck MFC after:3 weeks Modified: head/sys/dev/isp/isp_freebsd.

svn commit: r239329 - head/sys/kern

2012-08-16 Thread Konstantin Belousov
Author: kib Date: Thu Aug 16 13:04:21 2012 New Revision: 239329 URL: http://svn.freebsd.org/changeset/base/239329 Log: As a safety measure, disable lowering pid_max too much. Requested by: Peter Jeremy MFC after:1 week Modified: head/sys/kern/kern_mib.c head/sys/kern/subr_param.

svn commit: r239328 - in head/sys: kern nlm

2012-08-16 Thread Konstantin Belousov
Author: kib Date: Thu Aug 16 13:01:56 2012 New Revision: 239328 URL: http://svn.freebsd.org/changeset/base/239328 Log: Fix grammar. Submitted by: jh MFC after:1 week Modified: head/sys/kern/init_main.c head/sys/kern/kern_thread.c head/sys/nlm/nlm_advlock.c Modified: head/sys/k

Re: svn commit: r239318 - head/sys/nfs

2012-08-16 Thread Konstantin Belousov
On Thu, Aug 16, 2012 at 12:51:50AM +, Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Thu Aug 16 00:51:50 2012 > New Revision: 239318 > URL: http://svn.freebsd.org/changeset/base/239318 > > Log: > Merge somewhat modified r230399 from projects/armv6: > > Add timeout to wait for netwo

svn commit: r239327 - head/sys/vm

2012-08-16 Thread Dag-Erling Sm�rgrav
Author: des Date: Thu Aug 16 08:29:49 2012 New Revision: 239327 URL: http://svn.freebsd.org/changeset/base/239327 Log: - When running out of swzone, instead of spewing an error message every tick until the situation is resolved (if ever), just print a single message when running out and

svn commit: r239326 - head/sys/dev/sound/pci/hda

2012-08-16 Thread Alexander Motin
Author: mav Date: Thu Aug 16 07:43:15 2012 New Revision: 239326 URL: http://svn.freebsd.org/changeset/base/239326 Log: Fix "speaker" volume control, broken at r230451. Reported and tested by: Slawa Olhovchenkov MFC after:1 month Modified: head/sys/dev/sound/pci/hda/hdaa.c M

Re: svn commit: r239301 - in head/sys: kern nlm sys

2012-08-16 Thread Peter Jeremy
On 2012-Aug-15 15:56:21 +, Konstantin Belousov wrote: > Add a sysctl kern.pid_max, which limits the maximum pid the system is > allowed to allocate, and corresponding tunable with the same > name. Note that existing processes with higher pids are left intact. Sorry for not picking this up