svn commit: r209844 - head/sys/kern

2010-07-09 Thread Jaakko Heinonen
Author: jh Date: Fri Jul 9 10:57:55 2010 New Revision: 209844 URL: http://svn.freebsd.org/changeset/base/209844 Log: Remove redundant high = 0. Reported by: rstone Modified: head/sys/kern/subr_unit.c Modified: head/sys/kern/subr_unit.c

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

2010-07-09 Thread Gleb Smirnoff
Author: glebius Date: Fri Jul 9 11:27:33 2010 New Revision: 209845 URL: http://svn.freebsd.org/changeset/base/209845 Log: Improve last commit: use bpf_mtap2() to avoiding stack usage. Prodded by: julian Modified: head/sys/netinet/ipfw/ip_fw_log.c Modified:

Re: svn commit: r209832 - head/usr.sbin/sysinstall

2010-07-09 Thread John Baldwin
On Thursday, July 08, 2010 7:26:33 pm Doug Barton wrote: On Thu, 8 Jul 2010, Randi Harper wrote: On Thu, Jul 8, 2010 at 2:28 PM, Gabor Kovesdan ga...@freebsd.org wrote: Em 2010.07.08. 23:26, Randi Harper escreveu: Author: randi Date: Thu Jul 8 21:26:26 2010 New Revision: 209832

svn commit: r209847 - head/sys/kern

2010-07-09 Thread John Baldwin
Author: jhb Date: Fri Jul 9 13:53:25 2010 New Revision: 209847 URL: http://svn.freebsd.org/changeset/base/209847 Log: Refine a comment. Reviewed by: bde Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c

svn commit: r209848 - head/sys/kern

2010-07-09 Thread John Baldwin
Author: jhb Date: Fri Jul 9 13:59:53 2010 New Revision: 209848 URL: http://svn.freebsd.org/changeset/base/209848 Log: Accidentally committed an older version of this comment rather than the final one. Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c

svn commit: r209849 - head/sys/powerpc/powerpc

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:00:22 2010 New Revision: 209849 URL: http://svn.freebsd.org/changeset/base/209849 Log: MFppc64: Check if devices are direct-mapped individually instead of just checking the value of hw_direct_map. Modified: head/sys/powerpc/powerpc/bus_machdep.c

svn commit: r209850 - head/sys/powerpc/powerpc

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:01:18 2010 New Revision: 209850 URL: http://svn.freebsd.org/changeset/base/209850 Log: MFppc64: Use longs instead of ints as the native word type in bcopy(). This will expand nicely on 64-bit systems. Modified: head/sys/powerpc/powerpc/bcopy.c

svn commit: r209851 - head/sys/powerpc/aim

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:02:24 2010 New Revision: 209851 URL: http://svn.freebsd.org/changeset/base/209851 Log: MFppc64: Minor 64-bit-cleanliness upgrades and support for platform detection on subtly-broken OF implementations like in the Mambo simulator. Modified:

svn commit: r209852 - head/sys/powerpc/aim

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:02:57 2010 New Revision: 209852 URL: http://svn.freebsd.org/changeset/base/209852 Log: Remove an unnecessary include of opt_psim.h, which is not present on powerpc64. Modified: head/sys/powerpc/aim/nexus.c Modified: head/sys/powerpc/aim/nexus.c

svn commit: r209853 - head/sys/powerpc/aim

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:04:16 2010 New Revision: 209853 URL: http://svn.freebsd.org/changeset/base/209853 Log: The number after 2 is 3, not 4. MFC after:3 days Modified: head/sys/powerpc/aim/platform_chrp.c Modified: head/sys/powerpc/aim/platform_chrp.c

Re: svn commit: r209832 - head/usr.sbin/sysinstall

2010-07-09 Thread Gavin Atkinson
On Thu, 2010-07-08 at 21:26 +, Randi Harper wrote: Author: randi Date: Thu Jul 8 21:26:26 2010 New Revision: 209832 URL: http://svn.freebsd.org/changeset/base/209832 Log: Revert r209787 pending further discussion. Approved by:cperciva (mentor) Thank you. Gaivn

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

2010-07-09 Thread Jack F Vogel
Author: jfv Date: Fri Jul 9 17:11:29 2010 New Revision: 209859 URL: http://svn.freebsd.org/changeset/base/209859 Log: Fix of a VLAN problem by jhb, the checksum capability got lost along the way. MFC: asap Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c

svn commit: r209860 - head/sys/dev/twa

2010-07-09 Thread Xin LI
Author: delphij Date: Fri Jul 9 17:38:15 2010 New Revision: 209860 URL: http://svn.freebsd.org/changeset/base/209860 Log: Don't use pack() for structures that is used purely for software state. Otherwise the resulting, unaligned mutex structure would trigger panic. Submitted by:

Re: svn commit: r209119 - head/sys/sys

2010-07-09 Thread Robert Watson
On Fri, 9 Jul 2010, Gabor PALI wrote: On 06/18/10 14:08, Robert Watson wrote: The only reservation I have, really, is that 64-bit writes are non-atomic on i386 and other 32-bit architectures (or, at least, I think they are). This means DPCPU_SUM may encounter non-atomicity rather than

Re: svn commit: r209119 - head/sys/sys

2010-07-09 Thread Gabor PALI
On 06/18/10 14:08, Robert Watson wrote: The only reservation I have, really, is that 64-bit writes are non-atomic on i386 and other 32-bit architectures (or, at least, I think they are). This means DPCPU_SUM may encounter non-atomicity rather than just staleness in the values it reads as it

Re: svn commit: r209119 - head/sys/sys

2010-07-09 Thread Gabor PALI
On 07/09/10 20:50, Robert Watson wrote: I think I have an e-mail in my in queue from you suggesting an alternative approach that I haven't yet gotten to due to utter saturation here. That is why I CC'ed svn-src-head@ :) (But I do not see any sign whether my last email reached it -- I am not

svn commit: r209861 - in head/sys: kern vm

2010-07-09 Thread Alan Cox
Author: alc Date: Fri Jul 9 19:38:30 2010 New Revision: 209861 URL: http://svn.freebsd.org/changeset/base/209861 Log: Add support for the VM_ALLOC_COUNT() hint to vm_page_alloc(). Consequently, the maintenance of vm_pageout_deficit can be localized to just two places: vm_page_alloc() and

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

2010-07-09 Thread Konstantin Belousov
Author: kib Date: Fri Jul 9 20:05:56 2010 New Revision: 209862 URL: http://svn.freebsd.org/changeset/base/209862 Log: For both i386 and amd64 pmap, - change the type of pm_active to cpumask_t, which it is; - in pmap_remove_pages(), compare with PCPU(curpmap), instead of dereferencing

Re: svn commit: r209862 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2010-07-09 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - u_int pm_active; /* active on cpus */ + cpumask_t pm_active; /* active on cpus */ minor whitespace glitch. - -- -

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-09 Thread Dag-Erling Smørgrav
Gabor Kovesdan ga...@freebsd.org writes: First I tried freebsd-update but it [...] was unable to produce any sensual error message Frankly, I'd be more worried if it had *succeeded* to produce sensual error messages. DES -- Dag-Erling Smørgrav - d...@des.no

svn commit: r209865 - head/sys/dev/sk

2010-07-09 Thread Pyun YongHyeon
Author: yongari Date: Fri Jul 9 21:21:08 2010 New Revision: 209865 URL: http://svn.freebsd.org/changeset/base/209865 Log: Some revision of Yukon controller generates corrupted frame when TX checksum offloading is enabled. The frame has a valid checksum value so payload might be modified

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-09 Thread Randi Harper
2010/7/9 Dag-Erling Smørgrav d...@des.no: Gabor Kovesdan ga...@freebsd.org writes: First I tried freebsd-update but it [...] was unable to produce any sensual error message Frankly, I'd be more worried if it had *succeeded* to produce sensual error messages. Someone should file a PR. I

svn commit: r209866 - head/sys/i386/include

2010-07-09 Thread Konstantin Belousov
Author: kib Date: Fri Jul 9 21:27:42 2010 New Revision: 209866 URL: http://svn.freebsd.org/changeset/base/209866 Log: Fix spacing. Noted by: pgollucci MFC after:3 weeks Modified: head/sys/i386/include/pmap.h Modified: head/sys/i386/include/pmap.h

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-09 Thread Gabor Kovesdan
Em 2010.07.09. 23:24, Randi Harper escreveu: 2010/7/9 Dag-Erling Smørgravd...@des.no: Gabor Kovesdanga...@freebsd.org writes: First I tried freebsd-update but it [...] was unable to produce any sensual error message Frankly, I'd be more worried if it had *succeeded* to

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-09 Thread Dag-Erling Smørgrav
Alexey Dokuchaev da...@freebsd.org writes: Colin Percival cperc...@freebsd.org writes: But a more *sensual* message is probably not necessary. :-) He'd probably meant sensitive. This is getting better and better... DES -- Dag-Erling Smørgrav - d...@des.no

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-09 Thread Gabor Kovesdan
Em 2010.07.09. 23:31, Dag-Erling Smørgrav escreveu: Alexey Dokuchaevda...@freebsd.org writes: Colin Percivalcperc...@freebsd.org writes: But a more *sensual* message is probably not necessary. :-) He'd probably meant sensitive. This is getting better and better...

Re: svn commit: r209832 - head/usr.sbin/sysinstall

2010-07-09 Thread M. Warner Losh
In message: alpine.bsf.2.00.1007081623440.17...@yncgbc.qbhto.arg Doug Barton do...@freebsd.org writes: : On Thu, 8 Jul 2010, Randi Harper wrote: : : On Thu, Jul 8, 2010 at 2:28 PM, Gabor Kovesdan ga...@freebsd.org : wrote: : Em 2010.07.08. 23:26, Randi Harper escreveu: : :

svn commit: r209867 - in head: contrib/binutils/bfd contrib/binutils/ld contrib/gcc/config/rs6000 contrib/gdb/gdb gnu/lib/csu gnu/lib/libgcc gnu/usr.bin/binutils/as gnu/usr.bin/binutils/as/powerpc6...

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 02:29:22 2010 New Revision: 209867 URL: http://svn.freebsd.org/changeset/base/209867 Log: Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC

svn commit: r209868 - head/share/mk

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 02:32:50 2010 New Revision: 209868 URL: http://svn.freebsd.org/changeset/base/209868 Log: Minor modifications to know what to do with powerpc64. Modified: head/share/mk/bsd.cpu.mk head/share/mk/bsd.endian.mk head/share/mk/sys.mk Modified:

svn commit: r209869 - head/lib/csu/powerpc64

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 03:45:55 2010 New Revision: 209869 URL: http://svn.freebsd.org/changeset/base/209869 Log: C startup support for 64-bit PowerPC. Obtained from:projects/ppc64 Added: head/lib/csu/powerpc64/ - copied from r209845, head/lib/csu/powerpc/