svn commit: r209653 - head/bin/sh

2010-07-02 Thread Jilles Tjoelker
Author: jilles Date: Fri Jul 2 22:17:13 2010 New Revision: 209653 URL: http://svn.freebsd.org/changeset/base/209653 Log: sh: Use $PWD instead of getcwd() for the \w and \W prompt expansions. This ensures that the logical working directory (which may include symlinks) is shown and is simi

Re: svn commit: r209604 - head/lib/libc/gmon

2010-07-02 Thread David Schultz
On Wed, Jun 30, 2010, Marcel Moolenaar wrote: > >>s_scale = ((float)p->kcountsize / o ) * SCALE_1_TO_1; > > > > I can't see any bugs in this expression. p->kcountsize is < o, and the > > scale factor is only 65536, so there should be no problems with overflow. > > This leaves GCC a

svn commit: r209652 - head/tools/regression/bin/sh/expansion

2010-07-02 Thread Jilles Tjoelker
Author: jilles Date: Fri Jul 2 21:31:24 2010 New Revision: 209652 URL: http://svn.freebsd.org/changeset/base/209652 Log: sh: Remove comment that the comma operator is missing in arithmetic expansion. The comma operator is not listed in POSIX.1-2008 XCU 1.1.2.1 Arithmetic Precision and

svn commit: r209651 - head/sys/vm

2010-07-02 Thread Alan Cox
Author: alc Date: Fri Jul 2 20:56:22 2010 New Revision: 209651 URL: http://svn.freebsd.org/changeset/base/209651 Log: Push down the acquisition of the page queues lock into vm_pageout_page_stats(). In particular, avoid acquiring the page queues lock unless iterating over the active queue.

svn commit: r209650 - head/sys/vm

2010-07-02 Thread Alan Cox
Author: alc Date: Fri Jul 2 19:59:18 2010 New Revision: 209650 URL: http://svn.freebsd.org/changeset/base/209650 Log: Use vm_page_prev() instead of vm_page_lookup() in the implementation of vm_fault()'s automatic delete-behind heuristic. vm_page_prev() is typically faster. Modified: head

svn commit: r209649 - in head/sys: amd64/amd64 i386/i386

2010-07-02 Thread Alexander Motin
Author: mav Date: Fri Jul 2 17:22:15 2010 New Revision: 209649 URL: http://svn.freebsd.org/changeset/base/209649 Log: Revert r209638. After commit, there appeared to be more people who liked previous name of stray interrupt counters, then responded to the list. Modified: head/sys/amd64/amd

svn commit: r209648 - head/sys/kern

2010-07-02 Thread Alan Cox
Author: alc Date: Fri Jul 2 15:50:30 2010 New Revision: 209648 URL: http://svn.freebsd.org/changeset/base/209648 Log: Use vm_page_next() instead of vm_page_lookup() in exec_map_first_page() because vm_page_next() is faster. Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_

svn commit: r209647 - head/sys/vm

2010-07-02 Thread Alan Cox
Author: alc Date: Fri Jul 2 15:02:51 2010 New Revision: 209647 URL: http://svn.freebsd.org/changeset/base/209647 Log: With the demise of page coloring, the page queue macros no longer serve any useful purpose. Eliminate them. Reviewed by: kib Modified: head/sys/vm/vm_contig.c head

svn commit: r209646 - head/sys/mips/rmi

2010-07-02 Thread Jayachandran C.
Author: jchandra Date: Fri Jul 2 13:30:26 2010 New Revision: 209646 URL: http://svn.freebsd.org/changeset/base/209646 Log: Add support for XLS 108 chips - update board.c/board.h to setup GMAC driver parameters correctly. Approved by: rrs (mentor) Obtained from:Sriram Gorti M

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

2010-07-02 Thread Jayachandran C.
Author: jchandra Date: Fri Jul 2 12:01:46 2010 New Revision: 209645 URL: http://svn.freebsd.org/changeset/base/209645 Log: Remove save/restore of PageMask in tlb.c functions introduced in r209243. If we save/restore the PageMask, the value set by the bootloader will persist, and will cause

svn commit: r209644 - head/sys/netinet

2010-07-02 Thread Randall Stewart
Author: rrs Date: Fri Jul 2 09:53:26 2010 New Revision: 209644 URL: http://svn.freebsd.org/changeset/base/209644 Log: Fix a bug that WILL cause a panic. Basically a read-lock is being called to check the vtag-timewait cache. Then in two cases (where a vtag is bad i.e. in the time-wait st

Re: svn commit: r209634 - head/sys/x86/isa

2010-07-02 Thread Florian Smeets
On 7/1/10 8:51 PM, Alexander Motin wrote: > Author: mav > Date: Thu Jul 1 18:51:18 2010 > New Revision: 209634 > URL: http://svn.freebsd.org/changeset/base/209634 > > Log: > Rework r209456: > Instead of using fake rid (which ISA doesn't like), delete untrusted > IRQ resource and let it be r