Re: svn commit: r220761 - head/sys/fs/nfsclient

2011-04-18 Thread Kostik Belousov
On Sun, Apr 17, 2011 at 11:04:04PM +, Rick Macklem wrote: Author: rmacklem Date: Sun Apr 17 23:04:03 2011 New Revision: 220761 URL: http://svn.freebsd.org/changeset/base/220761 Log: Add checks for MNTK_UNMOUNTF at the beginning of three functions, so that threads don't get stuck

svn commit: r220767 - head/sys/netgraph

2011-04-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 18 09:10:27 2011 New Revision: 220767 URL: http://svn.freebsd.org/changeset/base/220767 Log: Use M_WAITOK flag instead M_WAIT for malloc. Suggested by: glebius MFC after:1 week Modified: head/sys/netgraph/ng_patch.c Modified: head/sys/netgraph/ng_patch.c

svn commit: r220768 - in head/sys/netgraph: . atm/ccatm atm/sscfu atm/sscop atm/uni bluetooth/hci bluetooth/l2cap netflow

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 09:12:27 2011 New Revision: 220768 URL: http://svn.freebsd.org/changeset/base/220768 Log: Node constructor methods are supposed to be called in syscall context always. Convert nodes to consistently use M_WAITOK flag for memory allocation. Reviewed by:

svn commit: r220769 - head/sys/netgraph/netflow

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 09:14:23 2011 New Revision: 220769 URL: http://svn.freebsd.org/changeset/base/220769 Log: ng_netflow_cache_init() can be void. Modified: head/sys/netgraph/netflow/netflow.c head/sys/netgraph/netflow/ng_netflow.c head/sys/netgraph/netflow/ng_netflow.h

Re: svn commit: r220653 - in head/sys: . arm/mv/orion boot/fdt/dts

2011-04-18 Thread Gleb Smirnoff
On Fri, Apr 15, 2011 at 01:37:43PM +, Philip Paeps wrote: P Author: philip P Date: Fri Apr 15 13:37:43 2011 P New Revision: 220653 P URL: http://svn.freebsd.org/changeset/base/220653 P P Log: P Add basic support for the Marvell Orion TS-7800. P P Submitted by: Kristof Provost

Re: svn commit: r220653 - in head/sys: . arm/mv/orion boot/fdt/dts

2011-04-18 Thread Kristof Provost
On 2011-04-18 13:17:22 (+0400), Gleb Smirnoff gleb...@freebsd.org wrote: On Fri, Apr 15, 2011 at 01:37:43PM +, Philip Paeps wrote: P Author: philip P Date: Fri Apr 15 13:37:43 2011 P New Revision: 220653 P URL: http://svn.freebsd.org/changeset/base/220653 P P Log: P Add basic

svn commit: r220770 - in head: . sys/sys

2011-04-18 Thread Dimitry Andric
TO PEOPLE WHO THINK THAT FreeBSD 9. machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20110418: + The GNU Objective-C runtime library (libobjc), and other Objective-C + related components have been removed from the base system

svn commit: r220772 - in head/sys/dev/ath: . ath_hal ath_hal/ar5416

2011-04-18 Thread Adrian Chadd
Author: adrian Date: Mon Apr 18 12:15:43 2011 New Revision: 220772 URL: http://svn.freebsd.org/changeset/base/220772 Log: Add global TX timeout handling. The global TX timeout counter increments whenever a frame is ready to be transmitted and the medium is busy. Modified:

svn commit: r220774 - in head/sys: . arm/conf

2011-04-18 Thread Philip Paeps
Author: philip Date: Mon Apr 18 12:27:57 2011 New Revision: 220774 URL: http://svn.freebsd.org/changeset/base/220774 Log: Delete mistakenly added sys/files.ts7800 Add mistakenly forgotten sys/arm/conf/TS7800 Not sure how this happened. Apologies for the repo-churn. Submitted by:

svn commit: r220776 - head/release

2011-04-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Apr 18 13:20:54 2011 New Revision: 220776 URL: http://svn.freebsd.org/changeset/base/220776 Log: Mention the memstick target here. Modified: head/release/Makefile Modified: head/release/Makefile

svn commit: r220777 - head/sys/dev/ahci

2011-04-18 Thread Alexander Motin
Author: mav Date: Mon Apr 18 13:34:31 2011 New Revision: 220777 URL: http://svn.freebsd.org/changeset/base/220777 Log: - Tune different wait loops to cut some more milliseconds from reset time. - Do not call ahci_start() before device signature received. It is required by the

svn commit: r220778 - head/sys/cam/ata

2011-04-18 Thread Alexander Motin
Author: mav Date: Mon Apr 18 13:59:56 2011 New Revision: 220778 URL: http://svn.freebsd.org/changeset/base/220778 Log: Remove some used variables. Found with: Clang Static Analyzer Modified: head/sys/cam/ata/ata_da.c head/sys/cam/ata/ata_pmp.c Modified: head/sys/cam/ata/ata_da.c

svn commit: r220779 - in head/sys/dev/ath: . ath_hal/ar5416

2011-04-18 Thread Adrian Chadd
Author: adrian Date: Mon Apr 18 14:03:05 2011 New Revision: 220779 URL: http://svn.freebsd.org/changeset/base/220779 Log: Rework the Global TX timeout handling to look more like ath9k. It correctly now sets the AR_IMR BCNMISC register, along with the GTT register in AR_IMR_S2. Modified:

svn commit: r220780 - head/sys/dev/ath

2011-04-18 Thread Adrian Chadd
Author: adrian Date: Mon Apr 18 14:03:37 2011 New Revision: 220780 URL: http://svn.freebsd.org/changeset/base/220780 Log: Bump pad, I'm adding more statistics. Modified: head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev/ath/if_athioctl.h

svn commit: r220781 - head/sys/netgraph

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 14:05:26 2011 New Revision: 220781 URL: http://svn.freebsd.org/changeset/base/220781 Log: Further cleanup of node creation path from M_NOWAIT usage. Modified: head/sys/netgraph/ng_sppp.c Modified: head/sys/netgraph/ng_sppp.c

svn commit: r220782 - head/sys/dev/ath

2011-04-18 Thread Adrian Chadd
Author: adrian Date: Mon Apr 18 14:06:18 2011 New Revision: 220782 URL: http://svn.freebsd.org/changeset/base/220782 Log: Add TX carrier sense timeout statistics. Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_ath_sysctl.c head/sys/dev/ath/if_athioctl.h Modified:

svn commit: r220783 - head/sys/netgraph

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 14:07:01 2011 New Revision: 220783 URL: http://svn.freebsd.org/changeset/base/220783 Log: Finish last change. Pointy hat to: glebius Modified: head/sys/netgraph/ng_sppp.c Modified: head/sys/netgraph/ng_sppp.c

svn commit: r220784 - head/sys/dev/ath

2011-04-18 Thread Adrian Chadd
Author: adrian Date: Mon Apr 18 14:14:54 2011 New Revision: 220784 URL: http://svn.freebsd.org/changeset/base/220784 Log: For now, only enable GTT. CST is firing very frequently during local tests; I'll figure out what's going on before re-enabling this as it does add to the interrupt load.

svn commit: r220785 - head/sys/cam

2011-04-18 Thread Alexander Motin
Author: mav Date: Mon Apr 18 14:15:52 2011 New Revision: 220785 URL: http://svn.freebsd.org/changeset/base/220785 Log: Remove some used variables. Found with: Clang Static Analyzer Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c

svn commit: r220786 - head/sys/cam

2011-04-18 Thread Alexander Motin
Author: mav Date: Mon Apr 18 14:34:10 2011 New Revision: 220786 URL: http://svn.freebsd.org/changeset/base/220786 Log: Remove always false 0 check for unsgined int variable. This check is also duplicate, as the value was already checked for 0 before decrementing. Reported by: rpaulo

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

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 15:30:25 2011 New Revision: 220787 URL: http://svn.freebsd.org/changeset/base/220787 Log: It is already seven years since mbuf allocator uses same M_WAITOK/M_NOWAIT flags as malloc(9). Update manual page. Submitted by: Vadim Goncharov vadimnuclight tpu.ru

svn commit: r220789 - head/sys/dev/ahci

2011-04-18 Thread Alexander Motin
Author: mav Date: Mon Apr 18 16:00:46 2011 New Revision: 220789 URL: http://svn.freebsd.org/changeset/base/220789 Log: Handle ready timeout during polled operation same as done in mvs(4) before. Modified: head/sys/dev/ahci/ahci.c head/sys/dev/ahci/ahci.h Modified: head/sys/dev/ahci/ahci.c

svn commit: r220790 - head/sys/geom/raid

2011-04-18 Thread Alexander Motin
Author: mav Date: Mon Apr 18 16:15:59 2011 New Revision: 220790 URL: http://svn.freebsd.org/changeset/base/220790 Log: Reduce geom_raid log verbosity. Modified: head/sys/geom/raid/g_raid.c Modified: head/sys/geom/raid/g_raid.c

svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread Matthew D Fleming
Author: mdf Date: Mon Apr 18 16:32:22 2011 New Revision: 220791 URL: http://svn.freebsd.org/changeset/base/220791 Log: Add the posix_fallocate(2) syscall. The default implementation in vop_stdallocate() is filesystem agnostic and will run as slow as a read/write loop in userspace; however,

svn commit: r220793 - head/sys/kern

2011-04-18 Thread Matthew D Fleming
Author: mdf Date: Mon Apr 18 16:40:47 2011 New Revision: 220793 URL: http://svn.freebsd.org/changeset/base/220793 Log: Fix a copy/paste whitespace error. Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Warner Losh
On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark this in src/UPDATING, maybe bump freebsd_version too? Please do not bump freebsd_version just for this. Ports wishing to know can go off the last bump, if there are any. Every freebsd_version bump forces rebuilding all modules

svn commit: r220794 - head/sys/netinet

2011-04-18 Thread John Baldwin
Author: jhb Date: Mon Apr 18 17:43:16 2011 New Revision: 220794 URL: http://svn.freebsd.org/changeset/base/220794 Log: When checking to see if a window update should be sent to the remote peer, don't force a window update if the window would not actually grow due to window scaling.

Re: svn commit: r220777 - head/sys/dev/ahci

2011-04-18 Thread John Baldwin
On Monday, April 18, 2011 9:34:31 am Alexander Motin wrote: Author: mav Date: Mon Apr 18 13:34:31 2011 New Revision: 220777 URL: http://svn.freebsd.org/changeset/base/220777 Log: - Tune different wait loops to cut some more milliseconds from reset time. - Do not call ahci_start()

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Gleb Smirnoff
On Sun, Apr 17, 2011 at 06:05:38AM +, Maxim Sobolev wrote: M Author: sobomax M Date: Sun Apr 17 06:05:37 2011 M New Revision: 220736 M URL: http://svn.freebsd.org/changeset/base/220736 M M Log: M If we can retrieve interface address sleep for one second and try again. M This can happen

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Pawel Jakub Dawidek
On Mon, Apr 18, 2011 at 11:06:42AM -0600, Warner Losh wrote: On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark this in src/UPDATING, maybe bump freebsd_version too? Please do not bump freebsd_version just for this. Ports wishing to know can go off the last bump, if there

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Doug Barton
On 04/18/2011 11:14, Pawel Jakub Dawidek wrote: On Mon, Apr 18, 2011 at 11:06:42AM -0600, Warner Losh wrote: On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark this in src/UPDATING, maybe bump freebsd_version too? Please do not bump freebsd_version just for this. Ports wishing

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

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 18:22:10 2011 New Revision: 220796 URL: http://svn.freebsd.org/changeset/base/220796 Log: Pullup up to TCP header length before matching against 'tcpopts'. PR: kern/156180 Reviewed by: luigi Modified: head/sys/netinet/ipfw/ip_fw2.c

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread John Baldwin
On Monday, April 18, 2011 1:06:42 pm Warner Losh wrote: On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark this in src/UPDATING, maybe bump freebsd_version too? Please do not bump freebsd_version just for this. Ports wishing to know can go off the last bump, if there are

svn commit: r220798 - head/sys/dev/acpica

2011-04-18 Thread Matthew D Fleming
Author: mdf Date: Mon Apr 18 19:02:41 2011 New Revision: 220798 URL: http://svn.freebsd.org/changeset/base/220798 Log: Fix a few acpi sysctls that want IK formatting to specify CTLTYPE_INT. This got broken after r217586. Pointy hat: to me Tested by:David Wolfskill davit AT

svn commit: r220799 - head/bin/ps

2011-04-18 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Apr 18 19:20:47 2011 New Revision: 220799 URL: http://svn.freebsd.org/changeset/base/220799 Log: Document problems with -d/-w and the fact that -X is the default. Suggested by: arundel@ Reviewed by: arundel@ Modified: head/bin/ps/ps.1 Modified:

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread Kostik Belousov
On Mon, Apr 18, 2011 at 04:32:22PM +, Matthew D Fleming wrote: Author: mdf Date: Mon Apr 18 16:32:22 2011 New Revision: 220791 URL: http://svn.freebsd.org/changeset/base/220791 Log: Add the posix_fallocate(2) syscall. The default implementation in vop_stdallocate() is filesystem

Re: svn commit: r220777 - head/sys/dev/ahci

2011-04-18 Thread Alexander Motin
On 18.04.2011 20:06, John Baldwin wrote: On Monday, April 18, 2011 9:34:31 am Alexander Motin wrote: Author: mav Date: Mon Apr 18 13:34:31 2011 New Revision: 220777 URL: http://svn.freebsd.org/changeset/base/220777 Log: - Tune different wait loops to cut some more milliseconds from reset

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Garrett Cooper
2011/4/18 Gleb Smirnoff gleb...@freebsd.org: On Sun, Apr 17, 2011 at 06:05:38AM +, Maxim Sobolev wrote: M Author: sobomax M Date: Sun Apr 17 06:05:37 2011 M New Revision: 220736 M URL: http://svn.freebsd.org/changeset/base/220736 M M Log: M   If we can retrieve interface address sleep

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread Pawel Jakub Dawidek
On Mon, Apr 18, 2011 at 10:28:10PM +0300, Kostik Belousov wrote: + if (offset + len vap-va_size) { + VATTR_NULL(vap); + vap-va_size = offset + len; + error = VOP_SETATTR(vp, vap, td-td_ucred); + if (error != 0) + goto out;

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Warner Losh
On Apr 18, 2011, at 12:18 PM, Doug Barton wrote: On 04/18/2011 11:14, Pawel Jakub Dawidek wrote: On Mon, Apr 18, 2011 at 11:06:42AM -0600, Warner Losh wrote: On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark this in src/UPDATING, maybe bump freebsd_version too? Please do

svn commit: r220800 - in head/sys: netgraph netinet/ipfw netinet/libalias

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 20:07:08 2011 New Revision: 220800 URL: http://svn.freebsd.org/changeset/base/220800 Log: LibAliasInit() should allocate memory with M_WAITOK flag. Modify it and its callers. Modified: head/sys/netgraph/ng_nat.c head/sys/netinet/ipfw/ip_fw_nat.c

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Warner Losh
On Apr 18, 2011, at 12:48 PM, John Baldwin wrote: On Monday, April 18, 2011 1:06:42 pm Warner Losh wrote: On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark this in src/UPDATING, maybe bump freebsd_version too? Please do not bump freebsd_version just for this. Ports wishing

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread Kostik Belousov
On Mon, Apr 18, 2011 at 12:49:38PM -0700, m...@freebsd.org wrote: On Mon, Apr 18, 2011 at 12:28 PM, Kostik Belousov kostik...@gmail.com wrote: On Mon, Apr 18, 2011 at 04:32:22PM +, Matthew D Fleming wrote: Author: mdf Date: Mon Apr 18 16:32:22 2011 New Revision: 220791 URL:

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread mdf
On Mon, Apr 18, 2011 at 12:28 PM, Kostik Belousov kostik...@gmail.com wrote: On Mon, Apr 18, 2011 at 04:32:22PM +, Matthew D Fleming wrote: Author: mdf Date: Mon Apr 18 16:32:22 2011 New Revision: 220791 URL: http://svn.freebsd.org/changeset/base/220791 Log:   Add the

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread mdf
On Mon, Apr 18, 2011 at 12:47 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: On Mon, Apr 18, 2011 at 10:28:10PM +0300, Kostik Belousov wrote: +   if (offset + len vap-va_size) { +           VATTR_NULL(vap); +           vap-va_size = offset + len; +           error = VOP_SETATTR(vp, vap,

Re: svn commit: r220778 - head/sys/cam/ata

2011-04-18 Thread Doug Barton
On 04/18/2011 06:59, Alexander Motin wrote: Remove some used variables. If they are used, perhaps they should not be removed? :) -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in

Re: svn commit: r220778 - head/sys/cam/ata

2011-04-18 Thread Alexander Motin
Doug Barton wrote: On 04/18/2011 06:59, Alexander Motin wrote: Remove some used variables. If they are used, perhaps they should not be removed? :) :) Unused. -- Alexander Motin ___ svn-src-head@freebsd.org mailing list

svn commit: r220801 - head/sbin/conscontrol

2011-04-18 Thread Ruslan Ermilov
Author: ru Date: Mon Apr 18 20:28:07 2011 New Revision: 220801 URL: http://svn.freebsd.org/changeset/base/220801 Log: Changed conscontrol unset to accept an existing virtual console device as an argument. Unsetting virtual console using /dev/console seems to have never worked. MFC

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread mdf
2011/4/18 Kostik Belousov kostik...@gmail.com: On Mon, Apr 18, 2011 at 12:49:38PM -0700, m...@freebsd.org wrote: On Mon, Apr 18, 2011 at 12:28 PM, Kostik Belousov kostik...@gmail.com wrote: On Mon, Apr 18, 2011 at 04:32:22PM +, Matthew D Fleming wrote: Author: mdf Date: Mon Apr 18

Re: svn commit: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread Pawel Jakub Dawidek
On Mon, Apr 18, 2011 at 11:13:02PM +0300, Kostik Belousov wrote: The need is, as commented, to return EFBIG when the new file size will be larger than the FS supports. Without this code, passing in something like posix_fallocate(fd, 0, OFF_MAX) will run the filesystem out of space.

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread John Baldwin
On Monday, April 18, 2011 4:02:10 pm Warner Losh wrote: On Apr 18, 2011, at 12:48 PM, John Baldwin wrote: On Monday, April 18, 2011 1:06:42 pm Warner Losh wrote: On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: please mark this in src/UPDATING, maybe bump freebsd_version too?

svn commit: r220802 - head/sbin/ipfw

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 21:18:22 2011 New Revision: 220802 URL: http://svn.freebsd.org/changeset/base/220802 Log: Whitespace fixes. Checked with: md5, diff -w Modified: head/sbin/ipfw/altq.c head/sbin/ipfw/dummynet.c head/sbin/ipfw/ipfw2.c head/sbin/ipfw/ipv6.c

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

2011-04-18 Thread Konstantin Belousov
Author: kib Date: Mon Apr 18 21:24:42 2011 New Revision: 220803 URL: http://svn.freebsd.org/changeset/base/220803 Log: Make pmap_invalidate_cache_range() available for consumption on amd64. Add pmap_invalidate_cache_pages() method on x86. It flushes the CPU cache for the set of pages,

Re: svn commit: r220761 - head/sys/fs/nfsclient

2011-04-18 Thread Rick Macklem
On Sun, Apr 17, 2011 at 11:04:04PM +, Rick Macklem wrote: Author: rmacklem Date: Sun Apr 17 23:04:03 2011 New Revision: 220761 URL: http://svn.freebsd.org/changeset/base/220761 Log: Add checks for MNTK_UNMOUNTF at the beginning of three functions, so that threads don't get

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Maxim Sobolev
On 4/18/2011 11:13 AM, Gleb Smirnoff wrote: This looks like a hack and better place for this hack would be shell scripts rather than nat daemon. Well, I am not sure how would you apply shell script in such case. The problem with the original code is that natd just silently exits, leaving

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Maxim Sobolev
On 4/18/2011 12:42 PM, Garrett Cooper wrote: +1 -- in particular because this will affect all cases, and not just the dhclient-acquired IP external NIC case as the above commit message notes. Well, as I already said I don't see any problem with natd waiting on interface to get IP address

svn commit: r220804 - head/sbin/ipfw

2011-04-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 18 22:09:03 2011 New Revision: 220804 URL: http://svn.freebsd.org/changeset/base/220804 Log: More whitespace fixes. Checked with: md5, diff -x -w Modified: head/sbin/ipfw/dummynet.c head/sbin/ipfw/ipfw2.c head/sbin/ipfw/ipfw2.h head/sbin/ipfw/nat.c

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Maxim Sobolev
On 4/18/2011 2:46 PM, Maxim Sobolev wrote: Well, as I already said I don't see any problem with natd waiting on interface to get IP address in all cases. This is no better or no worse than just bailing out, except it will make things working automatically once IP address has been provisioned.

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Gleb Smirnoff
On Mon, Apr 18, 2011 at 02:44:35PM -0700, Maxim Sobolev wrote: M On 4/18/2011 11:13 AM, Gleb Smirnoff wrote: M This looks like a hack and better place for this hack would be shell M scripts rather than nat daemon. M M Well, I am not sure how would you apply shell script in such case. The M

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Garrett Cooper
2011/4/18 Maxim Sobolev sobo...@freebsd.org: On 4/18/2011 11:13 AM, Gleb Smirnoff wrote: This looks like a hack and better place for this hack would be shell scripts rather than nat daemon. Well, I am not sure how would you apply shell script in such case. The problem with the original code

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread YongHyeon PYUN
On Mon, Apr 18, 2011 at 02:44:35PM -0700, Maxim Sobolev wrote: On 4/18/2011 11:13 AM, Gleb Smirnoff wrote: This looks like a hack and better place for this hack would be shell scripts rather than nat daemon. Well, I am not sure how would you apply shell script in such case. The problem

svn commit: r220805 - head/sys/dev/acpica

2011-04-18 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 18 23:12:41 2011 New Revision: 220805 URL: http://svn.freebsd.org/changeset/base/220805 Log: Do not assume PM timer GAS type is I/O or memory. It may be an unsupported type, i. e., a broken table. Also, do not hardcode ACPI timer frequency in device description.

svn commit: r220806 - head/sbin/natd

2011-04-18 Thread Maxim Sobolev
Author: sobomax Date: Mon Apr 18 23:15:29 2011 New Revision: 220806 URL: http://svn.freebsd.org/changeset/base/220806 Log: Only wait for the IP to appear on the interface if natd is running in the background. Suggested by: Garrett Cooper yaneg...@gmail.com Use EAGAIN instead of

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Maxim Sobolev
On 4/18/2011 3:26 PM, Garrett Cooper wrote: And I don't see any problem with natd waiting indefinitely on the interface to acquire IP address, it's no better and no worse than the current behavior when the natd simply bails out. If it does this when backgrounded, that seems ok. If it blocks

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Bruce Evans
On Mon, 18 Apr 2011, John Baldwin wrote: On Monday, April 18, 2011 4:02:10 pm Warner Losh wrote: The problem is that this is a technical solution that precludes me from saying look, I know that this will be OK, so let me do it I know nothing has changed that would cause a problem. We

Re: svn commit: r220777 - head/sys/dev/ahci

2011-04-18 Thread Bruce Evans
On Mon, 18 Apr 2011, Alexander Motin wrote: On 18.04.2011 20:06, John Baldwin wrote: On Monday, April 18, 2011 9:34:31 am Alexander Motin wrote: Author: mav Date: Mon Apr 18 13:34:31 2011 New Revision: 220777 URL: http://svn.freebsd.org/changeset/base/220777 Log: - Tune different wait

Re: svn commit: r220736 - head/sbin/natd

2011-04-18 Thread Maxim Sobolev
On 4/18/2011 3:12 PM, YongHyeon PYUN wrote: SYNCDHCP may restore old behavior of dhclient. Thanks, but I would rather not. -dynamic kinda suggests that the interface can go up and down, so if natd running in the background can handle this condition gracefully instead of silently exit this

Re: svn commit: r220778 - head/sys/cam/ata

2011-04-18 Thread Bruce Evans
On Mon, 18 Apr 2011, Alexander Motin wrote: Doug Barton wrote: On 04/18/2011 06:59, Alexander Motin wrote: Remove some used variables. If they are used, perhaps they should not be removed? :) :) Unused. Nah, they were used (to initialize them), but this use of them was not used, so

svn commit: r220807 - head/sys/fs/nfsclient

2011-04-18 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 18 23:35:16 2011 New Revision: 220807 URL: http://svn.freebsd.org/changeset/base/220807 Log: Revert r220761 since, as kib@ pointed out, the case of adding the check to nfsrpc_close() isn't useful. Also, the check in nfscl_getcl() must be more involved, since

svn commit: r220808 - head/sbin/natd

2011-04-18 Thread Maxim Sobolev
Author: sobomax Date: Mon Apr 18 23:45:50 2011 New Revision: 220808 URL: http://svn.freebsd.org/changeset/base/220808 Log: Furthermore condition IP waiting behaviour also on -dynamic flag. This should preserve POLA in all other cases (foreground || non-dynamic). MFC after:2 weeks

svn commit: r220809 - head/usr.sbin/nfsd

2011-04-18 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 19 00:47:26 2011 New Revision: 220809 URL: http://svn.freebsd.org/changeset/base/220809 Log: Add stablerestart(5) to the See Also list for nfsd(8). This is a content change. Suggested by: Jeremy Chadwick MFC after:2 weeks Modified:

svn commit: r220810 - head/sys/fs/nfsclient

2011-04-18 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 19 01:09:51 2011 New Revision: 220810 URL: http://svn.freebsd.org/changeset/base/220810 Log: Fix up handling of the nfsmount structure in read and write within the experimental NFS client. Mostly add mutex locking and use the same rsize, wsize during the