svn commit: r187466 - in stable/7/sys: . amd64/include contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-20 Thread Alan Cox
Author: alc Date: Tue Jan 20 08:13:45 2009 New Revision: 187466 URL: http://svn.freebsd.org/changeset/base/187466 Log: MFC Increase the size of the kernel virtual address space to 6GB. Increase the ceiling on the kmem map's size to 3.6GB. Also, define the ceiling as a fraction of

Re: svn commit: r187437 - head/sys/conf

2009-01-20 Thread Garrett Cooper
On Mon, Jan 19, 2009 at 5:13 PM, M. Warner Losh wrote: > In message: <200901191619.n0jgjrhj015...@svn.freebsd.org> >Maxim Sobolev writes: > : Author: sobomax > : Date: Mon Jan 19 16:19:53 2009 > : New Revision: 187437 > : URL: http://svn.freebsd.org/changeset/base/187437 > : > : Log:

Re: svn commit: r186878 - head/sys/dev/mpt

2009-01-20 Thread Patrick Hurrelmann
On Thu, 15 Jan 2009 10:31:42 -0500 John Baldwin wrote: > On Wednesday 07 January 2009 4:52:47 pm Marius Strobl wrote: > > Author: marius > > Date: Wed Jan 7 21:52:47 2009 > > New Revision: 186878 > > URL: http://svn.freebsd.org/changeset/base/186878 > > > > Log: > > Make the whole initiator mo

Re: svn commit: r187459 - in head: sbin/mount_ntfs sys/conf

2009-01-20 Thread João Barros
On Tue, Jan 20, 2009 at 2:08 AM, Maxim Sobolev wrote: > Author: sobomax > Date: Tue Jan 20 02:08:21 2009 > New Revision: 187459 > URL: http://svn.freebsd.org/changeset/base/187459 > > Log: > Tone down warning about the quality of the NTFS VFS module. It appears that > not all developers share lu

Re: svn commit: r187437 - head/sys/conf

2009-01-20 Thread João Barros
On Tue, Jan 20, 2009 at 8:52 AM, Garrett Cooper wrote: > On Mon, Jan 19, 2009 at 5:13 PM, M. Warner Losh wrote: >> In message: <200901191619.n0jgjrhj015...@svn.freebsd.org> >>Maxim Sobolev writes: >> : Author: sobomax >> : Date: Mon Jan 19 16:19:53 2009 >> : New Revision: 187437 >> :

Re: svn commit: r187332 - head/tools/regression/usr.bin/jot

2009-01-20 Thread Peter Jeremy
On 2009-Jan-19 08:50:30 -0800, David O'Brien wrote: >Run VMware. Seriously. Or raise a serious discussion on developers@ >about this and get conciseness that cross building on MacOS X and >MS-Windows is a goal. Checking out and cross-building is not something that is limited to committers so I

Re: svn commit: r187332 - head/tools/regression/usr.bin/jot

2009-01-20 Thread Christoph Mallon
David O'Brien schrieb: On Mon, Jan 19, 2009 at 04:55:04PM +, Robert Watson wrote: On Mon, 19 Jan 2009, David O'Brien wrote: For changes like this to be reasoned because of building FreeBSD on Windows there should consensus. For MacOS X - there is a case sensitive FS. So I have to reformat

svn commit: r187467 - in head/sys: kern ufs/ffs

2009-01-20 Thread Konstantin Belousov
Author: kib Date: Tue Jan 20 11:27:45 2009 New Revision: 187467 URL: http://svn.freebsd.org/changeset/base/187467 Log: FFS puts the extended attributes blocks at the negative blocks for the vnode, from -1 down. When vinvalbuf(vp, V_ALT) is done for the vnode, it incorrectly does vm_object_pa

svn commit: r187468 - head/sys/ufs/ffs

2009-01-20 Thread Konstantin Belousov
Author: kib Date: Tue Jan 20 11:30:22 2009 New Revision: 187468 URL: http://svn.freebsd.org/changeset/base/187468 Log: When extending inode size, we call vnode_pager_setsize(), to have a address space where to put vnode pages, and then call UFS_BALLOC(), to actually allocate new block and ma

svn commit: r187469 - head/sys/dev/syscons/teken

2009-01-20 Thread Ed Schouten
Author: ed Date: Tue Jan 20 11:34:28 2009 New Revision: 187469 URL: http://svn.freebsd.org/changeset/base/187469 Log: Properly implement the VT100 SCS sequences in xterm-mode. Even though VT100-like devices can display non-ASCII characters, they do not use an 8-bit character set. Special

Re: svn commit: r187468 - head/sys/ufs/ffs

2009-01-20 Thread Roman Divacky
On Tue, Jan 20, 2009 at 11:30:22AM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Jan 20 11:30:22 2009 > New Revision: 187468 > URL: http://svn.freebsd.org/changeset/base/187468 > > Log: > When extending inode size, we call vnode_pager_setsize(), to have a > address space where to

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

2009-01-20 Thread Konstantin Belousov
Author: kib Date: Tue Jan 20 12:07:49 2009 New Revision: 187470 URL: http://svn.freebsd.org/changeset/base/187470 Log: The context switch to the 32bit binary does not properly restore the fsbase value. The switch loads the fs segment register, that invalidates the value in fsbase msr, thus v

Re: svn commit: r187434 - stable/7/sys/amd64/conf

2009-01-20 Thread Gavin Atkinson
On Mon, 2009-01-19 at 18:11 -0700, M. Warner Losh wrote: > In message: > Robert Watson writes: > : > : On Mon, 19 Jan 2009, Maxim Sobolev wrote: > : > : > Author: sobomax > : > Date: Mon Jan 19 15:36:25 2009 > : > New Revision: 187434 > : > URL: http://svn.freebsd.org/changeset/base

Re: svn commit: r187468 - head/sys/ufs/ffs

2009-01-20 Thread Kostik Belousov
On Tue, Jan 20, 2009 at 12:52:33PM +0100, Roman Divacky wrote: > On Tue, Jan 20, 2009 at 11:30:22AM +, Konstantin Belousov wrote: > > Author: kib > > Date: Tue Jan 20 11:30:22 2009 > > New Revision: 187468 > > URL: http://svn.freebsd.org/changeset/base/187468 > > > > Log: > > When extending

svn commit: r187471 - head/tools/sched

2009-01-20 Thread Jeff Roberson
Author: jeff Date: Tue Jan 20 12:33:04 2009 New Revision: 187471 URL: http://svn.freebsd.org/changeset/base/187471 Log: - Permit timestamps to be as far as 2048 ticks apart before we complain about invalid timestamps. Nehalem CPUs seem to be synchronized but only within a fraction of

Re: svn commit: r187434 - stable/7/sys/amd64/conf

2009-01-20 Thread Robert Watson
On Tue, 20 Jan 2009, Gavin Atkinson wrote: : Are you going to modify UPDATING to say that "options NTFS" will now be : required where it wasn't previously on amd64? Also, insta-MFC's are generally : a bad idea, even for changes believed harmless, as they often have unexpected : side effects.

svn commit: r187472 - head/sys/dev/ofw

2009-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 20 14:06:30 2009 New Revision: 187472 URL: http://svn.freebsd.org/changeset/base/187472 Log: Set the wrong softc size when defining the ofw_iicbus class. Change it to the correct value. Modified: head/sys/dev/ofw/ofw_iicbus.c Modified: head/sys/dev/ofw/ofw_

svn commit: r187473 - head/sys/powerpc/powermac

2009-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 20 14:09:12 2009 New Revision: 187473 URL: http://svn.freebsd.org/changeset/base/187473 Log: Fix a race condition in kiic(4) made possible by the way the device's STOP condition is sent. We used to put the bus in the STOP state, but returned without waiting f

svn commit: r187474 - head/sys/ufs/ufs

2009-01-20 Thread John Baldwin
Author: jhb Date: Tue Jan 20 16:35:34 2009 New Revision: 187474 URL: http://svn.freebsd.org/changeset/base/187474 Log: Add a comment explaining why the "bufwait" / "dirhash" LOR reported by WITNESS will not actually result in a deadlock. Discussed with: kib MFC after:1 week M

svn commit: r187475 - head/usr.bin/make

2009-01-20 Thread Roman Divacky
Author: rdivacky Date: Tue Jan 20 17:15:12 2009 New Revision: 187475 URL: http://svn.freebsd.org/changeset/base/187475 Log: Remove inlining of functions that are used mostly in different object files. This gets rid of gnu89 style inlining. Also silence gcc by assigning two variables NULL. Th

Re: svn commit: r187475 - head/usr.bin/make

2009-01-20 Thread Roman Divacky
On Tue, Jan 20, 2009 at 05:15:12PM +, Roman Divacky wrote: > Author: rdivacky > Date: Tue Jan 20 17:15:12 2009 > New Revision: 187475 > URL: http://svn.freebsd.org/changeset/base/187475 > > Log: > Remove inlining of functions that are used mostly in different object files. > This gets rid

svn commit: r187476 - head/sys/arm/at91

2009-01-20 Thread Alexander Motin
Author: mav Date: Tue Jan 20 17:36:58 2009 New Revision: 187476 URL: http://svn.freebsd.org/changeset/base/187476 Log: Implement MMCBR_IVAR_CAPS. It should better be implemented, or results can be unpredictable. PR: arm/128987 Modified: head/sys/arm/at91/at91_mci.c Modified:

svn commit: r187477 - head/sbin/ipfw

2009-01-20 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 20 18:16:31 2009 New Revision: 187477 URL: http://svn.freebsd.org/changeset/base/187477 Log: Fix a number of (innocuous) warnings, and remove a useless test. There are still several signed/unsigned warnings left, which require a bit more study for a proper fix.

Re: svn commit: r187434 - stable/7/sys/amd64/conf

2009-01-20 Thread M. Warner Losh
In message: <1232452445.22840.21.ca...@buffy.york.ac.uk> Gavin Atkinson writes: : On Mon, 2009-01-19 at 18:11 -0700, M. Warner Losh wrote: : > In message: : > Robert Watson writes: : > : : > : On Mon, 19 Jan 2009, Maxim Sobolev wrote: : > : : > : > Author: sobomax : > :

svn commit: r187478 - in stable/7/sys: . conf contrib/pf dev/ath/ath_hal dev/cxgb kern nfsclient ufs/ffs ufs/ufs

2009-01-20 Thread John Baldwin
Author: jhb Date: Tue Jan 20 19:01:59 2009 New Revision: 187478 URL: http://svn.freebsd.org/changeset/base/187478 Log: MFC: Close several races with using shared vnode locks for pathname lookups with UFS and enable shared lookups for UFS. - Change the name cache to fail lookups with EBADF if

Re: svn commit: r187475 - head/usr.bin/make

2009-01-20 Thread David Schultz
On Tue, Jan 20, 2009, Roman Divacky wrote: > Remove inlining of functions that are used mostly in different object files. > This gets rid of gnu89 style inlining. While I think fixing uses of 'inline' in the tree is a great goal, un-inlining accessor functions that compile down to a single mac

svn commit: r187480 - in stable/7/sys: . amd64/amd64 amd64/include contrib/pf dev/ath/ath_hal dev/cxgb i386/i386 i386/include

2009-01-20 Thread John Baldwin
Author: jhb Date: Tue Jan 20 19:41:18 2009 New Revision: 187480 URL: http://svn.freebsd.org/changeset/base/187480 Log: MFC: Stop maintaining pv_list_count for i386 and amd64 since it was obsoleted by Peter's rewrite of the pv entry allocator. To avoid ABI breakage, the field in 'struct mdpa

Re: svn commit: r186252 - head/sys/kern

2009-01-20 Thread John Baldwin
On Saturday 27 December 2008 4:47:45 pm Antoine Brodin wrote: > On Sat, Dec 27, 2008 at 10:19 PM, wrote: > > On 27/12/2008, Antoine Brodin wrote: > >> On Wed, Dec 17, 2008 at 8:57 PM, Ivan Voras wrote: > > > >> Modified: head/sys/kern/subr_param.c > >> [snip] > >>> +enum VM_GUEST { VM_GUEST_NO,

Re: svn commit: r187401 - stable/7/sys/dev/ata

2009-01-20 Thread John Baldwin
On Sunday 18 January 2009 1:50:18 pm Nick Hibma wrote: > Author: n_hibma > Date: Sun Jan 18 18:50:18 2009 > New Revision: 187401 > URL: http://svn.freebsd.org/changeset/base/187401 > > Log: > Speling mistake. > > Modified: > stable/7/sys/dev/ata/ata-all.c > > Modified: stable/7/sys/dev/ata/a

Re: svn commit: r186878 - head/sys/dev/mpt

2009-01-20 Thread John Baldwin
On Tuesday 20 January 2009 4:46:12 am Patrick Hurrelmann wrote: > On Thu, 15 Jan 2009 10:31:42 -0500 > John Baldwin wrote: > > > On Wednesday 07 January 2009 4:52:47 pm Marius Strobl wrote: > > > Author: marius > > > Date: Wed Jan 7 21:52:47 2009 > > > New Revision: 186878 > > > URL: http://svn.

svn commit: r187481 - head/sys/dev/re

2009-01-20 Thread Jung-uk Kim
Author: jkim Date: Tue Jan 20 19:58:01 2009 New Revision: 187481 URL: http://svn.freebsd.org/changeset/base/187481 Log: - Do not read and write RX configuration register multiple times. - Always program RX configuration register from scratch instead of doing read/modify/write. - Rename re_

svn commit: r187482 - in head/sys: dev/re pci

2009-01-20 Thread Jung-uk Kim
Author: jkim Date: Tue Jan 20 20:04:09 2009 New Revision: 187482 URL: http://svn.freebsd.org/changeset/base/187482 Log: Retire RL_FLAG_INVMAR bit to match its comment and reality. Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h Modified: head/sys/dev/re/if_re.c ==

svn commit: r187483 - in head/sys: dev/re pci

2009-01-20 Thread Jung-uk Kim
Author: jkim Date: Tue Jan 20 20:22:28 2009 New Revision: 187483 URL: http://svn.freebsd.org/changeset/base/187483 Log: - Add support for 8110SCe part. Some magic registers were taken from Linux driver. - Swap hardware revisions for 8110S and 8169S as Linux driver claims. Reviewed by:

svn commit: r187484 - stable/7/sys/dev/ata

2009-01-20 Thread Nick Hibma
Author: n_hibma Date: Tue Jan 20 20:32:48 2009 New Revision: 187484 URL: http://svn.freebsd.org/changeset/base/187484 Log: revert my previous commit. It was in error. I got primed by a few other similar typos in man-pages. Submitted by: jhb Modified: stable/7/sys/dev/ata/ata-all.c Mod

svn commit: r187485 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb i386/i386

2009-01-20 Thread Alan Cox
Author: alc Date: Tue Jan 20 20:41:41 2009 New Revision: 187485 URL: http://svn.freebsd.org/changeset/base/187485 Log: MFC rev 180600 Simplify pmap_extract()'s control flow, making it more like the related functions pmap_extract_and_hold() and pmap_kextract(). Modified: stable/7/sys/

svn commit: r187486 - head/sys/conf

2009-01-20 Thread Andrew Thompson
Author: thompsa Date: Tue Jan 20 21:37:41 2009 New Revision: 187486 URL: http://svn.freebsd.org/changeset/base/187486 Log: Dont assume $MACHINE is set, this breaks for regular builds. Reported by: pho Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh ===

svn commit: r187490 - head/sys/ufs/ffs

2009-01-20 Thread Konstantin Belousov
Author: kib Date: Tue Jan 20 22:00:19 2009 New Revision: 187490 URL: http://svn.freebsd.org/changeset/base/187490 Log: The r187467 should remove all pages for V_NORMAL case too, because indirect block pages are not removed by the mentioned invocation of the vnode_pager_setsize(). Put a

svn commit: r187494 - head/sys/dev/usb2/bluetooth

2009-01-20 Thread Maksim Yevmenkin
Author: emax Date: Tue Jan 20 22:17:05 2009 New Revision: 187494 URL: http://svn.freebsd.org/changeset/base/187494 Log: Update (well, actually rewrite mostly) ng_ubt2 driver for USB2. Reviewed by: HPS, alfred Blessed by: HPS Modified: head/sys/dev/usb2/bluetooth/ng_ubt2.c head/sys

svn commit: r187495 - head/sys/netgraph

2009-01-20 Thread Alexander Motin
Author: mav Date: Tue Jan 20 22:26:09 2009 New Revision: 187495 URL: http://svn.freebsd.org/changeset/base/187495 Log: Check for infinite recursion possible on some broken PPTP/L2TP/... VPN setups. Mark packets with mbuf_tag on first interface passage and drop on second. PR: por

svn commit: r187496 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb vm

2009-01-20 Thread Ed Maste
Author: emaste Date: Tue Jan 20 22:34:38 2009 New Revision: 187496 URL: http://svn.freebsd.org/changeset/base/187496 Log: MFC r181693: Fix REDZONE(9) on amd64 and perhaps other 64 bit targets -- ensure the space that redzone adds to the allocation for storing its metadata is at le

svn commit: r187497 - stable/7/lib/libstand

2009-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 22:37:56 2009 New Revision: 187497 URL: http://svn.freebsd.org/changeset/base/187497 Log: MFC r185037: Obey signedness flag in %z case. Modified: stable/7/lib/libstand/ (props changed) stable/7/lib/libstand/printf.c Modified: stable/7/lib/libstand/pr

svn commit: r187501 - head/sbin/fsck_ffs

2009-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 22:49:49 2009 New Revision: 187501 URL: http://svn.freebsd.org/changeset/base/187501 Log: Rename option 'C' to 'D' (damaged) in order to avoid a conflict with upcoming Juniper 'C' (clean) flag. Requested by: obrien MFC after:1 week Modified: head/

Re: svn commit: r187069 - stable/7/sbin/fsck_ffs

2009-01-20 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, David, I have made a change to rename my 'C' to 'D' to avoid the conflict. I will MFC my change after 1 week settle to see if there is objections. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNA

svn commit: r187505 - head/sys/dev/usb2/bluetooth

2009-01-20 Thread Maksim Yevmenkin
Author: emax Date: Tue Jan 20 23:25:27 2009 New Revision: 187505 URL: http://svn.freebsd.org/changeset/base/187505 Log: Fix typo in comment Pointed out by: Daan Vreeken / Daan at vehosting dot nl Modified: head/sys/dev/usb2/bluetooth/ng_ubt2.c Modified: head/sys/dev/usb2/bluetooth

svn commit: r187506 - in stable/7/sys: . kern

2009-01-20 Thread Xin LI
Author: delphij Date: Wed Jan 21 00:26:45 2009 New Revision: 187506 URL: http://svn.freebsd.org/changeset/base/187506 Log: MFC r185036: Obey signedness flag in %z case. Modified: stable/7/sys/ (props changed) stable/7/sys/kern/subr_prf.c Modified: stable/7/sys/kern/subr_prf.c ==

svn commit: r187510 - in head/sys/dev/ath/ath_hal: ar5211 ar5212

2009-01-20 Thread Sam Leffler
Author: sam Date: Wed Jan 21 02:53:00 2009 New Revision: 187510 URL: http://svn.freebsd.org/changeset/base/187510 Log: correct typo that left programmed sifs time in the slot time (to be applied on subsequent resets) Submitted by: Jiri Fojtasek Modified: head/sys/dev/ath/ath_hal/ar521

svn commit: r187511 - in head/sys: kern sys

2009-01-20 Thread Andrew Thompson
Author: thompsa Date: Wed Jan 21 04:19:18 2009 New Revision: 187511 URL: http://svn.freebsd.org/changeset/base/187511 Log: Add functions WITNESS so it can be asserted that the lock is not released for a section of code, this uses WITNESS_NORELEASE() and WITNESS_RELEASEOK() to mark the bound

Re: svn commit: r187437 - head/sys/conf

2009-01-20 Thread Garrett Cooper
On Tue, Jan 20, 2009 at 2:22 AM, João Barros wrote: > On Tue, Jan 20, 2009 at 8:52 AM, Garrett Cooper wrote: >> On Mon, Jan 19, 2009 at 5:13 PM, M. Warner Losh wrote: >>> In message: <200901191619.n0jgjrhj015...@svn.freebsd.org> >>>Maxim Sobolev writes: >>> : Author: sobomax >>> : D

svn commit: r187520 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-20 Thread Alan Cox
Author: alc Date: Wed Jan 21 06:32:32 2009 New Revision: 187520 URL: http://svn.freebsd.org/changeset/base/187520 Log: MFC rev 177851 Optimize pmap_pml4e() and pmap_pdpe() based upon two observations: The given pmap is never NULL, and therefore pmap_pml4e() can never return NULL. Th

svn commit: r187521 - in head/lib/libarchive: . test

2009-01-20 Thread Tim Kientzle
Author: kientzle Date: Wed Jan 21 06:55:27 2009 New Revision: 187521 URL: http://svn.freebsd.org/changeset/base/187521 Log: Merge-from-Googlecode r419 In archive_write_disk: If archive_write_header() fails to create the file, that's a failure and should return ARCHIVE_FAILED. Metadata

svn commit: r187522 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb i386/i386

2009-01-20 Thread Alan Cox
Author: alc Date: Wed Jan 21 07:33:18 2009 New Revision: 187522 URL: http://svn.freebsd.org/changeset/base/187522 Log: MFC rev 180846 Style fixes to several function definitions. Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/amd64/pmap.c stable/7/sys/contrib/pf/ (prop

svn commit: r187523 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-20 Thread Alan Cox
Author: alc Date: Wed Jan 21 07:41:24 2009 New Revision: 187523 URL: http://svn.freebsd.org/changeset/base/187523 Log: MFC rev 175325 Make pmap_is_prefaultable() more TLB friendly. Specifically, make it use the kernel's direct map instead of the pmap's recursive mapping to access th