svn commit: r213714 - in head/sys: kern sys

2010-10-11 Thread David Xu
Author: davidxu Date: Tue Oct 12 00:36:56 2010 New Revision: 213714 URL: http://svn.freebsd.org/changeset/base/213714 Log: Add a flag TDF_TIDHASH to prevent a thread from being added to or removed from thread hash table multiple times. Modified: head/sys/kern/kern_thread.c head/sys/sys/pr

svn commit: r213713 - head/tools/regression/bin/sh/builtins

2010-10-11 Thread David E. O'Brien
Author: obrien Date: Mon Oct 11 23:24:57 2010 New Revision: 213713 URL: http://svn.freebsd.org/changeset/base/213713 Log: Correct regression test to not show a false positive when run as root. Modified: head/tools/regression/bin/sh/builtins/cd1.0 Modified: head/tools/regression/bin/sh/builti

svn commit: r213712 - head/sys/fs/nfsserver

2010-10-11 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 11 23:15:18 2010 New Revision: 213712 URL: http://svn.freebsd.org/changeset/base/213712 Log: Try and make the nfsrv_localunlock() function in the experimental NFSv4 server more readable. Mostly changes to comments, but a case of >= is changed to >, since == can

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

2010-10-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 11 23:07:12 2010 New Revision: 213711 URL: http://svn.freebsd.org/changeset/base/213711 Log: The IFF_DRV_RUNNING flag is set at the end of bge_init_locked. But before setting the flag, interrupt was already enabled such that interrupt handler could be run before

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

2010-10-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 11 22:56:23 2010 New Revision: 213710 URL: http://svn.freebsd.org/changeset/base/213710 Log: Remove one last reference of BGE_MI_MODE register for auto polling. Previously bge(4) always enabled auto polling for non-BGE_FLAG_TBI controllers. With this change, aut

svn commit: r213709 - stable/8/sys/dev/acpica

2010-10-11 Thread Andriy Gapon
Author: avg Date: Mon Oct 11 22:46:15 2010 New Revision: 213709 URL: http://svn.freebsd.org/changeset/base/213709 Log: MFC r210977: When EC burst mode is activated and multiple bytes are accessed, do not disable and enable repeatedly, just do it once per call. It also reduces code dupl

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

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 22:44:15 2010 New Revision: 213708 URL: http://svn.freebsd.org/changeset/base/213708 Log: Re-work the internal user ioctl command table, and support the FW_UPLOAD command. Reviewed by: ken (previous version) Modified: head/sys/dev/mps/mps_user.c Modified:

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

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 22:44:05 2010 New Revision: 213707 URL: http://svn.freebsd.org/changeset/base/213707 Log: Add function prototypes for static functions. Requested by: ken Modified: head/sys/dev/mps/mps_user.c Modified: head/sys/dev/mps/mps_user.c

svn commit: r213706 - stable/8/sys/dev/acpica

2010-10-11 Thread Andriy Gapon
Author: avg Date: Mon Oct 11 22:41:01 2010 New Revision: 213706 URL: http://svn.freebsd.org/changeset/base/213706 Log: MFC r208722: Remove unnecessary pointer type castings, shift operations and dead code. On behalf of: jkim Modified: stable/8/sys/dev/acpica/acpi_ec.c Directory Propert

svn commit: r213705 - head/sys/conf

2010-10-11 Thread Andrew Thompson
Author: thompsa Date: Mon Oct 11 21:53:03 2010 New Revision: 213705 URL: http://svn.freebsd.org/changeset/base/213705 Log: Add the XHCI USB controller to NOTES. Reviewed by: hselasky Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ===

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

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 21:38:31 2010 New Revision: 213704 URL: http://svn.freebsd.org/changeset/base/213704 Log: Fix a memory leak and locking inconsistency in mps(4) ioctl handling. Check copyin(9) for error and sanity check the length before copyin. Reviewed by: ken Modified:

svn commit: r213703 - head/lib/libcam

2010-10-11 Thread Andriy Gapon
Author: avg Date: Mon Oct 11 21:34:35 2010 New Revision: 213703 URL: http://svn.freebsd.org/changeset/base/213703 Log: camlib.c: update one overlooked comment Modified: head/lib/libcam/camlib.c Modified: head/lib/libcam/camlib.c ===

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

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 21:26:24 2010 New Revision: 213702 URL: http://svn.freebsd.org/changeset/base/213702 Log: Fix up the COMPAT_FREEBSD32 ioctl logic for mps(4). Reviewed by: ken Modified: head/sys/dev/mps/mps_ioctl.h head/sys/dev/mps/mps_user.c Modified: head/sys/dev/mps/mp

svn commit: r213701 - stable/8/sys/dev/hwpmc

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

svn commit: r213700 - in head: . contrib/xz contrib/xz/po contrib/xz/src/common contrib/xz/src/liblzma/api contrib/xz/src/liblzma/api/lzma contrib/xz/src/liblzma/check contrib/xz/src/liblzma/common...

2010-10-11 Thread Martin Matuska
Mon Oct 11 20:34:35 2010(r213699) +++ head/ObsoleteFiles.inc Mon Oct 11 21:16:50 2010(r213700) @@ -14,6 +14,8 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20101011: removed subblock.h from liblzma +OLD_FILES+=usr/include/lzma/subblock.h

svn commit: r213699 - vendor/xz/dist

2010-10-11 Thread Martin Matuska
Author: mm Date: Mon Oct 11 20:34:35 2010 New Revision: 213699 URL: http://svn.freebsd.org/changeset/base/213699 Log: Remove two non-vendor files as recommended. Approved by: delphij (mentor) Deleted: vendor/xz/dist/FREEBSD-Xlist vendor/xz/dist/FREEBSD-upgrade

svn commit: r213698 - head/lib/libulog

2010-10-11 Thread Ed Schouten
Author: ed Date: Mon Oct 11 20:30:57 2010 New Revision: 213698 URL: http://svn.freebsd.org/changeset/base/213698 Log: Fix reference to nonexistent manpage getuid(3). Submitted by: pluknet Modified: head/lib/libulog/ulog_login.3 Modified: head/lib/libulog/ulog_login.3 ===

svn commit: r213697 - head/sbin/reboot

2010-10-11 Thread Ed Schouten
Author: ed Date: Mon Oct 11 20:17:23 2010 New Revision: 213697 URL: http://svn.freebsd.org/changeset/base/213697 Log: Remove stale reference to wtmp(5). Reported by: pluknet Modified: head/sbin/reboot/reboot.8 Modified: head/sbin/reboot/reboot.8

svn commit: r213696 - head/sys/dev/usb/net

2010-10-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 11 19:20:53 2010 New Revision: 213696 URL: http://svn.freebsd.org/changeset/base/213696 Log: Do not setup interrupt endpoint for axe(4). It seems axe(4) controllers support interrupt endpoint such that enabling interrupt endpoint generates about 1000 interrupts/

Re: svn commit: r213662 - in head: sbin/geom/class/concat sbin/geom/class/eli sbin/geom/class/journal sbin/geom/class/mirror sbin/geom/class/part sbin/geom/class/raid3 sbin/geom/class/shsec sbin/geom/

2010-10-11 Thread Ivan Voras
On 10 October 2010 10:54, Ivan Voras wrote: > On 9 October 2010 22:20, Andrey V. Elsukov wrote: >> Author: ae >> Date: Sat Oct  9 20:20:27 2010 >> New Revision: 213662 >> URL: http://svn.freebsd.org/changeset/base/213662 >> >> Log: >>  Replace strlen(_PATH_DEV) with sizeof(_PATH_DEV) - 1. > > Um,

Re: svn commit: r213662 - in head: sbin/geom/class/concat sbin/geom/class/eli sbin/geom/class/journal sbin/geom/class/mirror sbin/geom/class/part sbin/geom/class/raid3 sbin/geom/class/shsec sbin/geom/

2010-10-11 Thread John Baldwin
On Sunday, October 10, 2010 4:54:37 am Ivan Voras wrote: > On 9 October 2010 22:20, Andrey V. Elsukov wrote: > > Author: ae > > Date: Sat Oct 9 20:20:27 2010 > > New Revision: 213662 > > URL: http://svn.freebsd.org/changeset/base/213662 > > > > Log: > > Replace strlen(_PATH_DEV) with sizeof(_PAT

svn commit: r213695 - in head/contrib/llvm: . autoconf bindings include/llvm include/llvm/Config include/llvm/System lib lib/Analysis lib/Analysis/IPA lib/Archive lib/AsmParser lib/Bitcode lib/Bitc...

2010-10-11 Thread Dimitry Andric
Author: dim Date: Mon Oct 11 17:22:16 2010 New Revision: 213695 URL: http://svn.freebsd.org/changeset/base/213695 Log: Remove more unneeded files and directories from contrib/llvm. This still allows us to build tblgen and clang, and further reduces the footprint in the tree. Approved b

svn commit: r213694 - in head/contrib/llvm/tools/clang: include/clang/Analysis/Analyses lib/Analysis

2010-10-11 Thread Rui Paulo
Author: rpaulo Date: Mon Oct 11 17:18:23 2010 New Revision: 213694 URL: http://svn.freebsd.org/changeset/base/213694 Log: Rework the analysis of the 'r' specifier. It turns out that we can't make it like xArg because they are different ('x' doesn't accept sign, but 'r' does). This fixes so

svn commit: r213693 - stable/7/lib/libpmc

2010-10-11 Thread George V. Neville-Neil
Author: gnn Date: Mon Oct 11 16:57:02 2010 New Revision: 213693 URL: http://svn.freebsd.org/changeset/base/213693 Log: MFC 213402: Fix punctuation and grammar, mostly by ending sentences with a period. Modified: stable/7/lib/libpmc/pmc.westmere.3 stable/7/lib/libpmc/pmc.westmereuc.3 Direc

svn commit: r213692 - stable/8/lib/libpmc

2010-10-11 Thread George V. Neville-Neil
Author: gnn Date: Mon Oct 11 16:55:17 2010 New Revision: 213692 URL: http://svn.freebsd.org/changeset/base/213692 Log: MFC 213402: Fix punctuation and grammar, mostly by ending sentences with a period. Modified: stable/8/lib/libpmc/pmc.westmere.3 stable/8/lib/libpmc/pmc.westmereuc.3 Direc

Re: svn commit: r213480 - in head/sys/dev/usb: . serial

2010-10-11 Thread Hans Petter Selasky
On Wednesday 06 October 2010 16:29:00 Gleb Smirnoff wrote: > +static uint8_t scsi_tct_dummy[4]; Hi, struct bbb_transfer *sc; We already have a dummy receive buffer in sc->buffer. Use that instead of declaring a new one. --HPS ___ svn-src-all@freebsd.

svn commit: r213691 - head/usr.sbin/pmccontrol

2010-10-11 Thread George V. Neville-Neil
Author: gnn Date: Mon Oct 11 14:31:24 2010 New Revision: 213691 URL: http://svn.freebsd.org/changeset/base/213691 Log: 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 equivalent. M

svn commit: r213690 - stable/7/usr.bin/truss

2010-10-11 Thread Jaakko Heinonen
Author: jh Date: Mon Oct 11 13:31:09 2010 New Revision: 213690 URL: http://svn.freebsd.org/changeset/base/213690 Log: MFC r200752: Avoid sharing the file descriptor of the output file with traced processes by setting the FD_CLOEXEC flag for the output file. PR: bin/140493

svn commit: r213689 - vendor/xz/20101010

2010-10-11 Thread Martin Matuska
Author: mm Date: Mon Oct 11 12:57:41 2010 New Revision: 213689 URL: http://svn.freebsd.org/changeset/base/213689 Log: Tag xz code as 20101010 Git revision: d52b411716a614c202e89ba732492efb9916cd3f Approved by: delphij (mentor) Added: vendor/xz/20101010/ - copied from r213688, ven

svn commit: r213688 - in vendor/xz/dist: . po src/common src/liblzma/api src/liblzma/api/lzma src/liblzma/check src/liblzma/common src/liblzma/delta src/liblzma/lz src/liblzma/lzma src/liblzma/rang...

2010-10-11 Thread Martin Matuska
Author: mm Date: Mon Oct 11 12:43:51 2010 New Revision: 213688 URL: http://svn.freebsd.org/changeset/base/213688 Log: Vendor import of xz (stripped) Git revision: d52b411716a614c202e89ba732492efb9916cd3f Approved by: delphij (mentor) Added: vendor/xz/dist/FREEBSD-Xlist (contents, pr

svn commit: r213687 - in stable: 7/sys/netinet 7/sys/netinet6 8/sys/netinet 8/sys/netinet6

2010-10-11 Thread Xin LI
Author: delphij Date: Mon Oct 11 11:25:37 2010 New Revision: 213687 URL: http://svn.freebsd.org/changeset/base/213687 Log: MFC r213225: Add a bandaid for a long-standing race condition during route entry un-expiring. The previous version of code have no locking when testing rt_refcnt

svn commit: r213687 - in stable: 7/sys/netinet 7/sys/netinet6 8/sys/netinet 8/sys/netinet6

2010-10-11 Thread Xin LI
Author: delphij Date: Mon Oct 11 11:25:37 2010 New Revision: 213687 URL: http://svn.freebsd.org/changeset/base/213687 Log: MFC r213225: Add a bandaid for a long-standing race condition during route entry un-expiring. The previous version of code have no locking when testing rt_refcnt

svn commit: r213686 - stable/8/sys/amd64/linux32

2010-10-11 Thread Konstantin Belousov
Author: kib Date: Mon Oct 11 09:42:30 2010 New Revision: 213686 URL: http://svn.freebsd.org/changeset/base/213686 Log: Regen. Modified: stable/8/sys/amd64/linux32/linux32_proto.h stable/8/sys/amd64/linux32/linux32_syscall.h stable/8/sys/amd64/linux32/linux32_sysent.c Modified: stable/8/s

svn commit: r213685 - stable/8/sys/amd64/linux32

2010-10-11 Thread Konstantin Belousov
Author: kib Date: Mon Oct 11 09:41:24 2010 New Revision: 213685 URL: http://svn.freebsd.org/changeset/base/213685 Log: MFC r213544: Fix typo. Modified: stable/8/sys/amd64/linux32/syscalls.master Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (pro

svn commit: r213684 - in stable/8/sbin/geom/class: part sched

2010-10-11 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 11 09:39:32 2010 New Revision: 213684 URL: http://svn.freebsd.org/changeset/base/213684 Log: GPART's control interface between kernel and user space has been changed in r212614. Perform partial MFC of r213097 adapted to the stable ABI: Implement "force" (-F)

svn commit: r213683 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-10-11 Thread Martin Matuska
Author: mm Date: Mon Oct 11 09:34:46 2010 New Revision: 213683 URL: http://svn.freebsd.org/changeset/base/213683 Log: MFC r210470: Import two changesets from OpenSolaris to make future updates easier. The changes do not affect FreeBSD code because zfs_znode_move(), cleanlocks() and c

svn commit: r213682 - head/lib/libcam

2010-10-11 Thread Andriy Gapon
Author: avg Date: Mon Oct 11 09:27:37 2010 New Revision: 213682 URL: http://svn.freebsd.org/changeset/base/213682 Log: cam_get_device, cam_open_device: make behavior simpler and more deterministic Remove or re-work support for the several features from the past: - remove incomplete suppor

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

2010-10-11 Thread Alexander Leidinger
Quoting Alexander Leidinger (from Mon, 11 Oct 2010 10:28:01 +0200): Quoting Mark Murray (from Sun, 10 Oct 2010 11:20:23 +0100): Alexander Leidinger writes: Can you please point out where rmail is installed when MK_SENDMAIL=no and MK_MAILWRAPPER!=no? I can not find such a place. src/us

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

2010-10-11 Thread Alexander Leidinger
Quoting Mark Murray (from Sun, 10 Oct 2010 11:20:23 +0100): Alexander Leidinger writes: Can you please point out where rmail is installed when MK_SENDMAIL=no and MK_MAILWRAPPER!=no? I can not find such a place. src/usr.sbin/mailwrapper/Makefile What am I doing wrong? ---snip--- % grep rm

svn commit: r213681 - head/contrib/llvm/tools/clang/lib/Analysis

2010-10-11 Thread Rui Paulo
Author: rpaulo Date: Mon Oct 11 08:10:12 2010 New Revision: 213681 URL: http://svn.freebsd.org/changeset/base/213681 Log: Restore the support for the 'r' and the 'y' conversion specifiers, first added on r208987. These are undocumented but are part of printf(9). Modified: head/contrib/llv