Re: svn commit: r226967 - head/sys/ufs/ufs

2012-03-02 Thread Rick Macklem
John Baldwin wrote: > On Friday, March 02, 2012 8:29:21 am Peter Holm wrote: > > On Thu, Mar 01, 2012 at 04:47:41PM -0500, John Baldwin wrote: > > > On Monday, October 31, 2011 11:01:47 am Peter Holm wrote: > > > > Author: pho > > > > Date: Mon Oct 31 15:01:47 2011 > > > > New Revision: 226967 > >

svn commit: r232435 - head/usr.sbin/pkg_install/add

2012-03-02 Thread Ken Smith
Author: kensmith Date: Sat Mar 3 05:04:47 2012 New Revision: 232435 URL: http://svn.freebsd.org/changeset/base/232435 Log: Add entry for packages-8.3-release directory. Modified: head/usr.sbin/pkg_install/add/main.c Modified: head/usr.sbin/pkg_install/add/main.c

Re: svn commit: r232416 - in head/sys: amd64/conf i386/conf

2012-03-02 Thread Bruce Evans
On Sat, 3 Mar 2012, Jung-uk Kim wrote: Log: Add VESA option to GENERIC for amd64 and i386. MFC after: 1 month Any chance of adding it without style bugs? Modified: head/sys/amd64/conf/GENERIC == --- head/sys/a

svn commit: r232420 - in head/sys: fs/nfsclient kern nfsclient sys

2012-03-02 Thread Rick Macklem
Author: rmacklem Date: Sat Mar 3 01:06:54 2012 New Revision: 232420 URL: http://svn.freebsd.org/changeset/base/232420 Log: Post r230394, the Lookup RPC counts for both NFS clients increased significantly. Upon investigation this was caused by name cache misses for lookups of "..". For name

Re: svn commit: r232275 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-02 Thread Bruce Evans
On Fri, 2 Mar 2012, Tijl Coosemans wrote: On Friday 02 March 2012 05:11:21 Bruce Evans wrote: [... Lots about complications for longjmp() from a signal handler] Thanks, that was quite informative. C11 does say something about the FP env and signals now though: ``When the processing of the ab

svn commit: r232416 - in head/sys: amd64/conf i386/conf

2012-03-02 Thread Jung-uk Kim
Author: jkim Date: Sat Mar 3 00:11:46 2012 New Revision: 232416 URL: http://svn.freebsd.org/changeset/base/232416 Log: Add VESA option to GENERIC for amd64 and i386. MFC after:1 month Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC Modified: head/sys/amd64/conf/G

Re: svn commit: r232403 - in head/sys: dev/acpica dev/cardbus dev/pci powerpc/ofw sparc64/pci

2012-03-02 Thread Marius Strobl
On Fri, Mar 02, 2012 at 05:18:37PM -0500, John Baldwin wrote: > On Friday, March 02, 2012 4:45:52 pm Marius Strobl wrote: > > On Fri, Mar 02, 2012 at 08:38:05PM +, John Baldwin wrote: > > > Author: jhb > > > Date: Fri Mar 2 20:38:04 2012 > > > New Revision: 232403 > > > URL: http://svn.freebsd

Re: svn commit: r232403 - in head/sys: dev/acpica dev/cardbus dev/pci powerpc/ofw sparc64/pci

2012-03-02 Thread John Baldwin
On Friday, March 02, 2012 4:45:52 pm Marius Strobl wrote: > On Fri, Mar 02, 2012 at 08:38:05PM +, John Baldwin wrote: > > Author: jhb > > Date: Fri Mar 2 20:38:04 2012 > > New Revision: 232403 > > URL: http://svn.freebsd.org/changeset/base/232403 > > > > Log: > > - Add a bus_dma tag to each

Re: svn commit: r226967 - head/sys/ufs/ufs

2012-03-02 Thread John Baldwin
On Friday, March 02, 2012 3:42:23 pm Peter Holm wrote: > On Fri, Mar 02, 2012 at 11:53:06AM -0500, John Baldwin wrote: > > On Friday, March 02, 2012 8:29:21 am Peter Holm wrote: > > > On Thu, Mar 01, 2012 at 04:47:41PM -0500, John Baldwin wrote: > > > > On Monday, October 31, 2011 11:01:47 am Peter

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

2012-03-02 Thread Kenneth D. Merry
Author: ken Date: Fri Mar 2 22:00:40 2012 New Revision: 232411 URL: http://svn.freebsd.org/changeset/base/232411 Log: Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem is that the mpt(4) drive

Re: svn commit: r232266 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-02 Thread Bruce Evans
On Fri, 2 Mar 2012, Tijl Coosemans wrote: On Friday 02 March 2012 12:52:41 Bruce Evans wrote: ... Here is another version. It has now been tested a bit at runtime. I had to restore almost all of the complications, so the following reduces to mostly style changes including comments about surpri

svn commit: r232410 - in head/sys/mips: cavium mips

2012-03-02 Thread Juli Mallett
Author: jmallett Date: Fri Mar 2 21:46:31 2012 New Revision: 232410 URL: http://svn.freebsd.org/changeset/base/232410 Log: When creating a handle for a subregion, be sure to actually math out the new handle address, where we're using handles as raw addresses. This fixes devices with subr

Re: svn commit: r232403 - in head/sys: dev/acpica dev/cardbus dev/pci powerpc/ofw sparc64/pci

2012-03-02 Thread Marius Strobl
On Fri, Mar 02, 2012 at 08:38:05PM +, John Baldwin wrote: > Author: jhb > Date: Fri Mar 2 20:38:04 2012 > New Revision: 232403 > URL: http://svn.freebsd.org/changeset/base/232403 > > Log: > - Add a bus_dma tag to each PCI bus that is a child of a Host-PCI bridge. > The tag enforces a si

svn commit: r232409 - head/sys/mips/conf

2012-03-02 Thread Juli Mallett
Author: jmallett Date: Fri Mar 2 21:44:39 2012 New Revision: 232409 URL: http://svn.freebsd.org/changeset/base/232409 Log: If an Atheros device is attached to an Octeon, it's going to be by PCI. Modified: head/sys/mips/conf/OCTEON1 Modified: head/sys/mips/conf/OCTEON1 ==

Re: svn commit: r232275 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-02 Thread Tijl Coosemans
On Friday 02 March 2012 05:11:21 Bruce Evans wrote: > On Thu, 1 Mar 2012, Tijl Coosemans wrote: >> Also, from ISO C: "All accessible objects have values, and all other >> components of the abstract machine [249] have state, as of the time the >> longjmp function was called" >> >> "[249] This includ

Re: svn commit: r226967 - head/sys/ufs/ufs

2012-03-02 Thread Peter Holm
On Fri, Mar 02, 2012 at 11:53:06AM -0500, John Baldwin wrote: > On Friday, March 02, 2012 8:29:21 am Peter Holm wrote: > > On Thu, Mar 01, 2012 at 04:47:41PM -0500, John Baldwin wrote: > > > On Monday, October 31, 2011 11:01:47 am Peter Holm wrote: > > > > Author: pho > > > > Date: Mon Oct 31 15:01

svn commit: r232403 - in head/sys: dev/acpica dev/cardbus dev/pci powerpc/ofw sparc64/pci

2012-03-02 Thread John Baldwin
Author: jhb Date: Fri Mar 2 20:38:04 2012 New Revision: 232403 URL: http://svn.freebsd.org/changeset/base/232403 Log: - Add a bus_dma tag to each PCI bus that is a child of a Host-PCI bridge. The tag enforces a single restriction that all DMA transactions must not cross a 4GB boundary.

svn commit: r232402 - head/sys/mips/cavium

2012-03-02 Thread Juli Mallett
Author: jmallett Date: Fri Mar 2 20:34:15 2012 New Revision: 232402 URL: http://svn.freebsd.org/changeset/base/232402 Log: Unbreak SMP on stock Octeon systems -- copy the core_mask from bootinfo into sysinfo. This should have been done as part of replacing bootinfo with sysinfo. Modified:

Re: svn commit: r232266 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-02 Thread Tijl Coosemans
On Friday 02 March 2012 12:52:41 Bruce Evans wrote: > On Fri, 2 Mar 2012, Bruce Evans wrote: > > > On Thu, 1 Mar 2012, Tijl Coosemans wrote: > > > >> On Wednesday 29 February 2012 08:44:54 Bruce Evans wrote: > >>> ... > >>> So any macro version must use gcc features to be safe. The following > >>

svn commit: r232401 - in head/sys: fs/tmpfs ufs/ufs

2012-03-02 Thread John Baldwin
Author: jhb Date: Fri Mar 2 18:55:19 2012 New Revision: 232401 URL: http://svn.freebsd.org/changeset/base/232401 Log: Similar to the fixes in 226967 and 226987, purge any name cache entries associated with the previous vnode (if any) associated with the target of a rename(). Otherwise, a l

Re: svn commit: r226967 - head/sys/ufs/ufs

2012-03-02 Thread John Baldwin
On Friday, March 02, 2012 8:29:21 am Peter Holm wrote: > On Thu, Mar 01, 2012 at 04:47:41PM -0500, John Baldwin wrote: > > On Monday, October 31, 2011 11:01:47 am Peter Holm wrote: > > > Author: pho > > > Date: Mon Oct 31 15:01:47 2011 > > > New Revision: 226967 > > > URL: http://svn.freebsd.org/ch

Re: svn commit: r232261 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-02 Thread John Baldwin
On Friday, March 02, 2012 12:10:38 am Bruce Evans wrote: > It's too late to change vm types. The distinction between addresses > and sizes became useful first with file offsets (vm_ooffset_t. BTW, > what is an o offset?) and then for physical offsets. The 'o' stands for 'object', so 'vm_ooffset_

svn commit: r232400 - head/sys/dev/iicbus

2012-03-02 Thread Andreas Tobler
Author: andreast Date: Fri Mar 2 18:18:14 2012 New Revision: 232400 URL: http://svn.freebsd.org/changeset/base/232400 Log: Fix typo. Modified: head/sys/dev/iicbus/ds1775.c Modified: head/sys/dev/iicbus/ds1775.c == -

svn commit: r232399 - head/sys/vm

2012-03-02 Thread Alan Cox
Author: alc Date: Fri Mar 2 17:33:51 2012 New Revision: 232399 URL: http://svn.freebsd.org/changeset/base/232399 Log: Eliminate stale incorrect ARGSUSED comments. Submitted by: bde Modified: head/sys/vm/vm_mmap.c Modified: head/sys/vm/vm_mmap.c =

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

2012-03-02 Thread Ruslan Ermilov
Author: ru Date: Fri Mar 2 14:05:50 2012 New Revision: 232393 URL: http://svn.freebsd.org/changeset/base/232393 Log: Removed excessive _seekdir() call in closedir(). This saves one lseek() syscall. Before r5958, seekdir() was called for its side effect of freeing memory allocated by opend

Re: svn commit: r232266 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-02 Thread Jilles Tjoelker
On Thu, Mar 01, 2012 at 11:46:20PM +0100, Tijl Coosemans wrote: > On Wednesday 29 February 2012 08:44:54 Bruce Evans wrote: > > On Wed, 29 Feb 2012, Bruce Evans wrote: > >> I cleaned this up a bit according to ideas in my previous mails, and > >> added a comment about the confusing use of __bswap64

Re: svn commit: r226967 - head/sys/ufs/ufs

2012-03-02 Thread Peter Holm
On Thu, Mar 01, 2012 at 04:47:41PM -0500, John Baldwin wrote: > On Monday, October 31, 2011 11:01:47 am Peter Holm wrote: > > Author: pho > > Date: Mon Oct 31 15:01:47 2011 > > New Revision: 226967 > > URL: http://svn.freebsd.org/changeset/base/226967 > > > > Log: > > The kern_renameat() looks u

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

2012-03-02 Thread Konstantin Belousov
Author: kib Date: Fri Mar 2 13:19:56 2012 New Revision: 232392 URL: http://svn.freebsd.org/changeset/base/232392 Log: Belatedly add dl_iterate_phdr(3) to the list of installed manpages. MFC after:3 days Modified: head/lib/libc/gen/Makefile.inc Modified: head/lib/libc/gen/Makefile.i

Re: svn commit: r232351 - in head/sys: kern sys ufs/ffs ufs/ufs

2012-03-02 Thread David Chisnall
On 2 Mar 2012, at 12:53, Konstantin Belousov wrote: > This part of the change breaks KBI. I suggest that for merge to stable/9 > you would leave the bread and breadn as functions. Can we not do this for the general case? Provide them as inline extern functions in the header, and implement them

Re: svn commit: r232351 - in head/sys: kern sys ufs/ffs ufs/ufs

2012-03-02 Thread Konstantin Belousov
On Thu, Mar 01, 2012 at 06:45:25PM +, Kirk McKusick wrote: > Author: mckusick > Date: Thu Mar 1 18:45:25 2012 > New Revision: 232351 > URL: http://svn.freebsd.org/changeset/base/232351 > Modified: head/sys/sys/buf.h >

Re: svn commit: r232266 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-03-02 Thread Bruce Evans
On Fri, 2 Mar 2012, Bruce Evans wrote: On Thu, 1 Mar 2012, Tijl Coosemans wrote: On Wednesday 29 February 2012 08:44:54 Bruce Evans wrote: ... So any macro version must use gcc features to be safe. The following seems to work: #define __bswap16(x)__extension__ ({ __uint16_t __x = x;

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

2012-03-02 Thread Ruslan Ermilov
Author: ru Date: Fri Mar 2 10:03:38 2012 New Revision: 232385 URL: http://svn.freebsd.org/changeset/base/232385 Log: Finally removed the stat() and fstat() calls from the opendir() code. They were made excessive in r205424 by opening with O_DIRECTORY. Also eliminated the fcntl() call used t

svn commit: r232384 - head/share/man/man9

2012-03-02 Thread Sergey Kandaurov
Author: pluknet Date: Fri Mar 2 09:52:42 2012 New Revision: 232384 URL: http://svn.freebsd.org/changeset/base/232384 Log: Reflect the renaming of ifmaof_ifpforaddr() to if_findmulti() in r148652. MFC after:1 week Modified: head/share/man/man9/ifnet.9 Modified: head/share/man/man9/i

svn commit: r232383 - head/sys/fs/nullfs

2012-03-02 Thread Konstantin Belousov
Author: kib Date: Fri Mar 2 09:48:46 2012 New Revision: 232383 URL: http://svn.freebsd.org/changeset/base/232383 Log: Do not expose unlocked unconstructed nullfs vnode on mount list. Lock the native nullfs vnode lock before switching the locks. Tested by:pho MFC after:1 week M

svn commit: r232382 - head/share/man/man9

2012-03-02 Thread Sergey Kandaurov
Author: pluknet Date: Fri Mar 2 09:30:54 2012 New Revision: 232382 URL: http://svn.freebsd.org/changeset/base/232382 Log: ifp->if_ioctl() has moved to u_long cmd in r36735. Somehow that change had not reached here together with ifioctl(). MFC after:1 week Modified: head/share/man/

svn commit: r232380 - in head: share/man/man4 sys/dev/ahci sys/dev/ata sys/dev/ata/chipsets

2012-03-02 Thread Alexander Motin
Author: mav Date: Fri Mar 2 08:49:07 2012 New Revision: 232380 URL: http://svn.freebsd.org/changeset/base/232380 Log: Fix names of some Marvell SATA chips. It looks like chips with proprietary interface supported by mvs(4) are 88SX, while AHCI-like chips are 88SE. PR: kern/1652