svn commit: r207308 - head/sys/vm

2010-04-27 Thread Alan Cox
Author: alc Date: Wed Apr 28 06:34:47 2010 New Revision: 207308 URL: http://svn.freebsd.org/changeset/base/207308 Log: Setting PG_REFERENCED on a page at the end of vm_fault() is redundant since the page table entry's accessed bit is either preset by the immediately preceding call to pmap_en

svn commit: r207306 - head/sys/vm

2010-04-27 Thread Alan Cox
Author: alc Date: Wed Apr 28 04:57:32 2010 New Revision: 207306 URL: http://svn.freebsd.org/changeset/base/207306 Log: Change vm_object_madvise() so that it checks whether the page is invalid or unmanaged before acquiring the page queues lock. Neither of these tests require that lock. More

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

2010-04-27 Thread Alan Cox
Author: alc Date: Wed Apr 28 04:25:36 2010 New Revision: 207305 URL: http://svn.freebsd.org/changeset/base/207305 Log: Adapt i386 r207205 to mips: Clearing PV_TABLE_REF and setting the page's PG_REFERENCED flag in pmap_protect() can't really be justified, so don't do it. Modified: head/sy

svn commit: r207303 - head/sys/net

2010-04-27 Thread Kip Macy
Author: kmacy Date: Tue Apr 27 23:48:50 2010 New Revision: 207303 URL: http://svn.freebsd.org/changeset/base/207303 Log: need to initialize the lock before it is used MFC after:3 days Modified: head/sys/net/flowtable.c Modified: head/sys/net/flowtable.c =

Re: svn commit: r207206 - head/bin/sh

2010-04-27 Thread Jilles Tjoelker
On Tue, Apr 27, 2010 at 07:52:25AM +0400, Andrey Chernov wrote: > On Sun, Apr 25, 2010 at 08:43:19PM +, Jilles Tjoelker wrote: > > Author: jilles > > Date: Sun Apr 25 20:43:19 2010 > > New Revision: 207206 > > URL: http://svn.freebsd.org/changeset/base/207206 > > > > Log: > > sh: Use stalloc

svn commit: r207287 - head/sys/dev/mpt

2010-04-27 Thread Marius Strobl
Author: marius Date: Tue Apr 27 18:41:16 2010 New Revision: 207287 URL: http://svn.freebsd.org/changeset/base/207287 Log: On sparc64 obtain the initiator ID to be used for SPI HBAs from the Open Firmware device tree in order to match what the PROM built-in driver uses. This is especially imp

svn commit: r207286 - head/sys/dev/mpt

2010-04-27 Thread Marius Strobl
Author: marius Date: Tue Apr 27 18:06:54 2010 New Revision: 207286 URL: http://svn.freebsd.org/changeset/base/207286 Log: Replace a magic value with the appropriate macro. Modified: head/sys/dev/mpt/mpt_cam.c Modified: head/sys/dev/mpt/mpt_cam.c ==

svn commit: r207285 - head/sys/dev/sym

2010-04-27 Thread Marius Strobl
Author: marius Date: Tue Apr 27 18:05:33 2010 New Revision: 207285 URL: http://svn.freebsd.org/changeset/base/207285 Log: - On sparc64 obtain the initiator ID from the Open Firmware device tree in order to match what the PROM built-in driver uses. - Remove some no longer used includes. Mo

svn commit: r207284 - head/usr.bin/gzip

2010-04-27 Thread Xin LI
Author: delphij Date: Tue Apr 27 17:57:04 2010 New Revision: 207284 URL: http://svn.freebsd.org/changeset/base/207284 Log: Use _exit(2) system call directly instead of using exit(3) in signal handler, as the latter is not guaranteed to be signal safe, and we do not really care about flushing

Re: svn commit: r207283 - head/usr.bin/gzip

2010-04-27 Thread Ben Kaduk
On Tue, Apr 27, 2010 at 1:50 PM, Xin LI wrote: > Author: delphij > Date: Tue Apr 27 17:50:43 2010 > New Revision: 207283 > URL: http://svn.freebsd.org/changeset/base/207283 > > Log: > Language improvements to make the BUGS section easier to read. > > Reviewed by: Alexander Best > MFC after:

svn commit: r207283 - head/usr.bin/gzip

2010-04-27 Thread Xin LI
Author: delphij Date: Tue Apr 27 17:50:43 2010 New Revision: 207283 URL: http://svn.freebsd.org/changeset/base/207283 Log: Language improvements to make the BUGS section easier to read. Reviewed by: Alexander Best MFC after:13 days Modified: head/usr.bin/gzip/gzip.1 Modified: he

svn commit: r207282 - head/sys/cam/ata

2010-04-27 Thread Alexander Motin
Author: mav Date: Tue Apr 27 15:59:38 2010 New Revision: 207282 URL: http://svn.freebsd.org/changeset/base/207282 Log: Update device identify data and serial number when device change detected. Reprobe immediately following this should have fresh data. Modified: head/sys/cam/ata/ata_xpt.c

svn commit: r207281 - head/sys/dev/esp

2010-04-27 Thread Marius Strobl
Author: marius Date: Tue Apr 27 15:50:25 2010 New Revision: 207281 URL: http://svn.freebsd.org/changeset/base/207281 Log: Take advantage of OF_getscsinitid(). Modified: head/sys/dev/esp/esp_sbus.c Modified: head/sys/dev/esp/esp_sbus.c =

svn commit: r207278 - head/sys/net

2010-04-27 Thread Bjoern A. Zeeb
Author: bz Date: Tue Apr 27 15:16:54 2010 New Revision: 207278 URL: http://svn.freebsd.org/changeset/base/207278 Log: MFP4: @177254 Add missing CURVNET_RESTORE() calls for multiple code paths, to stop leaking the currently cached vnet into callers and to the process. Sponsored by: Th

svn commit: r207277 - in head/sys: netinet netinet6

2010-04-27 Thread Bjoern A. Zeeb
Author: bz Date: Tue Apr 27 15:07:08 2010 New Revision: 207277 URL: http://svn.freebsd.org/changeset/base/207277 Log: Enhance the historic behaviour of raw sockets and jails in a way that we allow all possible jail IPs as source address rather than forcing the "primary". While IPv6 naturally

svn commit: r207276 - head/sys/netinet6

2010-04-27 Thread Bjoern A. Zeeb
Author: bz Date: Tue Apr 27 15:05:03 2010 New Revision: 207276 URL: http://svn.freebsd.org/changeset/base/207276 Log: Make sure IPv6 source address selection does not change interface addresses while walking the IPv6 address list if in the jail case something is connecting to ::1. Repor

svn commit: r207275 - head/sys/netinet

2010-04-27 Thread Bruce M Simpson
Author: bms Date: Tue Apr 27 14:14:21 2010 New Revision: 207275 URL: http://svn.freebsd.org/changeset/base/207275 Log: Fix a regression where DVMRP diagnostic traffic, such as that used by mrinfo and mtrace, was dropped by the IGMP TTL check. IGMP control traffic must always have a TTL of 1.

svn commit: r207269 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include

2010-04-27 Thread Konstantin Belousov
Author: kib Date: Tue Apr 27 09:48:43 2010 New Revision: 207269 URL: http://svn.freebsd.org/changeset/base/207269 Log: Style: use #define instead of #define. Noted by: bde, pluknet gmail com MFC after:11 days Modified: head/sys/amd64/include/proc.h head/sys/arm/include/proc.h

svn commit: r207268 - head/sys/netinet6

2010-04-27 Thread Konstantin Belousov
Author: kib Date: Tue Apr 27 09:47:14 2010 New Revision: 207268 URL: http://svn.freebsd.org/changeset/base/207268 Log: Provide 32bit compat for SIOCGDEFIFACE_IN6. Based on submission by: pluknet gmail com Reviewed by: emaste MFC after:2 weeks Modified: head/sys/netinet6/in