svn commit: r213761 - head/sys/kern

2010-10-12 Thread David Xu
Author: davidxu Date: Wed Oct 13 06:28:40 2010 New Revision: 213761 URL: http://svn.freebsd.org/changeset/base/213761 Log: sigqueue_collect_set() is no longer needed because other functions maintain pending set correctly. Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.

Re: svn commit: r213744 - head/bin/sh

2010-10-12 Thread Bruce Evans
On Tue, 12 Oct 2010, David O'Brien wrote: On Wed, Oct 13, 2010 at 02:18:33PM +1100, Bruce Evans wrote: On Tue, 12 Oct 2010, David E. O'Brien wrote: Log: If DEBUG is 3 or greater, disable STATICization of functions. Also correct the documented location of the trace file. Private functions s

Re: svn commit: r213744 - head/bin/sh

2010-10-12 Thread David O'Brien
On Wed, Oct 13, 2010 at 02:18:33PM +1100, Bruce Evans wrote: > On Tue, 12 Oct 2010, David E. O'Brien wrote: >> Log: >> If DEBUG is 3 or greater, disable STATICization of functions. >> Also correct the documented location of the trace file. > > Private functions should always be static, which no

svn commit: r213760 - head/bin/sh

2010-10-12 Thread David E. O'Brien
Author: obrien Date: Wed Oct 13 04:01:01 2010 New Revision: 213760 URL: http://svn.freebsd.org/changeset/base/213760 Log: Consistently use "STATIC" for all functions in order to be able to set breakpoints with in a debugger. And use naked "static" for variables. Noticed by: bde Modifi

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-12 Thread Bruce Evans
On Sun, 10 Oct 2010, Erik Cederstrand wrote: Den 10/10/2010 kl. 00.11 skrev Bruce Evans: On Sat, 9 Oct 2010, Erik Cederstrand wrote: Thanks! Has anyone looked at the feasibility of setting AR?=ar -D in sys.mk? I will probably try this when I get my scratch box up again. I hope not. The

Re: svn commit: r213744 - head/bin/sh

2010-10-12 Thread Bruce Evans
On Tue, 12 Oct 2010, David E. O'Brien wrote: Log: If DEBUG is 3 or greater, disable STATICization of functions. Also correct the documented location of the trace file. Private functions should always be static, which no `#define STATIC static' hack to control this, but there are compiler bug

svn commit: r213756 - head/sys/rpc

2010-10-12 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 13 00:57:14 2010 New Revision: 213756 URL: http://svn.freebsd.org/changeset/base/213756 Log: Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write data size greater than 8192. Since soreserve(so, 256*1024, 256*1024) would always fail for the def

Re: svn commit: r213725 - head/sys/fs/devfs

2010-10-12 Thread Bruce Evans
On Tue, 12 Oct 2010, Jaakko Heinonen wrote: Log: Format prototypes to follow style(9) more closely. Discussed with:kib, phk Thanks, but style(9) says "The kernel has a name associated with parameter types [sic]", and the old prototypes mostly used named parameters. [The reason for

Re: svn commit: r213648 - head/sys/kern

2010-10-12 Thread Bruce Evans
On Wed, 13 Oct 2010, Gennady Proskurin wrote: On Sat, Oct 09, 2010 at 12:48:50PM +0300, Andriy Gapon wrote: on 09/10/2010 12:33 Bruce Evans said the following: On Sat, 9 Oct 2010, Andriy Gapon wrote: [>]*... Now, why don't the partial memory barriers prevent caching the variable? % if (

svn commit: r213755 - in head: share/man/man4 sys/dev/acpica

2010-10-12 Thread Jung-uk Kim
Author: jkim Date: Wed Oct 13 00:21:53 2010 New Revision: 213755 URL: http://svn.freebsd.org/changeset/base/213755 Log: Use AcpiReset() from ACPICA instead of rolling our own, which is actually incomplete. If FADT says the register is available, enable the capability by default. Remove the

svnsync broken, workaround available (was Re: svn commit: r213379 - head/sys/dev/usb/controller)

2010-10-12 Thread Eugene M. Kim
This commit (r213379) has a couple of stray/toxic directory properties, with an equal sign ("=") in their name, e.g. "svn:keywords=FreeBSD=%H" whose value is "xhci.c" :-p. Running svnsync to mirror this revision to a remote repository over DAV (http: or https:) will result in "400 Bad Request".

Re: svn commit: r213664 - in head/sys: fs/cd9660 fs/hpfs fs/msdosfs fs/ntfs gnu/fs/reiserfs kern sys ufs/ffs ufs/ufs

2010-10-12 Thread Bruce Evans
On Sun, 10 Oct 2010, Konstantin Belousov wrote: Log: The r184588 changed the layout of struct export_args, causing an ABI breakage for old mount(2) syscall, since most struct _args embed export_args. The mount(2) is supposed to provide ABI compatibility for pre-nmount mount(8) binaries, so r

svn commit: r213754 - stable/7/usr.sbin/pmccontrol

2010-10-12 Thread George V. Neville-Neil
Author: gnn Date: Tue Oct 12 22:11:31 2010 New Revision: 213754 URL: http://svn.freebsd.org/changeset/base/213754 Log: MFC 213691: Add code to print the number and type of the CPU that is present in the system as well has how many PMCs there are per CPU. In this code CPU and core are e

svn commit: r213753 - stable/8/usr.sbin/pmccontrol

2010-10-12 Thread George V. Neville-Neil
Author: gnn Date: Tue Oct 12 22:10:07 2010 New Revision: 213753 URL: http://svn.freebsd.org/changeset/base/213753 Log: MFC 213691: Add code to print the number and type of the CPU that is present in the system as well has how many PMCs there are per CPU. In this code CPU and core are e

svn commit: r213752 - svnadmin/conf

2010-10-12 Thread Randall Stewart
Author: rrs Date: Tue Oct 12 22:09:33 2010 New Revision: 213752 URL: http://svn.freebsd.org/changeset/base/213752 Log: This commit removes Bruce Cran from mentiship ;-) Congratulations Bruce keep up the good work. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ===

svn commit: r213751 - stable/7/sys/dev/hwpmc

2010-10-12 Thread George V. Neville-Neil
Author: gnn Date: Tue Oct 12 21:45:36 2010 New Revision: 213751 URL: http://svn.freebsd.org/changeset/base/213751 Log: MFC 213409: Fix two aliases that had the same name but were pointing to different events. These are now disamiguated. Modified: stable/7/sys/dev/hwpmc/pmc_events.h Di

svn commit: r213750 - in stable/7/tools/tools: mcgrab mctest nanobsd netrate/http netrate/httpd netrate/juggle

2010-10-12 Thread George V. Neville-Neil
Author: gnn Date: Tue Oct 12 21:40:43 2010 New Revision: 213750 URL: http://svn.freebsd.org/changeset/base/213750 Log: MFC 177387,177388,177872,178456,179528,180394,186456,203800,204310,213327: r177387 A multicast test. The mctest program acts as both a source and a sink for multica

Re: svn commit: r213749 - head/usr.sbin/mailwrapper

2010-10-12 Thread Mark Murray
Mark Murray writes: > URL: http://svn.freebsd.org/changeset/base/213749 > > Log: > Create the /bin/rmail symlink (which mailers such as postfix > and Exim can use). > > This is something I thought I committed MONTHS ago, but it appears > that I fatfingered it and made a local commit. >

svn commit: r213749 - head/usr.sbin/mailwrapper

2010-10-12 Thread Mark Murray
Author: markm Date: Tue Oct 12 21:01:26 2010 New Revision: 213749 URL: http://svn.freebsd.org/changeset/base/213749 Log: Create the /bin/rmail symlink (which mailers such as postfix and Exim can use). This is something I thought I committed MONTHS ago, but it appears that I fatfingered

svn commit: r213748 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2010-10-12 Thread Jung-uk Kim
Author: jkim Date: Tue Oct 12 20:53:12 2010 New Revision: 213748 URL: http://svn.freebsd.org/changeset/base/213748 Log: Remove trailing ", " from `sysctl machdep.idle_available' output. Modified: head/sys/amd64/amd64/machdep.c head/sys/i386/i386/machdep.c head/sys/pc98/pc98/machdep.c Mod

Re: svn commit: r206665 - head/sys/geom/eli

2010-10-12 Thread Ben Kelly
On Apr 15, 2010, at 12:34 PM, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Thu Apr 15 16:34:06 2010 > New Revision: 206665 > URL: http://svn.freebsd.org/changeset/base/206665 > > Log: > Use lower priority for GELI worker threads. This improves system > responsiveness under heavy GELI load.

svn commit: r213747 - head/sys/dev/bge

2010-10-12 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 12 19:31:25 2010 New Revision: 213747 URL: http://svn.freebsd.org/changeset/base/213747 Log: Protect bge(4) from accessing invalid NIC internal memory regions on BCM5906. Tested by:Buganini < buganini <> gmail dot com > Modified: head/sys/dev/bge/if_bg

svn commit: r213746 - stable/7/sys/i386/i386

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 19:28:33 2010 New Revision: 213746 URL: http://svn.freebsd.org/changeset/base/213746 Log: MFC 213226: Rewrite the i386 memory probe: - Check for SMAP data from the loader first. If it exists, don't bother doing any VM86 calls at all. This will be more frien

svn commit: r213745 - stable/8/sys/i386/i386

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 19:28:20 2010 New Revision: 213745 URL: http://svn.freebsd.org/changeset/base/213745 Log: MFC 213226: Rewrite the i386 memory probe: - Check for SMAP data from the loader first. If it exists, don't bother doing any VM86 calls at all. This will be more frien

svn commit: r213744 - head/bin/sh

2010-10-12 Thread David E. O'Brien
Author: obrien Date: Tue Oct 12 19:24:41 2010 New Revision: 213744 URL: http://svn.freebsd.org/changeset/base/213744 Log: If DEBUG is 3 or greater, disable STATICization of functions. Also correct the documented location of the trace file. Modified: head/bin/sh/Makefile head/bin/sh/shell.

svn commit: r213743 - head/sys/dev/mps

2010-10-12 Thread Matthew D Fleming
Author: mdf Date: Tue Oct 12 19:24:29 2010 New Revision: 213743 URL: http://svn.freebsd.org/changeset/base/213743 Log: Always set cm_complete_data before calling mps_config_complete(). Reviewed by: ken Modified: head/sys/dev/mps/mps.c Modified: head/sys/dev/mps/mps.c ==

svn commit: r213742 - head/sys/dev/bge

2010-10-12 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 12 19:22:03 2010 New Revision: 213742 URL: http://svn.freebsd.org/changeset/base/213742 Log: Fix a regression introduced in r213495. r213495 disabled mini receive producer ring only for BCM5700. It was believed that BCM5700 with external SSRAM is the only contro

Re: svn commit: r213585 - head/tools/build/mk

2010-10-12 Thread Mark Murray
Alexander Leidinger writes: > >> src/usr.sbin/mailwrapper/Makefile > > > > What am I doing wrong? > > I did not do a correct copy&paste... put the result is the same. > > > ---snip--- > > % grep rmail /usr/src/usr.sbin/mailwrapper > > % grep rmail /usr/src/usr.sbin/mailwrapper/Makefile My foul-

svn commit: r213741 - in stable/8/tools/tools: ath/common mcgrab mctest termcap

2010-10-12 Thread George V. Neville-Neil
Author: gnn Date: Tue Oct 12 19:07:36 2010 New Revision: 213741 URL: http://svn.freebsd.org/changeset/base/213741 Log: MFC 204310: Moved mcgrab(1) into a separate directory -- our .mk infrastructure doesn't currently have support for building multiple programs in a single makefile.

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

2010-10-12 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Oct 12 19:00:18 2010 New Revision: 213740 URL: http://svn.freebsd.org/changeset/base/213740 Log: Document the fact that bwn works really well on the laptop I'm using right now (HP 6715b). Modified: head/share/man/man4/bwn.4 Modified: head/share/man/ma

svn commit: r213739 - in head: share/man/man9 sys/kern sys/sys

2010-10-12 Thread Matthew D Fleming
Author: mdf Date: Tue Oct 12 18:36:03 2010 New Revision: 213739 URL: http://svn.freebsd.org/changeset/base/213739 Log: Re-expose and briefly document taskqueue_run(9). The function is used in at least one 3rd party driver. Requested by: jhb Modified: head/share/man/man9/taskqueue.9

svn commit: r213738 - in head: bin/sh tools/regression/bin/sh tools/regression/bin/sh/builtins tools/regression/bin/sh/errors tools/regression/bin/sh/execution tools/regression/bin/sh/expansion too...

2010-10-12 Thread David E. O'Brien
Author: obrien Date: Tue Oct 12 18:20:38 2010 New Revision: 213738 URL: http://svn.freebsd.org/changeset/base/213738 Log: Allow one to regression test 'sh' changes without having to install a potentially bad /bin/sh first. Modified: head/bin/sh/Makefile head/tools/regression/bin/sh/Makefi

Re: svn commit: r213737 - head/sys/dev/acpica

2010-10-12 Thread Andriy Gapon
on 12/10/2010 20:53 Andriy Gapon said the following: > Author: avg > Date: Tue Oct 12 17:53:01 2010 > New Revision: 213737 > URL: http://svn.freebsd.org/changeset/base/213737 > > Log: > acpi_ec: changes in communication with hardware > > Short description of the changes: > - attempt to re

svn commit: r213737 - head/sys/dev/acpica

2010-10-12 Thread Andriy Gapon
Author: avg Date: Tue Oct 12 17:53:01 2010 New Revision: 213737 URL: http://svn.freebsd.org/changeset/base/213737 Log: acpi_ec: changes in communication with hardware Short description of the changes: - attempt to retry some commands for which it is possible (read, query) - always make

svn commit: r213736 - head/sys/kern

2010-10-12 Thread Andriy Gapon
Author: avg Date: Tue Oct 12 17:40:45 2010 New Revision: 213736 URL: http://svn.freebsd.org/changeset/base/213736 Log: generic_stop_cpus: prevent parallel execution This is based on the same approach as used in panic(). In theory parallel execution of generic_stop_cpus() could lead to tw

svn commit: r213735 - head/sys/fs/tmpfs

2010-10-12 Thread Andriy Gapon
Author: avg Date: Tue Oct 12 17:16:51 2010 New Revision: 213735 URL: http://svn.freebsd.org/changeset/base/213735 Log: tmpfs + sendfile: do not produce partially valid pages for vnode's tail See r213730 for details of analogous change in ZFS. MFC after:3 days Modified: head/sys/

svn commit: r213734 - stable/7/sys/dev/iwi

2010-10-12 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Oct 12 17:12:35 2010 New Revision: 213734 URL: http://svn.freebsd.org/changeset/base/213734 Log: When bringing the interface down we clear the command queue but do not reset the sc_cmd_cur and sc_cmd_next indices. If there are still pending commands while clearing

svn commit: r213733 - stable/7/contrib/csup

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 17:12:22 2010 New Revision: 213733 URL: http://svn.freebsd.org/changeset/base/213733 Log: MFC 213300: If an RCS file is truncated, rcsfile_getdelta() will return NULL. Instead of faulting, check for NULL. However, returning an error would cause csup to just a

svn commit: r213732 - stable/8/contrib/csup

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 17:12:13 2010 New Revision: 213732 URL: http://svn.freebsd.org/changeset/base/213732 Log: MFC 213300: If an RCS file is truncated, rcsfile_getdelta() will return NULL. Instead of faulting, check for NULL. However, returning an error would cause csup to just a

svn commit: r213731 - stable/7/contrib/csup

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 17:09:33 2010 New Revision: 213731 URL: http://svn.freebsd.org/changeset/base/213731 Log: MFC 194070: Remove semicolon that should not have been there. Modified: stable/7/contrib/csup/rcsfile.c Directory Properties: stable/7/contrib/csup/ (props changed) Modi

svn commit: r213730 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-10-12 Thread Andriy Gapon
Author: avg Date: Tue Oct 12 17:04:21 2010 New Revision: 213730 URL: http://svn.freebsd.org/changeset/base/213730 Log: zfs + sendfile: do not produce partially valid pages for vnode's tail Since r212650 and before this change sendfile(2) could produce a partially valid page for a trailing

svn commit: r213729 - head/sys/dev/iwi

2010-10-12 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Oct 12 16:52:13 2010 New Revision: 213729 URL: http://svn.freebsd.org/changeset/base/213729 Log: Fix monitor mode which is implemented by doing a firmware scan. This is a port of stable/6, seems like the code got lost during the background scan changes in r170530.

svn commit: r213728 - stable/8/sys/dev/ral

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 16:23:50 2010 New Revision: 213728 URL: http://svn.freebsd.org/changeset/base/213728 Log: MFC 213268: If rt2560_bbp_init() fails, don't drop the lock as the callers of rt2560_init_locked() expect the lock to be held on return. Modified: stable/8/sys/dev/ral/rt

svn commit: r213727 - stable/7/sys/net

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 16:09:08 2010 New Revision: 213727 URL: http://svn.freebsd.org/changeset/base/213727 Log: MFC 213028,213328: - Expand scope of tun/tap softc locks to cover more softc fields and driver-maintained ifnet fields (such as if_drv_flags). - Use soft locks as the mu

svn commit: r213726 - stable/8/sys/net

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 16:08:20 2010 New Revision: 213726 URL: http://svn.freebsd.org/changeset/base/213726 Log: MFC 213028,213328: - Expand scope of tun/tap softc locks to cover more softc fields and driver-maintained ifnet fields (such as if_drv_flags). - Use soft locks as the mu

svn commit: r213725 - head/sys/fs/devfs

2010-10-12 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 12 15:58:52 2010 New Revision: 213725 URL: http://svn.freebsd.org/changeset/base/213725 Log: Format prototypes to follow style(9) more closely. Discussed with: kib, phk Modified: head/sys/fs/devfs/devfs.h head/sys/fs/devfs/devfs_int.h Modified: head/sys/

svn commit: r213724 - stable/7/sys/sys

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 15:48:27 2010 New Revision: 213724 URL: http://svn.freebsd.org/changeset/base/213724 Log: MFC 213271: Account for unlocking a spin mutex in the lock profiling code in the !SMP case. Modified: stable/7/sys/sys/mutex.h Directory Properties: stable/7/sys/ (pr

svn commit: r213723 - stable/8/sys/sys

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 15:48:14 2010 New Revision: 213723 URL: http://svn.freebsd.org/changeset/base/213723 Log: MFC 213271: Account for unlocking a spin mutex in the lock profiling code in the !SMP case. Modified: stable/8/sys/sys/mutex.h Directory Properties: stable/8/sys/ (pr

svn commit: r213722 - stable/7/sys/kern

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 15:26:37 2010 New Revision: 213722 URL: http://svn.freebsd.org/changeset/base/213722 Log: MFC 212974: Comment nit, set TDF_NEEDRESCHED after the comment describing why it is done rather than before. Modified: stable/7/sys/kern/sched_ule.c Directory Properties:

svn commit: r213721 - stable/8/sys/kern

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 15:26:13 2010 New Revision: 213721 URL: http://svn.freebsd.org/changeset/base/213721 Log: MFC 212974: Comment nit, set TDF_NEEDRESCHED after the comment describing why it is done rather than before. Modified: stable/8/sys/kern/sched_ule.c Directory Properties:

svn commit: r213720 - stable/8/lib/libc/stdio

2010-10-12 Thread John Baldwin
Author: jhb Date: Tue Oct 12 13:13:20 2010 New Revision: 213720 URL: http://svn.freebsd.org/changeset/base/213720 Log: MFC 205021: - Use an initializer macro to initialize fields in 'fake' FILE objects used by *sprintf(), etc. - Explicitly initialize _fl_mutex to PTHREAD_MUTEX_INITIALIZE

svn commit: r213719 - head/sys/dev/bwn

2010-10-12 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Oct 12 11:05:32 2010 New Revision: 213719 URL: http://svn.freebsd.org/changeset/base/213719 Log: Small grammar nit in a printf message. Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c =

svn commit: r213718 - in head/usr.sbin/pkg_install: . add create

2010-10-12 Thread Florent Thoumie
Author: flz Date: Tue Oct 12 10:04:44 2010 New Revision: 213718 URL: http://svn.freebsd.org/changeset/base/213718 Log: - Add support for xz compression to pkg_create, bzip2 remains the default compression algorithm. - Bump PKG_INSTALL_VERSION to 20101012. Submitted by: mm MFC after

svn commit: r213717 - head/sys/dev/usb

2010-10-12 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 12 09:41:42 2010 New Revision: 213717 URL: http://svn.freebsd.org/changeset/base/213717 Log: We already have dummy receive buffer in sc->buffer. Suggested by: hselasky Modified: head/sys/dev/usb/usb_msctest.c Modified: head/sys/dev/usb/usb_msctest.c ===

svn commit: r213716 - in head/sys: amd64/linux32 compat/svr4 i386/ibcs2 i386/linux sys

2010-10-12 Thread Konstantin Belousov
Author: kib Date: Tue Oct 12 09:18:17 2010 New Revision: 213716 URL: http://svn.freebsd.org/changeset/base/213716 Log: Add macro DECLARE_MODULE_TIED to denote a module as requiring the kernel of exactly the same __FreeBSD_version as the headers module was compiled against. Mark our in-t

svn commit: r213715 - in stable/8/sys: amd64/amd64 amd64/include i386/i386 i386/include

2010-10-12 Thread Konstantin Belousov
Author: kib Date: Tue Oct 12 09:10:24 2010 New Revision: 213715 URL: http://svn.freebsd.org/changeset/base/213715 Log: MFC r213452: Display PCID capability of CPU and add CPUID define for it. Modified: stable/8/sys/amd64/amd64/identcpu.c stable/8/sys/amd64/include/specialreg.h stable/8/