svn commit: r212811 - head/sys/kern

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 07:18:30 2010 New Revision: 212811 URL: http://svn.freebsd.org/changeset/base/212811 Log: When global timer used at SMP system, update nextevent field on BSP before sending IPI to other CPUs. Otherwise, other CPUs will try to honor stale value, programming timer

svn commit: r212812 - head/sys/x86/isa

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 07:36:43 2010 New Revision: 212812 URL: http://svn.freebsd.org/changeset/base/212812 Log: Restore pre-r212778 optimization, skipping timer reprogramming when it is not neccessary. It allows to avoid time counter jump of up to 1/18s, when base frequency slightly t

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

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 07:45:54 2010 New Revision: 212813 URL: http://svn.freebsd.org/changeset/base/212813 Log: Document hw.i8254.freq tunable and machdep.i8254_freq sysctl. Modified: head/share/man/man4/attimer.4 Modified: head/share/man/man4/attimer.4 ===

Re: svn commit: r212541 - in head/sys: amd64/amd64 amd64/include dev/acpica i386/i386 i386/include kern mips/include mips/mips pc98/pc98 powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc

2010-09-18 Thread Daan Vreeken
Hi Alexander, On Monday 13 September 2010 09:25:35 Alexander Motin wrote: > Author: mav > Date: Mon Sep 13 07:25:35 2010 > New Revision: 212541 > URL: http://svn.freebsd.org/changeset/base/212541 > > Log: > Refactor timer management code with priority to one-shot operation mode. > The main goa

svn commit: r212821 - head/sys/kern

2010-09-18 Thread Andriy Gapon
Author: avg Date: Sat Sep 18 11:16:43 2010 New Revision: 212821 URL: http://svn.freebsd.org/changeset/base/212821 Log: kern.sched.topology_spec sysctl: use step of 1 for group levels numeration This is just a cosmetic change for prettier output. 'indent' variable/parameter serves two purp

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

2010-09-18 Thread Robert Watson
Author: rwatson Date: Sat Sep 18 11:18:42 2010 New Revision: 212822 URL: http://svn.freebsd.org/changeset/base/212822 Log: With reworking of the socket life cycle in 7.x, the need for a "sotryfree()" was eliminated: all references to sockets are explicitly managed by sorele() and the protoco

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

2010-09-18 Thread Bjoern A. Zeeb
On Fri, 17 Sep 2010, Andre Oppermann wrote: Hey, Author: andre Date: Fri Sep 17 22:05:27 2010 New Revision: 212803 URL: http://svn.freebsd.org/changeset/base/212803 Log: Rearrange the TSO code to make it more readable and to clearly separate the decision logic, of whether we can do TSO, and

Re: svn commit: r212804 - head/sys/boot/zfs

2010-09-18 Thread Stefan Farfeleder
Um, was the change from 32 to 31 deliberate? On Fri, Sep 17, 2010 at 10:51:45PM +, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Fri Sep 17 22:51:45 2010 > New Revision: 212804 > URL: http://svn.freebsd.org/changeset/base/212804 > > Log: > Remove magic value. > > Modified: > head/sys/

Re: svn commit: r212804 - head/sys/boot/zfs

2010-09-18 Thread Pawel Jakub Dawidek
On Sat, Sep 18, 2010 at 01:23:41PM +0200, Stefan Farfeleder wrote: > Um, was the change from 32 to 31 deliberate? Yes. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer

svn commit: r212823 - head/sys/arm/mv

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 13:44:39 2010 New Revision: 212823 URL: http://svn.freebsd.org/changeset/base/212823 Log: Clear timer interrupt status before calling callback, not after it, This fixes timer interrupt losses, fatal in one-shot mode. Modified: head/sys/arm/mv/timer.c Modified:

Re: svn commit: r212541 - in head/sys: amd64/amd64 amd64/include dev/acpica i386/i386 i386/include kern mips/include mips/mips pc98/pc98 powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc

2010-09-18 Thread Alexander Motin
Hi. Daan Vreeken wrote: > On Monday 13 September 2010 09:25:35 Alexander Motin wrote: >> Author: mav >> Date: Mon Sep 13 07:25:35 2010 >> New Revision: 212541 >> URL: http://svn.freebsd.org/changeset/base/212541 >> >> Log: >> Refactor timer management code with priority to one-shot operation mod

Re: svn commit: r212541 - in head/sys: amd64/amd64 amd64/include dev/acpica i386/i386 i386/include kern mips/include mips/mips pc98/pc98 powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc

2010-09-18 Thread Daan Vreeken
Hi, On Saturday 18 September 2010 15:48:12 Alexander Motin wrote: > Hi. > > Daan Vreeken wrote: > > On Monday 13 September 2010 09:25:35 Alexander Motin wrote: > >> Author: mav > >> Date: Mon Sep 13 07:25:35 2010 > >> New Revision: 212541 > >> URL: http://svn.freebsd.org/changeset/base/212541 > >>

svn commit: r212824 - in head/sys: sys vm

2010-09-18 Thread Konstantin Belousov
Author: kib Date: Sat Sep 18 15:03:31 2010 New Revision: 212824 URL: http://svn.freebsd.org/changeset/base/212824 Log: Adopt the deferring of object deallocation for the deleted map entries on map unlock to the lock downgrade and later read unlock operation. System map entries cannot be b

svn commit: r212825 - in head/sys/arm: arm include

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 16:57:05 2010 New Revision: 212825 URL: http://svn.freebsd.org/changeset/base/212825 Log: Add basic cpu_sleep() support for Marvell SoCs. This drops my SheevaPlug's heatsink termperature in open air from 49C to 43C when idle. Modified: head/sys/arm/arm/cpufunc.c

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

2010-09-18 Thread Jaakko Heinonen
Author: jh Date: Sat Sep 18 18:37:41 2010 New Revision: 212826 URL: http://svn.freebsd.org/changeset/base/212826 Log: - For consistency, remove "." and ".." entries from de_dlist before calling devfs_delete() (and thus possibly dropping dm_lock) in devfs_rmdir_empty(). - Assert that we

svn commit: r212827 - head/share/man/man5

2010-09-18 Thread Glen Barber
Author: gjb (doc committer) Date: Sat Sep 18 19:23:14 2010 New Revision: 212827 URL: http://svn.freebsd.org/changeset/base/212827 Log: Note that devfs(5) and fdescfs(5) both create /dev/fd file descriptors. PR: 144534 Submitted by: Matthew Seaman Patch by: Matthew Seaman,

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

2010-09-18 Thread Andre Oppermann
On 18.09.2010 13:34, Bjoern A. Zeeb wrote: On Fri, 17 Sep 2010, Andre Oppermann wrote: @@ -487,22 +482,15 @@ after_sack_rexmit: */ ipsec_optlen = ipsec_hdrsiz_tcp(tp); #endif - if (len > tp->t_maxseg) { - if ((tp->t_flags & TF_TSO) && V_tcp_do_tso && - ((tp->t_flags & TF_SIGNATURE) == 0) && - tp

svn commit: r212829 - head/usr.sbin/ppp

2010-09-18 Thread Nick Hibma
Author: n_hibma Date: Sat Sep 18 22:26:50 2010 New Revision: 212829 URL: http://svn.freebsd.org/changeset/base/212829 Log: Bugfix: Reset the packet counters at the same time as the byte counts. Reviewed by: brian MFC after:3 weeks Modified: head/usr.sbin/ppp/throughput.c Modified

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

2010-09-18 Thread Nick Hibma
Author: n_hibma Date: Sat Sep 18 22:37:47 2010 New Revision: 212830 URL: http://svn.freebsd.org/changeset/base/212830 Log: Cleanup white space and typos. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

svn commit: r212831 - head/lib/libproc

2010-09-18 Thread Rui Paulo
Author: rpaulo Date: Sat Sep 18 23:38:21 2010 New Revision: 212831 URL: http://svn.freebsd.org/changeset/base/212831 Log: Ignore EINTR when calling waitpid. Modified: head/lib/libproc/proc_util.c Modified: head/lib/libproc/proc_util.c =

svn commit: r212832 - head/usr.bin/script

2010-09-18 Thread David E. O'Brien
Author: obrien Date: Sun Sep 19 00:36:26 2010 New Revision: 212832 URL: http://svn.freebsd.org/changeset/base/212832 Log: Fix the grammar after I added a second environmental variable. Submitted by: wxs Modified: head/usr.bin/script/script.1 Modified: head/usr.bin/script/script.1 ==

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

2010-09-18 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 19 01:05:19 2010 New Revision: 212833 URL: http://svn.freebsd.org/changeset/base/212833 Log: Fix the experimental NFSv4 server so that it performs local VOP_ADVLOCK() unlock operations correctly. It was passing in F_SETLK instead of F_UNLCK as the operation for

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

2010-09-18 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 19 01:18:03 2010 New Revision: 212834 URL: http://svn.freebsd.org/changeset/base/212834 Log: Fix nfsrv_freeallnfslocks() in the experimental NFSv4 server so that it frees local locks correctly upon close. In order for nfsrv_localunlock() to work correctly, the

svn commit: r212837 - head/lib/libthr/thread

2010-09-18 Thread David Xu
Author: davidxu Date: Sun Sep 19 05:19:47 2010 New Revision: 212837 URL: http://svn.freebsd.org/changeset/base/212837 Log: Fix a race condition when finding stack unwinding functions. Modified: head/lib/libthr/thread/thr_exit.c Modified: head/lib/libthr/thread/thr_exit.c

svn commit: r212838 - head/lib/libthr/thread

2010-09-18 Thread David Xu
Author: davidxu Date: Sun Sep 19 05:42:29 2010 New Revision: 212838 URL: http://svn.freebsd.org/changeset/base/212838 Log: - _Unwind_Resume function is not used, remove it. - Use a store barrier to make sure uwl_forcedunwind is lastest thing other threads can see. - Add some comments. M