svn commit: r238967 - in head/sys: net netinet netinet6

2012-08-01 Thread Gleb Smirnoff
Author: glebius Date: Wed Aug 1 09:00:26 2012 New Revision: 238967 URL: http://svn.freebsd.org/changeset/base/238967 Log: Some more whitespace cleanup. Modified: head/sys/net/if_llatbl.c head/sys/netinet/if_ether.c head/sys/netinet/in.c head/sys/netinet6/in6.c Modified:

svn commit: r238968 - head/sbin/shutdown

2012-08-01 Thread Dag-Erling Smorgrav
Author: des Date: Wed Aug 1 09:10:21 2012 New Revision: 238968 URL: http://svn.freebsd.org/changeset/base/238968 Log: Restore a piece of BSD history. PR: 169127 Submitted by: Ruben de Groot ru...@hacktor.com MFC after:1 week Modified: head/sbin/shutdown/shutdown.c

Re: svn commit: r238962 - head/sys/dev/ath/ath_rate/sample

2012-08-01 Thread Andriy Gapon
on 01/08/2012 03:29 Ben Kaduk said the following: On Tue, Jul 31, 2012 at 8:18 PM, Adrian Chadd adr...@freebsd.org wrote: --- head/sys/dev/ath/ath_rate/sample/sample.c Tue Jul 31 23:54:15 2012 (r238961) +++ head/sys/dev/ath/ath_rate/sample/sample.c Wed Aug 1 00:18:02 2012

Re: svn commit: r238965 - head/sys/dev/spibus

2012-08-01 Thread Aleksandr Rybalko
On Wed, 1 Aug 2012 01:18:36 + (UTC) Warner Losh i...@freebsd.org wrote: Author: imp Date: Wed Aug 1 01:18:36 2012 New Revision: 238965 URL: http://svn.freebsd.org/changeset/base/238965 Log: Add the chip select glue. Modified: head/sys/dev/spibus/spi.h

svn commit: r238969 - head/sys/dev/mps

2012-08-01 Thread Alexander Motin
Author: mav Date: Wed Aug 1 12:24:13 2012 New Revision: 238969 URL: http://svn.freebsd.org/changeset/base/238969 Log: Fix kernel panic on `camcontrol reset` for specific target, caused by uninitialized cm_targ in mpssas_action_resetdev(). Reviewed by: Desai, Kashyap

svn commit: r238970 - head/sys/amd64/amd64

2012-08-01 Thread Alan Cox
Author: alc Date: Wed Aug 1 16:04:13 2012 New Revision: 238970 URL: http://svn.freebsd.org/changeset/base/238970 Log: Revise pmap_enter()'s handling of mapping updates that change the PTE's PG_M and PG_RW bits but not the physical page frame. First, only perform vm_page_dirty() on a

svn commit: r238972 - in head/sys: amd64/include i386/include

2012-08-01 Thread Konstantin Belousov
Author: kib Date: Wed Aug 1 17:24:53 2012 New Revision: 238972 URL: http://svn.freebsd.org/changeset/base/238972 Log: Add lfence(). MFC after:1 week Modified: head/sys/amd64/include/cpufunc.h head/sys/i386/include/cpufunc.h Modified: head/sys/amd64/include/cpufunc.h

svn commit: r238973 - head/sys/x86/x86

2012-08-01 Thread Konstantin Belousov
Author: kib Date: Wed Aug 1 17:26:22 2012 New Revision: 238973 URL: http://svn.freebsd.org/changeset/base/238973 Log: diff --git a/sys/x86/x86/tsc.c b/sys/x86/x86/tsc.c index c253a96..3d8bd30 100644 --- a/sys/x86/x86/tsc.c +++ b/sys/x86/x86/tsc.c @@ -82,7 +82,11 @@ static void

svn commit: r238974 - head/sys/dev/mps

2012-08-01 Thread Alexander Motin
Author: mav Date: Wed Aug 1 17:31:31 2012 New Revision: 238974 URL: http://svn.freebsd.org/changeset/base/238974 Log: Several fixes to allow firmware/BIOS flash access from user-level: - remove special handling of zero length transfers in mpi_pre_fw_upload(); - add missing

Re: svn commit: r238973 - head/sys/x86/x86

2012-08-01 Thread Konstantin Belousov
On Wed, Aug 01, 2012 at 05:26:22PM +, Konstantin Belousov wrote: Author: kib Date: Wed Aug 1 17:26:22 2012 New Revision: 238973 URL: http://svn.freebsd.org/changeset/base/238973 Log: diff --git a/sys/x86/x86/tsc.c b/sys/x86/x86/tsc.c index c253a96..3d8bd30 100644 ---

svn commit: r238975 - head/sys/x86/x86

2012-08-01 Thread Konstantin Belousov
Author: kib Date: Wed Aug 1 17:34:43 2012 New Revision: 238975 URL: http://svn.freebsd.org/changeset/base/238975 Log: Do a trivial reformatting of the comment, to record the proper commit message for r238973: Rdtsc instruction is not synchronized, it seems on some Intel cores it can

svn commit: r238976 - in head: share/misc usr.bin/calendar/calendars

2012-08-01 Thread Bryan Drewery
Author: bdrewery (ports committer) Date: Wed Aug 1 17:48:38 2012 New Revision: 238976 URL: http://svn.freebsd.org/changeset/base/238976 Log: - Add myself to calendar.freebsd - Add my mentor relationships to committers-ports.dot Approved by: eadler (mentor) Modified:

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-08-01 Thread Giovanni Trematerra
On Tue, Jul 31, 2012 at 10:21 AM, David Xu listlog2...@gmail.com wrote: On 2012/7/31 15:22, Giovanni Trematerra wrote: On Tue, Jul 31, 2012 at 7:48 AM, David Xu davi...@freebsd.org wrote: Author: davidxu Date: Tue Jul 31 05:48:35 2012 New Revision: 238936 URL:

svn commit: r238977 - head/sys/netinet/ipfw

2012-08-01 Thread Luigi Rizzo
Author: luigi Date: Wed Aug 1 18:49:00 2012 New Revision: 238977 URL: http://svn.freebsd.org/changeset/base/238977 Log: add a cast to avoid a signed/unsigned warning (to be removed when we will have TUNABLE_UINT constructors) Modified: head/sys/netinet/ipfw/ip_fw2.c Modified:

Re: svn commit: r238977 - head/sys/netinet/ipfw

2012-08-01 Thread Garrett Cooper
On Wed, Aug 1, 2012 at 11:49 AM, Luigi Rizzo lu...@freebsd.org wrote: Author: luigi Date: Wed Aug 1 18:49:00 2012 New Revision: 238977 URL: http://svn.freebsd.org/changeset/base/238977 Log: add a cast to avoid a signed/unsigned warning (to be removed when we will have TUNABLE_UINT

svn commit: r238979 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2012-08-01 Thread George V. Neville-Neil
Author: gnn Date: Wed Aug 1 19:27:12 2012 New Revision: 238979 URL: http://svn.freebsd.org/changeset/base/238979 Log: When we return with an error we cannot unlock the mutex, because it's been freed. Protect against that, hopefully unlikely, case. Reviewed by: rpaulo MFC after: 2

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-08-01 Thread Bruce Evans
On Wed, 1 Aug 2012, Giovanni Trematerra wrote: On Tue, Jul 31, 2012 at 10:21 AM, David Xu listlog2...@gmail.com wrote: ... The old code broke some history semantic of FIFO pipe, you can try the test tool /usr/src/tools/regression/poll/pipepoll, try it before and after my commit, also compare

svn commit: r238980 - head/sys/gnu/fs/reiserfs

2012-08-01 Thread Tai-hwa Liang
Author: avatar Date: Wed Aug 1 23:05:57 2012 New Revision: 238980 URL: http://svn.freebsd.org/changeset/base/238980 Log: Just like the other file systems found in /sys/fs, g_vfs_open() should be paried with g_vfs_close(). Though g_vfs_close() is a wrapper around g_wither_geom_close(),

svn commit: r238981 - head/sys/dev/e1000

2012-08-01 Thread Sean Bruno
Author: sbruno Date: Thu Aug 2 00:00:34 2012 New Revision: 238981 URL: http://svn.freebsd.org/changeset/base/238981 Log: CPU_NEXT() already handles wrapping around to the beginning. Also, in a system with sparse CPU IDs, you can have a valid CPU ID mp_ncpus (e.g. if you have two CPUs 0

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-08-01 Thread David Xu
On 2012/8/2 3:29, Bruce Evans wrote: On Wed, 1 Aug 2012, Giovanni Trematerra wrote: On Tue, Jul 31, 2012 at 10:21 AM, David Xu listlog2...@gmail.com wrote: ... The old code broke some history semantic of FIFO pipe, you can try the test tool /usr/src/tools/regression/poll/pipepoll, try it