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

2011-04-18 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 19 05:59:37 2011 New Revision: 220812 URL: http://svn.freebsd.org/changeset/base/220812 Log: Use M_WAITOK instead M_WAIT for malloc. Remove unneded checks. MFC after:1 week Modified: head/sys/netinet/ipfw/ip_dummynet.c Modified: head/sys/netinet/ipfw/ip_dumm

svn commit: r220811 - stable/8/sys/netinet/ipfw

2011-04-18 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 19 05:09:17 2011 New Revision: 220811 URL: http://svn.freebsd.org/changeset/base/220811 Log: MFC r220568: Restore previous behaviour - always match rule when we doing tagging, even when tag is already exists. Reported by:Vadim Goncharov 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 operat

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: head/usr.sbin/nfs

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 Mod

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

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 it

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 wou

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 loo

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 co

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 for

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 Use EAGAIN instead of magic value of -2 to

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.

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 > prob

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

2011-04-18 Thread Garrett Cooper
2011/4/18 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 n

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

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. G

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 Mo

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

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 mach

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 t

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, whi

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 head/sbin

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

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: r220791 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2011-04-18 Thread mdf
2011/4/18 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 >> 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 R

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 af

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-all@freebsd.org mailing list http://lists.freebsd

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: 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 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: 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 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 posix_fallocate(2) sys

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 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.fr

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.

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 head/sys

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?

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) > > +

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

2011-04-18 Thread Garrett Cooper
2011/4/18 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 o

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 ti

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 file

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: head/bin/ps/ps.

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 cat

svn commit: r220797 - stable/8/sys/amd64/amd64

2011-04-18 Thread John Baldwin
Author: jhb Date: Mon Apr 18 18:55:27 2011 New Revision: 220797 URL: http://svn.freebsd.org/changeset/base/220797 Log: MFC 220430,220431,220452,220460: If a system call does not request a full interrupt return, use a fast path via the sysretq instruction to return from the system call. This

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

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 Modified:

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 t

svn commit: r220795 - stable/8/sys/dev/cxgbe

2011-04-18 Thread Navdeep Parhar
Author: np Date: Mon Apr 18 18:18:07 2011 New Revision: 220795 URL: http://svn.freebsd.org/changeset/base/220795 Log: MFC r220643: There is no need to request a tx credit flush if such a request is already pending. Modified: stable/8/sys/dev/cxgbe/adapter.h stable/8/sys/dev/cxgbe/t4_

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

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 ha

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_sta

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. Specific

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 an

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

svn commit: r220792 - in head/sys: compat/freebsd32 kern sys

2011-04-18 Thread Matthew D Fleming
Author: mdf Date: Mon Apr 18 16:32:47 2011 New Revision: 220792 URL: http://svn.freebsd.org/changeset/base/220792 Log: Regen. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compa

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: 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: 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: r220788 - stable/8/sys/compat/x86bios

2011-04-18 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 18 15:55:02 2011 New Revision: 220788 URL: http://svn.freebsd.org/changeset/base/220788 Log: MFC: r219430 Remove custom interrupt dispatcher. This is a pointless micro-optimization and it may cause problems if SS and SP are modified by real-mode code. Modifie

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 Modified: head/sh

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: 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: 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: 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: 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: head/sys/dev/at

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: 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: 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: 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: 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 specification

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

Re: svn commit: r220773 - stable/8/sys/netinet6

2011-04-18 Thread Simon L. B. Nielsen
On 18 Apr 2011, at 14:18, Bjoern A. Zeeb wrote: > Author: bz > Date: Mon Apr 18 12:18:27 2011 > New Revision: 220773 > URL: http://svn.freebsd.org/changeset/base/220773 > > Log: > MFC r220743: > >Fix IPv6 ND. After r219562 we in nd6_ns_input() were erroneously always >passing the cach

svn commit: r220775 - stable/7/sys/netinet6

2011-04-18 Thread Bjoern A. Zeeb
Author: bz Date: Mon Apr 18 12:32:06 2011 New Revision: 220775 URL: http://svn.freebsd.org/changeset/base/220775 Log: MFC r220743: Fix IPv6 ND. After r219562 we in nd6_ns_input() were erroneously always passing the cached proxydl reference (sockaddr_dl initialized or not) to nd6_

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: gle

svn commit: r220773 - stable/8/sys/netinet6

2011-04-18 Thread Bjoern A. Zeeb
Author: bz Date: Mon Apr 18 12:18:27 2011 New Revision: 220773 URL: http://svn.freebsd.org/changeset/base/220773 Log: MFC r220743: Fix IPv6 ND. After r219562 we in nd6_ns_input() were erroneously always passing the cached proxydl reference (sockaddr_dl initialized or not) to nd6_

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: head/sys/dev/

svn commit: r220771 - stable/8/sys/dev/usb/storage

2011-04-18 Thread Alexander Motin
Author: mav Date: Mon Apr 18 11:25:13 2011 New Revision: 220771 URL: http://svn.freebsd.org/changeset/base/220771 Log: Rework change made at r203146. Instead of reporting all wire errors as SCSI status errors to CAM (that was wrong, as it too often turned retriable wire errors into non-retri

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

2011-04-18 Thread Dimitry Andric
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

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 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 support for

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 Prov

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 Modi

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: j

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: r220766 - stable/7/lib/libdevstat

2011-04-18 Thread Sergey Kandaurov
Author: pluknet Date: Mon Apr 18 08:53:22 2011 New Revision: 220766 URL: http://svn.freebsd.org/changeset/base/220766 Log: MFC r220319: Do not increment num_args if strsep(3) returned an empty field. That fixes devstat_buildmatch(3) crashes with certain strings. Reported by: arund

svn commit: r220765 - stable/8/lib/libdevstat

2011-04-18 Thread Sergey Kandaurov
Author: pluknet Date: Mon Apr 18 08:49:25 2011 New Revision: 220765 URL: http://svn.freebsd.org/changeset/base/220765 Log: MFC r220319: Do not increment num_args if strsep(3) returned an empty field. That fixes devstat_buildmatch(3) crashes with certain strings. Reported by: arund

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

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 Roman Divacky
please mark this in src/UPDATING, maybe bump freebsd_version too? On Sun, Apr 17, 2011 at 09:03:23PM +, Dimitry Andric wrote: > Author: dim > Date: Sun Apr 17 21:03:23 2011 > New Revision: 220755 > URL: http://svn.freebsd.org/changeset/base/220755 > > Log: > Remove libobjc and other Objecti