svn commit: r215607 - head/sbin/devd

2010-11-20 Thread Kevin Lo
Author: kevlo Date: Sun Nov 21 04:02:37 2010 New Revision: 215607 URL: http://svn.freebsd.org/changeset/base/215607 Log: Fix missing closedir() Reviewed by: imp Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc ===

svn commit: r215606 - head/sys

2010-11-20 Thread David E. O'Brien
Author: obrien Date: Sun Nov 21 03:58:11 2010 New Revision: 215606 URL: http://svn.freebsd.org/changeset/base/215606 Log: Add lex and yacc sources to things cscope'd. Modified: head/sys/Makefile Modified: head/sys/Makefile =

svn commit: r215605 - head/sys

2010-11-20 Thread David E. O'Brien
Author: obrien Date: Sun Nov 21 03:56:41 2010 New Revision: 215605 URL: http://svn.freebsd.org/changeset/base/215605 Log: Add x86 to ALL_ARCH. Modified: head/sys/Makefile Modified: head/sys/Makefile == --- head/sys/M

svn commit: r215597 - head/sys/vm

2010-11-20 Thread Alan Cox
Author: alc Date: Sat Nov 20 22:30:09 2010 New Revision: 215597 URL: http://svn.freebsd.org/changeset/base/215597 Log: Optimize vm_object_terminate(). Reviewed by: kib MFC after:1 week Modified: head/sys/vm/vm_object.c Modified: head/sys/vm/vm_object.c ===

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

2010-11-20 Thread Colin Percival
Author: cperciva Date: Sat Nov 20 21:36:12 2010 New Revision: 215593 URL: http://svn.freebsd.org/changeset/base/215593 Log: Unifdef XEN. This file is only compiled with the XEN kernel option set, and the !XEN bits get in the way of understanding the code. Modified: head/sys/i386/xen/pmap.c

svn commit: r215587 - in head/sys/i386: include xen

2010-11-20 Thread Colin Percival
Author: cperciva Date: Sat Nov 20 20:04:29 2010 New Revision: 215587 URL: http://svn.freebsd.org/changeset/base/215587 Log: Add VTOM(va) macro as xpmap_ptom(VTOP(va)) to convert to machine addresses. Clean up the code by converting xpmap_ptom(VTOP(...)) to VTOM(...) and converting xpmap_p

svn commit: r215577 - head/sys/boot/ofw/libofw

2010-11-20 Thread Andreas Tobler
Author: andreast Date: Sat Nov 20 19:23:16 2010 New Revision: 215577 URL: http://svn.freebsd.org/changeset/base/215577 Log: Check the OF_getprop() return value before proceeding. Allocate only as much space as needed for the mode buffer. Use strcmp, relying on OF giving back NULL terminated

svn commit: r215576 - in head: sbin/mount sys/ufs/ffs

2010-11-20 Thread Kirk McKusick
Author: mckusick Date: Sat Nov 20 18:40:50 2010 New Revision: 215576 URL: http://svn.freebsd.org/changeset/base/215576 Log: Delete /sys/ufs/ffs/README.snapshot as it is no longer relevant. Drop reference to it in mount(8). MFC: 3 days Deleted: head/sys/ufs/ffs/README.snapshot Modified

svn commit: r215574 - head/sys/vm

2010-11-20 Thread Konstantin Belousov
Author: kib Date: Sat Nov 20 17:27:38 2010 New Revision: 215574 URL: http://svn.freebsd.org/changeset/base/215574 Log: The runlen returned from vm_pageout_flush() might be zero legitimately, when mreq page has status VM_PAGER_AGAIN. MFC after:5 days Modified: head/sys/vm/vm_object.

svn commit: r215570 - head/sbin/geom/class/part

2010-11-20 Thread Andrey V. Elsukov
Author: ae Date: Sat Nov 20 16:03:53 2010 New Revision: 215570 URL: http://svn.freebsd.org/changeset/base/215570 Log: Add to gpart(8) an ability to backup partition table and restore it from given backup. Discussed with: geom@ Approved by: kib (mentor) MFC after:1 week Mod

svn commit: r215569 - head/usr.bin/vmstat

2010-11-20 Thread Kevin Lo
Author: kevlo Date: Sat Nov 20 15:22:16 2010 New Revision: 215569 URL: http://svn.freebsd.org/changeset/base/215569 Log: Remove unused variable Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c ==

svn commit: r215568 - head/bin/sh

2010-11-20 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 20 14:30:28 2010 New Revision: 215568 URL: http://svn.freebsd.org/changeset/base/215568 Log: sh: Remove the check that alpha/name/in_name chars are not CTL* bytes. Since is_alpha/is_name/is_in_name were made ASCII-only, this can no longer happen. Addition

svn commit: r215567 - head/bin/sh

2010-11-20 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 20 14:14:52 2010 New Revision: 215567 URL: http://svn.freebsd.org/changeset/base/215567 Log: sh: Code size optimizations to buffered output. This is mainly less use of the outc macro. No functional change is intended, but code size is about 2K less on i386.

svn commit: r215559 - head/sys/netinet6

2010-11-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Nov 20 12:27:40 2010 New Revision: 215559 URL: http://svn.freebsd.org/changeset/base/215559 Log: In case of an early return from the function there is no need to zero the route upfront, so defer as long as we can. MFC after:3 days Modified: head/sys/netinet6/nd

svn commit: r215553 - head/sys/netinet

2010-11-20 Thread Lawrence Stewart
Author: lstewart Date: Sat Nov 20 08:40:37 2010 New Revision: 215553 URL: http://svn.freebsd.org/changeset/base/215553 Log: Fix a minor code redundancy nit. MFC after:3 days Modified: head/sys/netinet/siftr.c Modified: head/sys/netinet/siftr.c ===