Re: svn commit: r219727 - head/sys/vm

2011-03-24 Thread Julian Elischer
On 3/23/11 6:45 AM, John Baldwin wrote: On Friday, March 18, 2011 4:40:34 am Julian Elischer wrote: Err, no, that has never been true. The reason it has to go on the list immediately is to reserve the PID against concurrent fork()s. I'm petty sure it was true at one stage. probably around

svn commit: r219949 - head/sys/dev/usb/controller

2011-03-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 24 07:59:21 2011 New Revision: 219949 URL: http://svn.freebsd.org/changeset/base/219949 Log: Fix typo. Reported by: Garrett Cooper MFC after:14 days Approved by: thompsa (mentor) Modified: head/sys/dev/usb/controller/ehci.c Modified:

svn commit: r219950 - head/sys/geom

2011-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 08:37:48 2011 New Revision: 219950 URL: http://svn.freebsd.org/changeset/base/219950 Log: MFgraid/head r217827: Change BIO_GETATTR(GEOM::kerneldump) API to make set_dumper() called by consumer (geom_dev) instead of provider (geom_disk). This allows any geom

Re: svn commit: r219939 - head/lib/libutil

2011-03-24 Thread Alexander Best
On Wed Mar 23 11, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 03/23/11 17:29, Alexander Best wrote: On Wed Mar 23 11, Xin LI wrote: Author: delphij Date: Wed Mar 23 22:08:01 2011 New Revision: 219939 URL: http://svn.freebsd.org/changeset/base/219939

svn commit: r219951 - head/sys/dev/led

2011-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 08:56:12 2011 New Revision: 219951 URL: http://svn.freebsd.org/changeset/base/219951 Log: MFgraid/head r218174: Add simple in-kernel API for controlling leds. Modified: head/sys/dev/led/led.c head/sys/dev/led/led.h Modified: head/sys/dev/led/led.c

svn commit: r219955 - head/sbin/umount

2011-03-24 Thread Ruslan Ermilov
Author: ru Date: Thu Mar 24 12:35:09 2011 New Revision: 219955 URL: http://svn.freebsd.org/changeset/base/219955 Log: It's possible to unmount multiple items at once, make it clear. Modified: head/sbin/umount/umount.8 head/sbin/umount/umount.c Modified: head/sbin/umount/umount.8

svn commit: r219957 - stable/8/sys/netinet/ipfw

2011-03-24 Thread Sergey Kandaurov
Author: pluknet Date: Thu Mar 24 13:18:09 2011 New Revision: 219957 URL: http://svn.freebsd.org/changeset/base/219957 Log: MFC r218741: Bump dummynet module version to meet dummynet schedulers' requirements, and thus unbreak loading dummynet.ko via /boot/loader.conf. Approved by:

svn commit: r219958 - head/usr.bin/xargs

2011-03-24 Thread Ruslan Ermilov
Author: ru Date: Thu Mar 24 13:52:59 2011 New Revision: 219958 URL: http://svn.freebsd.org/changeset/base/219958 Log: Discourage from using cp -r. Modified: head/usr.bin/xargs/xargs.1 Modified: head/usr.bin/xargs/xargs.1

Re: svn commit: r219676 - head/sys/x86/x86

2011-03-24 Thread David Malone
No new ones. Just the old ones of updating the frequency and all related variables without races. Is something simple, line an atomic write, an option for this? I guess we don't have 64-bit atomic writes on all platforms, but we could support it on some platforms. David.

Re: svn commit: r219676 - head/sys/x86/x86

2011-03-24 Thread David Malone
If atomic 64-bit read/write is possible and it is absolutely necessary, it has to be set via machdep.foo_freq, not kern.timecounter.foo.frequency. A number of people have asked me about adjusting the frequency of other time counters - it would seem to make sense to allow this at the

svn commit: r219961 - head/sys/net80211

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Thu Mar 24 15:27:15 2011 New Revision: 219961 URL: http://svn.freebsd.org/changeset/base/219961 Log: Fix a WME corner case found by the FreeBSD 802.11n testing crew. The symptom: sometimes 11n (and non-11n) throughput is great. Sometimes it isn't. Much teeth gnashing

svn commit: r219962 - head/sys/dev/ath

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Thu Mar 24 16:06:54 2011 New Revision: 219962 URL: http://svn.freebsd.org/changeset/base/219962 Log: Flip back HT/40 and Short-GI (for 40mhz operation). These are now verified to work. Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c

svn commit: r219963 - head/lib/libutil

2011-03-24 Thread Sergey Kandaurov
Author: pluknet Date: Thu Mar 24 16:06:57 2011 New Revision: 219963 URL: http://svn.freebsd.org/changeset/base/219963 Log: Add missing resource limits: - RLIMIT_NPTS - RLIMIT_SWAP MFC after:1 week Modified: head/lib/libutil/login_class.3 Modified: head/lib/libutil/login_class.3

Re: svn commit: r219676 - head/sys/x86/x86

2011-03-24 Thread Bruce Evans
On Thu, 24 Mar 2011, David Malone wrote: If atomic 64-bit read/write is possible and it is absolutely necessary, it has to be set via machdep.foo_freq, not kern.timecounter.foo.frequency. Not really. The i386 TSC frequency variable can be 32 bits. That works in almost all cases now, and you

svn commit: r219965 - stable/8/contrib/groff/tmac

2011-03-24 Thread Ulrich Spoerlein
Author: uqs Date: Thu Mar 24 17:09:24 2011 New Revision: 219965 URL: http://svn.freebsd.org/changeset/base/219965 Log: MFH r219209: Unbreak .Aq for non-ASCII output like -Tps or -Tutf8. PR: gnu/154822 Submitted by: Dominic Fandrey kamik...@bsdforen.de Modified:

svn commit: r219966 - stable/7/contrib/groff/tmac

2011-03-24 Thread Ulrich Spoerlein
Author: uqs Date: Thu Mar 24 17:09:37 2011 New Revision: 219966 URL: http://svn.freebsd.org/changeset/base/219966 Log: MFH r219209: Unbreak .Aq for non-ASCII output like -Tps or -Tutf8. PR: gnu/154822 Submitted by: Dominic Fandrey kamik...@bsdforen.de Modified:

svn commit: r219967 - head/bin/ps

2011-03-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 24 17:20:24 2011 New Revision: 219967 URL: http://svn.freebsd.org/changeset/base/219967 Log: Make LOGIN and CLASS columns width scale properly instead of wasting space. Modified: head/bin/ps/extern.h head/bin/ps/keyword.c head/bin/ps/print.c Modified:

svn commit: r219968 - in head/sys: compat/linprocfs fs/nfsclient kern vm

2011-03-24 Thread John Baldwin
Author: jhb Date: Thu Mar 24 18:40:11 2011 New Revision: 219968 URL: http://svn.freebsd.org/changeset/base/219968 Log: Fix some locking nits with the p_state field of struct proc: - Hold the proc lock while changing the state from PRS_NEW to PRS_NORMAL in fork to honor the locking

svn commit: r219969 - head/sbin/geom/core

2011-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 19:11:05 2011 New Revision: 219969 URL: http://svn.freebsd.org/changeset/base/219969 Log: MFgraid/head r217014: Make `geom XXX list` and `geom XXX status` outputs more consistent: Add -a options to print all geoms, not only ones with providers. Add -g option

svn commit: r219970 - head/sys/geom

2011-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 19:23:42 2011 New Revision: 219970 URL: http://svn.freebsd.org/changeset/base/219970 Log: MFgraid/head r218212, r218257: Introduce new type of BIO_GETATTR -- GEOM::setstate, used to inform lower GEOM about state of it's providers from the point of upper layers.

svn commit: r219972 - head/bin/ps

2011-03-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 24 20:15:42 2011 New Revision: 219972 URL: http://svn.freebsd.org/changeset/base/219972 Log: Add proper width calculation for time fields (time, cputime and usertime). This fixes the ugly overflow in ps aux output for [idle]. Modified: head/bin/ps/extern.h

Re: svn commit: r219972 - head/bin/ps

2011-03-24 Thread Alexander Best
On Thu Mar 24 11, Edward Tomasz Napierala wrote: Author: trasz Date: Thu Mar 24 20:15:42 2011 New Revision: 219972 URL: http://svn.freebsd.org/changeset/base/219972 Log: Add proper width calculation for time fields (time, cputime and usertime). This fixes the ugly overflow in ps aux

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

2011-03-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Mar 24 20:28:09 2011 New Revision: 219973 URL: http://svn.freebsd.org/changeset/base/219973 Log: Checking file access on size change is bogus. The checks are done earlier by VFS where we know if this is truncate(2) or ftruncate(2). If this is the latter we should

svn commit: r219974 - in head: etc/mtree include sbin/geom/class sbin/geom/class/raid sys/conf sys/geom/raid sys/modules/geom sys/modules/geom/geom_raid

2011-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 21:31:32 2011 New Revision: 219974 URL: http://svn.freebsd.org/changeset/base/219974 Log: MFgraid/head: Add new RAID GEOM class, that is going to replace ataraid(4) in supporting various BIOS-based software RAIDs. Unlike ataraid(4) this implementation does not

Re: svn commit: r219700 - head/sys/x86/x86

2011-03-24 Thread Warner Losh
On 03/23/2011 06:34, John Baldwin wrote: On Thursday, March 17, 2011 5:06:09 pm Jung-uk Kim wrote: On Thursday 17 March 2011 04:01 pm, Peter Jeremy wrote: On 2011-Mar-16 16:44:08 +, Jung-uk Kimj...@freebsd.org wrote: Log: Revert r219676. Thanks also. For extra kudos, how about adding

svn commit: r219975 - head/sys/dev/ath/ath_hal/ar5416

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Fri Mar 25 00:03:21 2011 New Revision: 219975 URL: http://svn.freebsd.org/changeset/base/219975 Log: Bring over interrupt mitigation changes from ath9k. * The existing interrupt mitigation code didn't mitigate anything - the per-packet TX/RX interrupts are still

svn commit: r219976 - head/sys/dev/ath/ath_hal/ar5416

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Fri Mar 25 00:05:26 2011 New Revision: 219976 URL: http://svn.freebsd.org/changeset/base/219976 Log: Add some more AR_PCU_MISC_MODE2 register settings - these are SOWL or later. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416.h Modified:

svn commit: r219977 - head/sys/dev/ath/ath_hal/ar5416

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Fri Mar 25 00:06:19 2011 New Revision: 219977 URL: http://svn.freebsd.org/changeset/base/219977 Log: oops, commited the wrong file change. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416.h Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416.h

svn commit: r219978 - head/sys/dev/ath/ath_hal/ar5416

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Fri Mar 25 00:06:58 2011 New Revision: 219978 URL: http://svn.freebsd.org/changeset/base/219978 Log: The right commit - add a couple more AR_PCU_MISC_MODE2 register bits - SOWL specific. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h Modified:

svn commit: r219979 - in head/sys/dev/ath/ath_hal: ar5416 ar9001 ar9002

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Fri Mar 25 00:40:08 2011 New Revision: 219979 URL: http://svn.freebsd.org/changeset/base/219979 Log: Flip ANI on for the AR5416 and later chips. I haven't verified it on the AR9285 so I'll leave it off for that. Ath9k sources indiciate that one of the ANI modes

svn commit: r219980 - head/sys/dev/ath/ath_hal

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Fri Mar 25 00:45:24 2011 New Revision: 219980 URL: http://svn.freebsd.org/changeset/base/219980 Log: After discussion with Felix Fietkau (nbd) about the ath9k Merlin LNA bit settings, it seems that our defines are backwards and don't match what is in the EEPROM

svn commit: r219981 - head/sys/dev/ath

2011-03-24 Thread Adrian Chadd
Author: adrian Date: Fri Mar 25 04:15:30 2011 New Revision: 219981 URL: http://svn.freebsd.org/changeset/base/219981 Log: Re-disable the setting of 2040/shortgi bits for now. This seems to work fine for STA but not HT/20 AP mode. Further discussion with net80211 people will need to

svn commit: r219982 - head/sys/dev/usb/wlan

2011-03-24 Thread Kevin Lo
Author: kevlo Date: Fri Mar 25 05:01:13 2011 New Revision: 219982 URL: http://svn.freebsd.org/changeset/base/219982 Log: Fix panic while associating access point. While here, add the SMC SMCWUSB-G Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: head/sys/dev/usb/wlan/if_zyd.c