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

2010-02-28 Thread Kostik Belousov
On Sat, Feb 27, 2010 at 11:08:54PM +0100, Jilles Tjoelker wrote: > On Sat, Feb 27, 2010 at 03:32:49PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Sat Feb 27 15:32:49 2010 > > New Revision: 204413 > > URL: http://svn.freebsd.org/changeset/base/204413 > > > Log: > > For kinfo_proc

svn commit: r204447 - head/lib/libc/stdio

2010-02-28 Thread Jaakko Heinonen
Author: jh Date: Sun Feb 28 13:31:29 2010 New Revision: 204447 URL: http://svn.freebsd.org/changeset/base/204447 Log: In _gettemp(), check that the length of the path doesn't exceed MAXPATHLEN. Otherwise the path name (or part of it) may not fit to carrybuf causing a buffer overflow. PR

svn commit: r204449 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:08:12 2010 New Revision: 204449 URL: http://svn.freebsd.org/changeset/base/204449 Log: Add files to remove when MK_WIRELESS=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r204450 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:12:05 2010 New Revision: 204450 URL: http://svn.freebsd.org/changeset/base/204450 Log: Update files to remove when MK_LPR=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ==

svn commit: r204451 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:13:33 2010 New Revision: 204451 URL: http://svn.freebsd.org/changeset/base/204451 Log: Update files to remove when MK_NCP=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ==

svn commit: r204452 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:21:15 2010 New Revision: 204452 URL: http://svn.freebsd.org/changeset/base/204452 Log: Add files to remove when MK_NDIS=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r204453 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:23:38 2010 New Revision: 204453 URL: http://svn.freebsd.org/changeset/base/204453 Log: Add files to remove when MK_TELNET=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ==

svn commit: r204454 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:24:38 2010 New Revision: 204454 URL: http://svn.freebsd.org/changeset/base/204454 Log: Add files to remove when MK_ROUTED=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ==

svn commit: r204455 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:26:28 2010 New Revision: 204455 URL: http://svn.freebsd.org/changeset/base/204455 Log: Add files to remove when MK_RCS=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc =

svn commit: r204456 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:29:22 2010 New Revision: 204456 URL: http://svn.freebsd.org/changeset/base/204456 Log: Update files to remove when MK_RCMDS=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r204457 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:32:29 2010 New Revision: 204457 URL: http://svn.freebsd.org/changeset/base/204457 Log: Add files to remove when MK_NTP=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc =

svn commit: r204458 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:37:39 2010 New Revision: 204458 URL: http://svn.freebsd.org/changeset/base/204458 Log: Add files to remove when MK_PF=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ==

svn commit: r204459 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:39:39 2010 New Revision: 204459 URL: http://svn.freebsd.org/changeset/base/204459 Log: Add files to remove when MK_PKGTOOLS=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r204460 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:41:28 2010 New Revision: 204460 URL: http://svn.freebsd.org/changeset/base/204460 Log: Add files to remove when MK_PORTSNAP=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r204461 - head/tools/build/mk

2010-02-28 Thread Antoine Brodin
Author: antoine Date: Sun Feb 28 14:43:55 2010 New Revision: 204461 URL: http://svn.freebsd.org/changeset/base/204461 Log: Add files to remove when MK_PPP=no. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc =

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

2010-02-28 Thread Bernd Walter
Author: ticso Date: Sun Feb 28 16:11:13 2010 New Revision: 204462 URL: http://svn.freebsd.org/changeset/base/204462 Log: Fix multicast hashes. Atmel uses a simple xor hash instead of the typical crc based one. Modified: head/sys/arm/at91/if_ate.c Modified: head/sys/arm/at91/if_ate.c ==

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

2010-02-28 Thread Bernd Walter
Author: ticso Date: Sun Feb 28 16:14:34 2010 New Revision: 204463 URL: http://svn.freebsd.org/changeset/base/204463 Log: remove debug leftover Modified: head/sys/arm/at91/if_ate.c Modified: head/sys/arm/at91/if_ate.c ===

svn commit: r204464 - head/sys/net

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 16:25:49 2010 New Revision: 204464 URL: http://svn.freebsd.org/changeset/base/204464 Log: In both if_tun and if_tap: Do not do additional dev_ref() on the newly created interface in the if_clone create method [1]. This reference is not needed and never remov

svn commit: r204465 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:06:42 2010 New Revision: 204465 URL: http://svn.freebsd.org/changeset/base/204465 Log: Remove unused global statistic about fat cache usage. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_fat.c Modified: head/sys/fs/msdosf

svn commit: r204466 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:07:49 2010 New Revision: 204466 URL: http://svn.freebsd.org/changeset/base/204466 Log: Assert that the msdosfs vnode is (e)locked in several places. The plan is to use vnode lock to protect denode and fat cache, and having separate lock for block use map.

svn commit: r204467 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:09:09 2010 New Revision: 204467 URL: http://svn.freebsd.org/changeset/base/204467 Log: Remove seemingly unneeded unlock/relock of the dvp in msdosfs_rmdir, causing LOR. Reported and tested by: pho MFC after:3 weeks Modified: head/sys/fs/msdos

svn commit: r204468 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:10:41 2010 New Revision: 204468 URL: http://svn.freebsd.org/changeset/base/204468 Log: In msdosfs_inactive(), reclaim the vnodes both for SLOT_DELETED and SLOT_EMPTY deName[0] values. Besides conforming to FAT specification, it also clears the issue where vfs_

svn commit: r204469 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:11:31 2010 New Revision: 204469 URL: http://svn.freebsd.org/changeset/base/204469 Log: In msdosfs deget(), properly handle the case when the vnode is found in hash. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_denode.c M

svn commit: r204470 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:13:07 2010 New Revision: 204470 URL: http://svn.freebsd.org/changeset/base/204470 Log: Add per-mountpoint lockmgr lock for msdosfs. It is intended to be used as fat bitmap lock and to replace global mutex protecting fileno rbtree. Tested by:pho MFC af

svn commit: r204471 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:13:59 2010 New Revision: 204471 URL: http://svn.freebsd.org/changeset/base/204471 Log: Use pm_fatlock to protect fat bitmap. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_fat.c head/sys/fs/msdosfs/msdosfs_vfsops.c Modif

svn commit: r204472 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:15:45 2010 New Revision: 204472 URL: http://svn.freebsd.org/changeset/base/204472 Log: Add assertions for FAT bitmap state. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_fat.c Modified: head/sys/fs/msdosfs/msdosfs_fat.c =

svn commit: r204473 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:16:43 2010 New Revision: 204473 URL: http://svn.freebsd.org/changeset/base/204473 Log: Use pm_fatlock to protect per-filesystem rb tree used to allocate fileno on the large FAT volumes. Previously, a single global mutex was used. Tested by:pho MFC aft

svn commit: r204474 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:17:29 2010 New Revision: 204474 URL: http://svn.freebsd.org/changeset/base/204474 Log: Fix the race between dotdot lookup and forced unmount, by using msdosfs-specific variant of vn_vget_ino(), msdosfs_deget_dotdot(). As was done for UFS, relookup the dotdo

svn commit: r204475 - head/sys/fs/msdosfs

2010-02-28 Thread Konstantin Belousov
Author: kib Date: Sun Feb 28 17:19:22 2010 New Revision: 204475 URL: http://svn.freebsd.org/changeset/base/204475 Log: Mark msdosfs as mpsafe. Tested by:pho MFC after:3 weeks Modified: head/sys/fs/msdosfs/msdosfs_vfsops.c Modified: head/sys/fs/msdosfs/msdosfs_vfsops.c

Re: svn commit: r204470 - head/sys/fs/msdosfs

2010-02-28 Thread Attilio Rao
2010/2/28 Konstantin Belousov : > Author: kib > Date: Sun Feb 28 17:13:07 2010 > New Revision: 204470 > URL: http://svn.freebsd.org/changeset/base/204470 > > Log: >  Add per-mountpoint lockmgr lock for msdosfs. It is intended to be used >  as fat bitmap lock and to replace global mutex protecting f

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

2010-02-28 Thread Bernd Walter
Author: ticso Date: Sun Feb 28 18:06:54 2010 New Revision: 204476 URL: http://svn.freebsd.org/changeset/base/204476 Log: simplify hash calculation Modified: head/sys/arm/at91/if_ate.c Modified: head/sys/arm/at91/if_ate.c ===

Re: svn commit: r204470 - head/sys/fs/msdosfs

2010-02-28 Thread Kostik Belousov
On Sun, Feb 28, 2010 at 07:00:10PM +0100, Attilio Rao wrote: > 2010/2/28 Konstantin Belousov : > > Author: kib > > Date: Sun Feb 28 17:13:07 2010 > > New Revision: 204470 > > URL: http://svn.freebsd.org/changeset/base/204470 > > > > Log: > >  Add per-mountpoint lockmgr lock for msdosfs. It is inten

Re: svn commit: r204475 - head/sys/fs/msdosfs

2010-02-28 Thread Mark Linimon
On Sun, Feb 28, 2010 at 05:19:22PM +, Konstantin Belousov wrote: > Mark msdosfs as mpsafe. wow, excellent work. mcl ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86

2010-02-28 Thread Peter Jeremy
On 2010-Feb-26 14:57:36 +0100, Attilio Rao wrote: >For the future, however, probabilly we would need to do something like >pc98 already does wrt i386 (i386/include/ pc98/include/ amd64/include/ >just have files wrappers to the generic one under x86/include/ when >necessary). Not that something li

Re: svn commit: r204460 - head/tools/build/mk

2010-02-28 Thread Pawel Worach
It looks like phttpget is used by freebsd-update too. 0>p...@one ~$ grep -ic phttpget /usr/sbin/freebsd-update 7 -- Pawel On Feb 28, 2010, at 15:41, Antoine Brodin wrote: > Author: antoine > Date: Sun Feb 28 14:41:28 2010 > New Revision: 204460 > URL: http://svn.freebsd.org/changeset/base/2044

svn commit: r204488 - in head: contrib/dtc contrib/dtc/tests sys/contrib/libfdt

2010-02-28 Thread Rafal Jaworowski
Author: raj Date: Sun Feb 28 21:57:35 2010 New Revision: 204488 URL: http://svn.freebsd.org/changeset/base/204488 Log: Merge DTC-d75b33af. This is a split merge because of non-uniform licensing of the DTC package contents and the way these components will be used in the FreeBSD environmen

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86

2010-02-28 Thread M. Warner Losh
In message: <20100228195041.ga68...@server.vk2pj.dyndns.org> Peter Jeremy writes: : On 2010-Feb-26 14:57:36 +0100, Attilio Rao wrote: : >For the future, however, probabilly we would need to do something like : >pc98 already does wrt i386 (i386/include/ pc98/include/ amd64/include/ : >

svn commit: r204489 - head/contrib/dtc

2010-02-28 Thread Rafal Jaworowski
Author: raj Date: Sun Feb 28 22:06:07 2010 New Revision: 204489 URL: http://svn.freebsd.org/changeset/base/204489 Log: Let dtc build with FreeBSD yacc/lex. Sponsored by: The FreeBSD Foundation Modified: head/contrib/dtc/dtc-lexer.l head/contrib/dtc/dtc-parser.y Modified: head/contrib/

svn commit: r204490 - head/gnu/usr.bin/dtc

2010-02-28 Thread Rafal Jaworowski
Author: raj Date: Sun Feb 28 22:09:09 2010 New Revision: 204490 URL: http://svn.freebsd.org/changeset/base/204490 Log: Provide BSD-style Makefile for the device tree compiler (dtc). Note it is not connected to the build hierarchy yet. Sponsored by: The FreeBSD Foundation Added: head

svn commit: r204493 - head/lib/libc/stdlib

2010-02-28 Thread Jason Evans
Author: jasone Date: Sun Feb 28 22:57:13 2010 New Revision: 204493 URL: http://svn.freebsd.org/changeset/base/204493 Log: Rewrite red-black trees to do lazy balance fixup. This improves insert/remove speed by ~30%. Modified: head/lib/libc/stdlib/malloc.c head/lib/libc/stdlib/rb.h Modifi

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86

2010-02-28 Thread Nathan Whitehorn
M. Warner Losh wrote: In message: <20100228195041.ga68...@server.vk2pj.dyndns.org> Peter Jeremy writes: : On 2010-Feb-26 14:57:36 +0100, Attilio Rao wrote: : >For the future, however, probabilly we would need to do something like : >pc98 already does wrt i386 (i386/include/ pc98/inc

Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86

2010-02-28 Thread M. Warner Losh
In message: <4b8af55c.6040...@freebsd.org> Nathan Whitehorn writes: : M. Warner Losh wrote: : > In message: <20100228195041.ga68...@server.vk2pj.dyndns.org> : > Peter Jeremy writes: : > : On 2010-Feb-26 14:57:36 +0100, Attilio Rao : > wrote: : > : >For the future, however

svn commit: r204494 - head/lib/libkvm

2010-02-28 Thread Robert Watson
Author: rwatson Date: Mon Mar 1 00:27:55 2010 New Revision: 204494 URL: http://svn.freebsd.org/changeset/base/204494 Log: A first cut at teaching libkvm how to deal with dynamic per-CPU storage (DPCPU): A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes of DPCPU.

svn commit: r204497 - head/sys/net

2010-02-28 Thread Robert Watson
Author: rwatson Date: Mon Mar 1 00:42:36 2010 New Revision: 204497 URL: http://svn.freebsd.org/changeset/base/204497 Log: Changes to support crashdump analysis of netisr: - Rename the netisr protocol registration array, 'np' to 'netisr_proto', in order to reduce the chances of symbol n

svn commit: r204498 - head/sys/net

2010-02-28 Thread Robert Watson
Author: rwatson Date: Mon Mar 1 00:43:05 2010 New Revision: 204498 URL: http://svn.freebsd.org/changeset/base/204498 Log: Whitespace tweak. MFC after:3 days Modified: head/sys/net/netisr.h Modified: head/sys/net/netisr.h =

svn commit: r204499 - head/usr.bin/netstat

2010-02-28 Thread Robert Watson
Author: rwatson Date: Mon Mar 1 00:46:45 2010 New Revision: 204499 URL: http://svn.freebsd.org/changeset/base/204499 Log: Teach netstat -Q to work with -N and -M by adding libkvm versions of data query routines. This code is necessarily more fragile in the presence of kernel changes than q

svn commit: r204509 - in head/sys/dev/ata: . chipsets

2010-02-28 Thread Alexander Motin
Author: mav Date: Mon Mar 1 07:32:49 2010 New Revision: 204509 URL: http://svn.freebsd.org/changeset/base/204509 Log: - Add ALI M5228 PATA ID. - Add missed DMA initialization for ALI SATA chips. Modified: head/sys/dev/ata/ata-pci.h head/sys/dev/ata/chipsets/ata-acerlabs.c Modified: head