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

2010-03-21 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 22 04:24:19 2010 New Revision: 205435 URL: http://svn.freebsd.org/changeset/base/205435 Log: Drop the pmap argument to pmap_invalidate_page(). It's not used other than in a KASSERT. The KASSERT is broken in that it's done outside the critical section and as such

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

2010-03-21 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 22 04:01:45 2010 New Revision: 205434 URL: http://svn.freebsd.org/changeset/base/205434 Log: With preemption, the high FP registers may get enabled by cpu_switch() before we grab the mutex. Don't assert that they must be disabled at that point. We pretty much byp

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

2010-03-21 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 22 03:55:18 2010 New Revision: 205433 URL: http://svn.freebsd.org/changeset/base/205433 Log: Fix interrupt handling by extending the critical region so that preemption doesn't happen until after all pending interrupt have been services. While here again, simpli

svn commit: r205432 - head/sys/ia64/pci

2010-03-21 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 22 03:06:11 2010 New Revision: 205432 URL: http://svn.freebsd.org/changeset/base/205432 Log: Disable interrupts when calling into SAL for PCI configuration cycles. This serves 2 purposes: 1. It prevents preemption and CPU migration while running SAL code. 2.

svn commit: r205431 - head/sys/ia64/include

2010-03-21 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 22 02:01:33 2010 New Revision: 205431 URL: http://svn.freebsd.org/changeset/base/205431 Log: Define curthread as an inline function that loads the thread pointer directly from r13, the pcpu pointer. This guarantees correct behaviour when the thread migrates to a

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

2010-03-21 Thread Marcel Moolenaar
Author: marcel Date: Sun Mar 21 22:39:11 2010 New Revision: 205429 URL: http://svn.freebsd.org/changeset/base/205429 Log: Print MD fields in the pcpu to aid debugging. Modified: head/sys/ia64/ia64/db_machdep.c Modified: head/sys/ia64/ia64/db_machdep.c

svn commit: r205428 - head/sys/ia64/include

2010-03-21 Thread Marcel Moolenaar
Author: marcel Date: Sun Mar 21 22:33:09 2010 New Revision: 205428 URL: http://svn.freebsd.org/changeset/base/205428 Log: Don't include when _MACHINE_REGSET_H_ in defined. This is not for multiple inclusion purposes, because _regset.h already handles this, but to enable inclusion of the MD

svn commit: r205427 - in head: tools/regression/usr.bin/ncal usr.bin/ncal

2010-03-21 Thread Edwin Groothuis
Author: edwin Date: Sun Mar 21 21:33:21 2010 New Revision: 205427 URL: http://svn.freebsd.org/changeset/base/205427 Log: Replace -b with -C and -B (as proposed by Alexander). Add -3, -A and -B to the usage. Update regression test for the new parameters. Modified: head/tools/regression/usr

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

2010-03-21 Thread Olivier Houchard
Author: cognet Date: Sun Mar 21 21:03:35 2010 New Revision: 205425 URL: http://svn.freebsd.org/changeset/base/205425 Log: Make sure we insert and remove the PV entries related to unmanaged kernel mappings into the kernel pmap, not into the pmap related to the pmap_enter_pv()/pmap_remove_pv()

svn commit: r205424 - head/lib/libc/gen

2010-03-21 Thread Ed Schouten
Author: ed Date: Sun Mar 21 20:45:06 2010 New Revision: 205424 URL: http://svn.freebsd.org/changeset/base/205424 Log: Let opendir() use O_DIRECTORY. I am not removing the fstat() calls here, since we cannot yet assume people will always run kernels that respect O_DIRECTORY. Modified: h

svn commit: r205423 - in head: lib/libc/sys sys/compat/linux sys/kern

2010-03-21 Thread Ed Schouten
Author: ed Date: Sun Mar 21 20:43:23 2010 New Revision: 205423 URL: http://svn.freebsd.org/changeset/base/205423 Log: Actually make O_DIRECTORY work. According to POSIX open() must return ENOTDIR when the path name does not refer to a path name. Change vn_open() to respect this flag. This

svn commit: r205422 - head/sys/dev/ahci

2010-03-21 Thread Alexander Motin
Author: mav Date: Sun Mar 21 18:18:58 2010 New Revision: 205422 URL: http://svn.freebsd.org/changeset/base/205422 Log: - Spec tells that CCC interrupt is edge triggered. Acknowledge it as such. - Do not try to enable CCC if it is not supported. Modified: head/sys/dev/ahci/ahci.c Modified:

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

2010-03-21 Thread Sam Leffler
Author: sam Date: Sun Mar 21 17:53:54 2010 New Revision: 205421 URL: http://svn.freebsd.org/changeset/base/205421 Log: remove pre-vap examples Modified: head/share/man/man4/ath.4 Modified: head/share/man/man4/ath.4 =

svn commit: r205417 - in head/sys: conf netinet/ipfw netinet/ipfw/test

2010-03-21 Thread Luigi Rizzo
Author: luigi Date: Sun Mar 21 16:30:32 2010 New Revision: 205417 URL: http://svn.freebsd.org/changeset/base/205417 Log: Add a priority-based packet scheduler. Sponsored by: The ONELAB2 Project Submitted by: Riccardo Panicucci Added: head/sys/netinet/ipfw/dn_sched_prio.c (contents, p

svn commit: r205416 - head/share/man/man9

2010-03-21 Thread Konstantin Belousov
Author: kib Date: Sun Mar 21 16:14:19 2010 New Revision: 205416 URL: http://svn.freebsd.org/changeset/base/205416 Log: Correct the type for uio_resid. MFC after:3 days Modified: head/share/man/man9/uio.9 Modified: head/share/man/man9/uio.9 ===

svn commit: r205415 - head/sys/netinet/ipfw

2010-03-21 Thread Luigi Rizzo
Author: luigi Date: Sun Mar 21 15:54:07 2010 New Revision: 205415 URL: http://svn.freebsd.org/changeset/base/205415 Log: no need for ipfw_flush_tables(), we just need ipfw_destroy_tables() Modified: head/sys/netinet/ipfw/ip_fw_private.h head/sys/netinet/ipfw/ip_fw_table.c Modified: head/sy

svn commit: r205414 - head/sys/netinet/ipfw

2010-03-21 Thread Luigi Rizzo
Author: luigi Date: Sun Mar 21 15:52:55 2010 New Revision: 205414 URL: http://svn.freebsd.org/changeset/base/205414 Log: revise documentation Modified: head/sys/netinet/ipfw/dn_sched.h Modified: head/sys/netinet/ipfw/dn_sched.h

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

2010-03-21 Thread Alexander Motin
Author: mav Date: Sun Mar 21 15:14:21 2010 New Revision: 205413 URL: http://svn.freebsd.org/changeset/base/205413 Log: Add some more codec IDs. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c

svn commit: r205412 - in head: sbin/geom/class/multipath sys/geom/multipath

2010-03-21 Thread Matt Jacob
Author: mjacob Date: Sun Mar 21 15:02:47 2010 New Revision: 205412 URL: http://svn.freebsd.org/changeset/base/205412 Log: Add 'rotate' and 'getactive' verbs to provide some control and information about what the currently active path is. Sponsored by: Panasas MFC after:1 month Modi

svn commit: r205411 - head/sys/net

2010-03-21 Thread Ed Maste
Author: emaste Date: Sun Mar 21 15:00:33 2010 New Revision: 205411 URL: http://svn.freebsd.org/changeset/base/205411 Log: Avoid holding the VLAN_LOCK() over the parent interface SIOCGIFMEDIA ioctl call, as it may sleep. Reviewed by: rwatson Modified: head/sys/net/if_vlan.c Modified:

svn commit: r205410 - head/lib/libc/sparc64/fpu

2010-03-21 Thread Marius Strobl
Author: marius Date: Sun Mar 21 13:18:08 2010 New Revision: 205410 URL: http://svn.freebsd.org/changeset/base/205410 Log: Avoid aliasing which leads to incorrect results when compiling with the default strict aliasing rules. PR: 144900 Submitted by: Peter Jeremy MFC after:

svn commit: r205409 - in head/sys/sparc64: include sparc64

2010-03-21 Thread Marius Strobl
Author: marius Date: Sun Mar 21 13:09:54 2010 New Revision: 205409 URL: http://svn.freebsd.org/changeset/base/205409 Log: - The firmware of Sun Fire V1280 has a misfeature of setting %wstate to 7 which corresponds to WSTATE_KMIX in OpenSolaris whenever calling into it which totally screw

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

2010-03-21 Thread Robert Watson
On Sat, 20 Mar 2010, Kip Macy wrote: - spread tcp timer callout load evenly across cpus if net.inet.tcp.per_cpu_timers is set to 1 - don't default to acquiring tcbinfo lock exclusively in rexmt MFC after: 7 days In the future, it would be helpful if you could make independent changes