svn commit: r207603 - head/sys/kern

2010-05-04 Thread Konstantin Belousov
Author: kib Date: Tue May 4 06:00:39 2010 New Revision: 207603 URL: http://svn.freebsd.org/changeset/base/207603 Log: Use td_rux.rux_runtime for ki_runtime instead of redoing calculation. Submitted by: bde MFC after:1 week Modified: head/sys/kern/kern_proc.c Modified:

svn commit: r207604 - head/lib/libc/sys

2010-05-04 Thread Konstantin Belousov
Author: kib Date: Tue May 4 06:01:25 2010 New Revision: 207604 URL: http://svn.freebsd.org/changeset/base/207604 Log: Document RUSAGE_THREAD. Reviewed by: bde MFC after:1 week Modified: head/lib/libc/sys/getrusage.2 Modified: head/lib/libc/sys/getrusage.2

svn commit: r207605 - head/sys/kern

2010-05-04 Thread Konstantin Belousov
Author: kib Date: Tue May 4 06:04:33 2010 New Revision: 207605 URL: http://svn.freebsd.org/changeset/base/207605 Log: Remove a comment that merely repeats code. Submitted by: bde MFC after:1 week Modified: head/sys/kern/kern_thread.c Modified: head/sys/kern/kern_thread.c

svn commit: r207606 - head/sys/kern

2010-05-04 Thread Konstantin Belousov
Author: kib Date: Tue May 4 06:06:01 2010 New Revision: 207606 URL: http://svn.freebsd.org/changeset/base/207606 Log: Fix typo in comment. MFC after:3 days Modified: head/sys/kern/kern_thread.c Modified: head/sys/kern/kern_thread.c

svn commit: r207607 - head/usr.bin/tftp

2010-05-04 Thread Warner Losh
Author: imp Date: Tue May 4 06:13:17 2010 New Revision: 207607 URL: http://svn.freebsd.org/changeset/base/207607 Log: Go ahead and merge the work edwin@ on tftpd into the tree. It is a lot better than what's in the tree now. Edwin tested it at a prior employer, but can't test it today.

svn commit: r207608 - head/libexec/tftpd

2010-05-04 Thread Warner Losh
Author: imp Date: Tue May 4 06:19:19 2010 New Revision: 207608 URL: http://svn.freebsd.org/changeset/base/207608 Log: Go ahead and merge the work edwin@ on tftpd into the tree. It is a lot better than what's in the tree now. Edwin tested it at a prior employer, but can't test it today.

svn commit: r207609 - stable/8/games/pom

2010-05-04 Thread Edwin Groothuis
Author: edwin Date: Tue May 4 08:06:53 2010 New Revision: 207609 URL: http://svn.freebsd.org/changeset/base/207609 Log: MFC of r201613, r201627 Be able to specify a certain date and/or time for which to calculate the phase of the moon. While not worlds best improvements, it will help

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

2010-05-04 Thread Martin Matuska
Author: mm Date: Tue May 4 08:37:28 2010 New Revision: 207610 URL: http://svn.freebsd.org/changeset/base/207610 Log: MFC r207480: Change description of tunable group vfs.zfs.txg to be more understandable. Approved by:pjd, delphij (mentor) Modified:

svn commit: r207611 - in head/sys: arm/arm arm/include conf

2010-05-04 Thread Kevin Lo
Author: kevlo Date: Tue May 4 10:14:05 2010 New Revision: 207611 URL: http://svn.freebsd.org/changeset/base/207611 Log: Add support for FA626TE. Tested on GM8181 development board. Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/cpufunc_asm_fa526.S

svn commit: r207612 - head/usr.sbin/mergemaster

2010-05-04 Thread Norikatsu Shigemura
Author: nork Date: Tue May 4 11:25:04 2010 New Revision: 207612 URL: http://svn.freebsd.org/changeset/base/207612 Log: Add support run services_mkdb(8). Approved by: dougb, imp (mentor) Reviewed by: ume MFC after:2 weeks Modified: head/usr.sbin/mergemaster/mergemaster.sh

svn commit: r207613 - head/usr.bin/chpass

2010-05-04 Thread Ed Maste
Author: emaste Date: Tue May 4 11:34:13 2010 New Revision: 207613 URL: http://svn.freebsd.org/changeset/base/207613 Log: Restore historical behaviour of only executing chflags on files that exist. This eliminates cosmetic errors of the form chflags: ...: No such file or directory during an

svn commit: r207614 - head/libexec/tftpd

2010-05-04 Thread Warner Losh
Author: imp Date: Tue May 4 13:07:40 2010 New Revision: 207614 URL: http://svn.freebsd.org/changeset/base/207614 Log: Bring in new files from edwin's tftp Added: head/libexec/tftpd/tftp-file.c (contents, props changed) head/libexec/tftpd/tftp-file.h (contents, props changed)

Re: svn commit: r207612 - head/usr.sbin/mergemaster

2010-05-04 Thread Alexander Leidinger
Quoting Norikatsu Shigemura n...@freebsd.org (from Tue, 4 May 2010 11:25:04 + (UTC)): Author: nork Date: Tue May 4 11:25:04 2010 New Revision: 207612 URL: http://svn.freebsd.org/changeset/base/207612 Log: Add support run services_mkdb(8). Shouldn't this (and similar messages) only

Re: svn commit: r207607 - head/usr.bin/tftp

2010-05-04 Thread John Baldwin
On Tuesday 04 May 2010 2:13:18 am Warner Losh wrote: Author: imp Date: Tue May 4 06:13:17 2010 New Revision: 207607 URL: http://svn.freebsd.org/changeset/base/207607 Log: Go ahead and merge the work edwin@ on tftpd into the tree. It is a lot better than what's in the tree now.

Re: svn commit: r207612 - head/usr.sbin/mergemaster

2010-05-04 Thread Norikatsu Shigemura
Hi netchild. On Tue, 04 May 2010 16:02:55 +0200 Alexander Leidinger alexan...@leidinger.net wrote: URL: http://svn.freebsd.org/changeset/base/207612 Log: Add support run services_mkdb(8). Shouldn't this (and similar messages) only be done if there is a corresponding DB file?

Re: svn commit: r207612 - head/usr.sbin/mergemaster

2010-05-04 Thread Alexander Leidinger
Quoting Norikatsu Shigemura n...@freebsd.org (from Tue, 4 May 2010 23:22:46 +0900): Hi netchild. On Tue, 04 May 2010 16:02:55 +0200 Alexander Leidinger alexan...@leidinger.net wrote: URL: http://svn.freebsd.org/changeset/base/207612 Log: Add support run services_mkdb(8). Shouldn't this

svn commit: r207615 - head/sys/security/audit

2010-05-04 Thread Christian S.J. Peron
Author: csjp Date: Tue May 4 15:29:07 2010 New Revision: 207615 URL: http://svn.freebsd.org/changeset/base/207615 Log: Add a case to make sure that internal audit records get converted to BSM format for lpathconf(2) events. MFC after:2 weeks Modified:

svn commit: r207616 - stable/7/share/misc

2010-05-04 Thread Brooks Davis
Author: brooks Date: Tue May 4 15:52:17 2010 New Revision: 207616 URL: http://svn.freebsd.org/changeset/base/207616 Log: MFC r205073 Regen: * Hart: rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y). * Boemler: vendors.txt (2010-03126) PR: kern/133733 Modified:

svn commit: r207617 - in head/sys: dev/drm kern net vm

2010-05-04 Thread Alan Cox
Author: alc Date: Tue May 4 15:55:41 2010 New Revision: 207617 URL: http://svn.freebsd.org/changeset/base/207617 Log: Add page locking to the vm_page_cow* functions. Push down the acquisition and release of the page queues lock into vm_page_wire(). Reviewed by: kib Modified:

Re: svn commit: r207612 - head/usr.sbin/mergemaster

2010-05-04 Thread Doug Barton
On 5/4/2010 7:02 AM, Alexander Leidinger wrote: Quoting Norikatsu Shigemura n...@freebsd.org (from Tue, 4 May 2010 11:25:04 + (UTC)): Author: nork Date: Tue May 4 11:25:04 2010 New Revision: 207612 URL: http://svn.freebsd.org/changeset/base/207612 Log: Add support run

svn commit: r207620 - head/sys/dev/sound/pcm

2010-05-04 Thread Jung-uk Kim
Author: jkim Date: Tue May 4 16:56:59 2010 New Revision: 207620 URL: http://svn.freebsd.org/changeset/base/207620 Log: - Remove more dead code[1]. Since r207330, we only need to check division by zero of the second argument 'from'. - Prefer u_int32_t over unsigned int to make its

svn commit: r207621 - head/usr.bin/tftp

2010-05-04 Thread Warner Losh
Author: imp Date: Tue May 4 17:00:18 2010 New Revision: 207621 URL: http://svn.freebsd.org/changeset/base/207621 Log: Doh! Add another new file forgotten by the importer of edwin@'s tftp improvements. MFC after:1 week Pointy Hat: imp-o-rama... Added: head/usr.bin/tftp/tftp.h

svn commit: r207622 - head/sys/dev/msk

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 17:02:34 2010 New Revision: 207622 URL: http://svn.freebsd.org/changeset/base/207622 Log: Drop driver lock before exiting from interrupt handler. Submitted by: jhb MFC after:3 days Modified: head/sys/dev/msk/if_msk.c Modified:

svn commit: r207623 - head/sys/dev/msk

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 17:12:36 2010 New Revision: 207623 URL: http://svn.freebsd.org/changeset/base/207623 Log: Make sure to check whether driver is running before processing received frames. Also check driver has valid ifp pointer before calling msk_stop() in device_shutdown

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

2010-05-04 Thread Martin Matuska
Author: mm Date: Tue May 4 17:30:07 2010 New Revision: 207624 URL: http://svn.freebsd.org/changeset/base/207624 Log: Fix deadlock during zfs receive. OpenSolaris onnv revision:9299:8809e849f63e PR: kern/146296 Submitted by: myself Approved by: pjd, delphij (mentor)

svn commit: r207625 - head/sys/dev/sge

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 17:34:00 2010 New Revision: 207625 URL: http://svn.freebsd.org/changeset/base/207625 Log: Remove clearing RxHashTable2 register. The register is reprogrammed in sge_rxfilter(). Modified: head/sys/dev/sge/if_sge.c Modified: head/sys/dev/sge/if_sge.c

svn commit: r207626 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2010-05-04 Thread Martin Matuska
Author: mm Date: Tue May 4 17:40:24 2010 New Revision: 207626 URL: http://svn.freebsd.org/changeset/base/207626 Log: Speed up ZFS list operation with objset prefetching. Partial import of OpenSolaris onnv revisions: 8415:8809e849f63e, 10474:0e96dd3b905a PR: kern/146297

svn commit: r207627 - head/cddl/contrib/opensolaris/cmd/zfs

2010-05-04 Thread Martin Matuska
Author: mm Date: Tue May 4 17:44:40 2010 New Revision: 207627 URL: http://svn.freebsd.org/changeset/base/207627 Log: Enable zfs list to list explicitly requested snapshots. Partial import of OpenSolaris onnv revision: 8415:8809e849f63e PR: kern/146297 Submitted by:

svn commit: r207628 - head/sys/dev/sge

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 19:04:51 2010 New Revision: 207628 URL: http://svn.freebsd.org/changeset/base/207628 Log: Enable multi-descriptor transmisstion for fragmented mbufs. There is no more need to defragment mbufs. After transmitting the multi-fragmented frame, the controller

svn commit: r207629 - stable/8/usr.bin/unzip

2010-05-04 Thread Xin LI
Author: delphij Date: Tue May 4 19:18:00 2010 New Revision: 207629 URL: http://svn.freebsd.org/changeset/base/207629 Log: MFC r196981, r200844, r201630, r203977, r203978, r204352: r196981 (rdivacky): Add C/c/f/p/v switches plus a bunch of minor fixes and cleanups. Obtained from:

svn commit: r207630 - head/sys/boot/forth

2010-05-04 Thread Xin LI
Author: delphij Date: Tue May 4 19:58:55 2010 New Revision: 207630 URL: http://svn.freebsd.org/changeset/base/207630 Log: Remove if_ar, if_ray, if_sr, if_ppp, if_sl to reflect the current modules available, they were removed due to NEEDSGIANT. While I'm there, add if_et which was missed

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

2010-05-04 Thread Andrew Thompson
On Tue, May 04, 2010 at 05:30:07PM +, Martin Matuska wrote: Author: mm Date: Tue May 4 17:30:07 2010 New Revision: 207624 URL: http://svn.freebsd.org/changeset/base/207624 Log: Fix deadlock during zfs receive. OpenSolaris onnv revision: 9299:8809e849f63e I believe I

svn commit: r207631 - in vendor/llvm/dist: docs lib/CodeGen lib/Target/ARM lib/Target/CellSPU lib/Target/X86 lib/Target/X86/AsmParser lib/Transforms/Scalar lib/VMCore test/CodeGen/CellSPU test/MC/A...

2010-05-04 Thread Roman Divacky
Author: rdivacky Date: Tue May 4 20:50:39 2010 New Revision: 207631 URL: http://svn.freebsd.org/changeset/base/207631 Log: Update LLVM to r103052. Added: vendor/llvm/dist/test/CodeGen/CellSPU/storestruct.ll vendor/llvm/dist/test/MC/AsmParser/X86/x86_64-suffix-matching.s Modified:

svn commit: r207632 - in vendor/clang/dist: include/clang/AST include/clang/Analysis include/clang/Basic include/clang/Driver include/clang/Frontend include/clang/Lex include/clang/Parse include/cl...

2010-05-04 Thread Roman Divacky
Author: rdivacky Date: Tue May 4 20:51:19 2010 New Revision: 207632 URL: http://svn.freebsd.org/changeset/base/207632 Log: Update clang to r103052. Added: vendor/clang/dist/test/Misc/macro-backtrace-limit.c Modified: vendor/clang/dist/include/clang/AST/ASTDiagnostic.h

svn commit: r207633 - stable/8/sys/dev/usb/controller

2010-05-04 Thread Andrew Thompson
Author: thompsa Date: Tue May 4 21:16:01 2010 New Revision: 207633 URL: http://svn.freebsd.org/changeset/base/207633 Log: MFC r201797 Remove unused uhci_dump_qhs(). Modified: stable/8/sys/dev/usb/controller/uhci.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r207634 - stable/7/sys/nfsclient

2010-05-04 Thread John Baldwin
Author: jhb Date: Tue May 4 21:21:05 2010 New Revision: 207634 URL: http://svn.freebsd.org/changeset/base/207634 Log: MFC: 202767,202774 Add a timeout for the negative name cache entries in the NFS client. This avoids a bogus negative name cache entry from persisting forever when another

Re: [PATCH] RUSAGE_THREAD

2010-05-04 Thread Alexander Krizhanovsky
Konstantin, Concerning i/o counters we collect them in rucollect() in for loop and update in various places, for example in vfs_bio.c. Rusage of an exiting threads is handled in exit1() - ruadd(). Your version of the patch certainly is more robust, however I'm still concerning about

svn commit: r207635 - head/sys/dev/sge

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 21:23:59 2010 New Revision: 207635 URL: http://svn.freebsd.org/changeset/base/207635 Log: Free entire mbuf chain instead of the first mbuf. Modified: head/sys/dev/sge/if_sge.c Modified: head/sys/dev/sge/if_sge.c

svn commit: r207636 - stable/7/usr.bin/stat

2010-05-04 Thread Jilles Tjoelker
Author: jilles Date: Tue May 4 21:56:16 2010 New Revision: 207636 URL: http://svn.freebsd.org/changeset/base/207636 Log: MFC r207153: stat: Allow -f %Sf to display the file flags symbolically. PR: 124349 Modified: stable/7/usr.bin/stat/stat.1 stable/7/usr.bin/stat/stat.c

svn commit: r207637 - svnadmin/conf

2010-05-04 Thread Wes Peters
Author: wes Date: Tue May 4 22:22:31 2010 New Revision: 207637 URL: http://svn.freebsd.org/changeset/base/207637 Log: Update my email address. Approved by: core (implicit) Modified: svnadmin/conf/access Modified: svnadmin/conf/access

svn commit: r207638 - head/sys/dev/msk

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 22:24:19 2010 New Revision: 207638 URL: http://svn.freebsd.org/changeset/base/207638 Log: When VLAN hardware tagging is disabled, make sure to disable VLAN checksum offloading as well as TSO over VLAN. Reported by: jhb Modified:

svn commit: r207639 - head/sys/dev/cxgb

2010-05-04 Thread Navdeep Parhar
Author: np Date: Tue May 4 23:55:08 2010 New Revision: 207639 URL: http://svn.freebsd.org/changeset/base/207639 Log: Add IFCAP_LINKSTATE to cxgb's capabilities. MFC after:3 days Modified: head/sys/dev/cxgb/cxgb_main.c Modified: head/sys/dev/cxgb/cxgb_main.c

svn commit: r207640 - stable/8/share/mk

2010-05-04 Thread Xin LI
Author: delphij Date: Wed May 5 00:38:20 2010 New Revision: 207640 URL: http://svn.freebsd.org/changeset/base/207640 Log: MFC r206973: 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

svn commit: r207641 - stable/7/share/mk

2010-05-04 Thread Xin LI
Author: delphij Date: Wed May 5 00:39:06 2010 New Revision: 207641 URL: http://svn.freebsd.org/changeset/base/207641 Log: MFC r206973: 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

svn commit: r207643 - in head: sys/dev/cxgb usr.sbin/cxgbtool

2010-05-04 Thread Navdeep Parhar
Author: np Date: Wed May 5 00:41:40 2010 New Revision: 207643 URL: http://svn.freebsd.org/changeset/base/207643 Log: Add support for hardware filters to cxgb(4). The T3 chip can inspect L2/3/4 headers and can drop or steer packets as instructed. Filtering based on src ip, dst ip, src

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

2010-05-04 Thread Neel Natu
Author: neel Date: Wed May 5 04:37:45 2010 New Revision: 207645 URL: http://svn.freebsd.org/changeset/base/207645 Log: Fix DDB backtrace involving kernel modules. We can no longer assume that all valid program counter values reside within the kernel object file. Modified:

svn commit: r207646 - stable/8/sys/cam

2010-05-04 Thread Alexander Motin
Author: mav Date: Wed May 5 05:11:12 2010 New Revision: 207646 URL: http://svn.freebsd.org/changeset/base/207646 Log: MFC r207490: Add xpt_schedule_dev_sendq() call, lost at r203108. It is not needed in usual operation, but required in some conditions to make queue running after being

svn commit: r207647 - stable/8/sys/cam/ata

2010-05-04 Thread Alexander Motin
Author: mav Date: Wed May 5 05:18:08 2010 New Revision: 207647 URL: http://svn.freebsd.org/changeset/base/207647 Log: MFC r207282: Update device identify data and serial number when device change detected. Reprobe immediately following this should have fresh data. Modified: