svn commit: r239171 - head/sys/i386/xen

2012-08-09 Thread Alan Cox
Author: alc Date: Fri Aug 10 05:47:04 2012 New Revision: 239171 URL: http://svn.freebsd.org/changeset/base/239171 Log: Eliminate an unnecessary acquisition and release of the page queues lock from pmap_pte(). PT_SET_MA() is not a queued mapping update, but instead an immediate mapping updat

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

2012-08-09 Thread Alan Cox
Author: alc Date: Fri Aug 10 05:00:50 2012 New Revision: 239170 URL: http://svn.freebsd.org/changeset/base/239170 Log: Merge r134393 from amd64/i386: The machine-independent parts of the virtual memory system always pass a valid pmap to the pmap functions that require one. Remove the ch

svn commit: r239169 - head/contrib/opie/libopie

2012-08-09 Thread Xin LI
Author: delphij Date: Fri Aug 10 04:48:58 2012 New Revision: 239169 URL: http://svn.freebsd.org/changeset/base/239169 Log: RFC 2289 requires all hashes be stored in little endian format before folding to 64 bits, while SHA1 code is big endian. Therefore, a bswap32 is required before using t

svn commit: r239168 - head/sys/arm/at91

2012-08-09 Thread Warner Losh
Author: imp Date: Fri Aug 10 04:48:06 2012 New Revision: 239168 URL: http://svn.freebsd.org/changeset/base/239168 Log: More comments about setting PLLA, or rather that we never do. Modified: head/sys/arm/at91/at91_pmc.c Modified: head/sys/arm/at91/at91_pmc.c =

svn commit: r239167 - head/sys/arm/at91

2012-08-09 Thread Warner Losh
Author: imp Date: Fri Aug 10 04:47:20 2012 New Revision: 239167 URL: http://svn.freebsd.org/changeset/base/239167 Log: Add charge pump current register. Modified: head/sys/arm/at91/at91_pmcreg.h Modified: head/sys/arm/at91/at91_pmcreg.h ===

svn commit: r239162 - head/tools/tools/ath/common

2012-08-09 Thread Adrian Chadd
Author: adrian Date: Thu Aug 9 23:08:22 2012 New Revision: 239162 URL: http://svn.freebsd.org/changeset/base/239162 Log: Add a missing HAL_DMA_ADDR definition. Modified: head/tools/tools/ath/common/ah_osdep.h Modified: head/tools/tools/ath/common/ah_osdep.h =

svn commit: r239161 - in head/tools/tools/ath: ath_prom_read athaggrstats athstats

2012-08-09 Thread Adrian Chadd
Author: adrian Date: Thu Aug 9 23:04:20 2012 New Revision: 239161 URL: http://svn.freebsd.org/changeset/base/239161 Log: Add HAL_DMA_ADDR. Modified: head/tools/tools/ath/ath_prom_read/Makefile head/tools/tools/ath/athaggrstats/Makefile head/tools/tools/ath/athstats/Makefile Modified: he

svn commit: r239160 - in head: lib/libc/gen tools/regression/lib/libc/gen

2012-08-09 Thread Jilles Tjoelker
Author: jilles Date: Thu Aug 9 22:05:40 2012 New Revision: 239160 URL: http://svn.freebsd.org/changeset/base/239160 Log: nftw(): POSIX says directories causing loops should be silently skipped. Formerly, loops caused nftw() to abort the traversal with ELOOP. Added: head/tools/regression

svn commit: r239157 - head/sys/kern

2012-08-09 Thread Alexander Motin
Author: mav Date: Thu Aug 9 19:26:13 2012 New Revision: 239157 URL: http://svn.freebsd.org/changeset/base/239157 Log: Rework r220198 change (by fabient). I believe it solves the problem from the wrong direction. Before it, if preemption and end of time slice happen same time, thread was put

svn commit: r239156 - head/lib/libc/gen

2012-08-09 Thread Xin LI
Author: delphij Date: Thu Aug 9 19:22:54 2012 New Revision: 239156 URL: http://svn.freebsd.org/changeset/base/239156 Log: Refresh with OpenBSD RCS ID changes to reflect that we now have essentionally the same file. Modified: head/lib/libc/gen/nftw.c Modified: head/lib/libc/gen/nftw.c

svn commit: r239153 - head/sys/kern

2012-08-09 Thread Alexander Motin
Author: mav Date: Thu Aug 9 18:09:59 2012 New Revision: 239153 URL: http://svn.freebsd.org/changeset/base/239153 Log: SCHED_4BSD scheduling quantum mechanism appears to be broken for some time. With switchticks variable being reset each time thread preempted (that is done regularly by inter

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

2012-08-09 Thread Alan Cox
On 08/09/2012 05:45, Peter Jeremy wrote: On 2012-Jul-16 18:13:43 +, Alan Cox wrote: Various improvements to vm_contig_grow_cache(). Most notably, even when it can't sleep, it can still move clean pages from the inactive queue to the cache. Also, when a page is cached, there is no ne

svn commit: r239152 - in head/sys/mips: include mips

2012-08-09 Thread Alan Cox
Author: alc Date: Thu Aug 9 16:38:17 2012 New Revision: 239152 URL: http://svn.freebsd.org/changeset/base/239152 Log: Merge r132141 and r111272 from amd64/i386: Reduce the size of a PV entry by eliminating pv_ptem. There is no need to store a pointer to the page table page in the PV en

svn commit: r239151 - head/lib/libc/gen

2012-08-09 Thread Jilles Tjoelker
Author: jilles Date: Thu Aug 9 15:11:38 2012 New Revision: 239151 URL: http://svn.freebsd.org/changeset/base/239151 Log: ftw(): Do not check the maxfds argument against OPEN_MAX. Apart from the fact that nothing should have OPEN_MAX as a limit (as opposed to RLIMIT_NOFILE from getrlimit(

svn commit: r239150 - head/lib/libc/gen

2012-08-09 Thread Jilles Tjoelker
Author: jilles Date: Thu Aug 9 15:04:06 2012 New Revision: 239150 URL: http://svn.freebsd.org/changeset/base/239150 Log: nftw(): Do not check the maxfds argument against OPEN_MAX. Apart from the fact that nothing should have OPEN_MAX as a limit (as opposed to RLIMIT_NOFILE from getrlimit

svn commit: r239149 - head/sys/dev/netmap

2012-08-09 Thread Ed Maste
Author: emaste Date: Thu Aug 9 14:46:52 2012 New Revision: 239149 URL: http://svn.freebsd.org/changeset/base/239149 Log: Improve lock and unlock symmetry - Move destruction of per-ring locks to netmap_dtor_locked to mirror the initialization that happens in NIOCREGIF. Otherwise unloadin

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

2012-08-09 Thread Peter Jeremy
On 2012-Jul-16 18:13:43 +, Alan Cox wrote: > Various improvements to vm_contig_grow_cache(). Most notably, even when > it can't sleep, it can still move clean pages from the inactive queue to > the cache. Also, when a page is cached, there is no need to restart the > scan. The "next" pa