svn commit: r254642 - stable/8/sys/geom/part

2013-08-21 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 22 06:24:02 2013 New Revision: 254642 URL: http://svnweb.freebsd.org/changeset/base/254642 Log: MFC r254095: gpt_entries is used as limit for the number of partition entries in the GEOM_PART. Instead of just using number of entries from the GPT header, calcul

svn commit: r254641 - stable/9/sys/geom/part

2013-08-21 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 22 06:20:25 2013 New Revision: 254641 URL: http://svnweb.freebsd.org/changeset/base/254641 Log: MFC r254095: gpt_entries is used as limit for the number of partition entries in the GEOM_PART. Instead of just using number of entries from the GPT header, calcul

svn commit: r254640 - head/sys/net80211

2013-08-21 Thread Adrian Chadd
Author: adrian Date: Thu Aug 22 05:53:47 2013 New Revision: 254640 URL: http://svnweb.freebsd.org/changeset/base/254640 Log: Add in some backwards compatability hacks to make -HEAD net80211 compile on -9. Modified: head/sys/net80211/ieee80211_freebsd.h head/sys/net80211/ieee80211_hostap.c

Re: svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-21 Thread Glen Barber
On Wed, Aug 21, 2013 at 10:57:30PM +, David E. O'Brien wrote: > Author: obrien > Date: Wed Aug 21 22:57:29 2013 > New Revision: 254626 > URL: http://svnweb.freebsd.org/changeset/base/254626 > > Log: > Provide a prototype for yyparse() so that "-Werror" along with stringent > -W* warnings c

svn commit: r254639 - head/sys/powerpc/conf

2013-08-21 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 22 05:07:50 2013 New Revision: 254639 URL: http://svnweb.freebsd.org/changeset/base/254639 Log: Enable DTrace hooks in ppc64. Modified: head/sys/powerpc/conf/GENERIC64 Modified: head/sys/powerpc/conf/GENERIC64 ===

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

2013-08-21 Thread Lawrence Stewart
On 08/22/13 02:18, Andre Oppermann wrote: > On 21.08.2013 17:59, Davide Italiano wrote: >> On Wed, Aug 21, 2013 at 5:30 PM, Andre Oppermann >> wrote: >>> On 20.08.2013 20:13, Davide Italiano wrote: On Tue, Aug 20, 2013 at 7:42 PM, Andre Oppermann wrote: > > On 19.08.2013

svn commit: r254634 - head/sys/cddl/dev/dtrace/powerpc

2013-08-21 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 22 02:54:20 2013 New Revision: 254634 URL: http://svnweb.freebsd.org/changeset/base/254634 Log: Make dtrace_copy() actually work on PowerPC. Although unused currently, it may be used in the future by dtrace. Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_a

svn commit: r254632 - in releng: 8.3 8.3/sys/conf 8.3/sys/netinet 8.3/sys/netinet6 8.4 8.4/sys/conf 8.4/sys/netinet 8.4/sys/netinet6

2013-08-21 Thread Xin LI
Author: delphij Date: Thu Aug 22 00:51:56 2013 New Revision: 254632 URL: http://svnweb.freebsd.org/changeset/base/254632 Log: Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. [13:09] Fix a bug that

svn commit: r254629 - head/sys/netinet head/sys/netinet6 stable/8/sys/netinet stable/8/sys/netinet6 stable/9/sys/netinet stable/9/sys/netinet6

2013-08-21 Thread Xin LI
Author: delphij Date: Thu Aug 22 00:51:37 2013 New Revision: 254629 URL: http://svnweb.freebsd.org/changeset/base/254629 Log: Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. Security: CVE-2013

svn commit: r254631 - in releng/9.1: . sys/conf sys/dev/mfi sys/netinet sys/netinet6

2013-08-21 Thread Xin LI
Author: delphij Date: Thu Aug 22 00:51:48 2013 New Revision: 254631 URL: http://svnweb.freebsd.org/changeset/base/254631 Log: Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. [13:09] Fix a bug that

svn commit: r254630 - in releng/9.2/sys: netinet netinet6

2013-08-21 Thread Xin LI
Author: delphij Date: Thu Aug 22 00:51:43 2013 New Revision: 254630 URL: http://svnweb.freebsd.org/changeset/base/254630 Log: Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. Security: CVE-2013

svn commit: r254629 - head/sys/netinet head/sys/netinet6 stable/8/sys/netinet stable/8/sys/netinet6 stable/9/sys/netinet stable/9/sys/netinet6

2013-08-21 Thread Xin LI
Author: delphij Date: Thu Aug 22 00:51:37 2013 New Revision: 254629 URL: http://svnweb.freebsd.org/changeset/base/254629 Log: Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. Security: CVE-2013

svn commit: r254629 - head/sys/netinet head/sys/netinet6 stable/8/sys/netinet stable/8/sys/netinet6 stable/9/sys/netinet stable/9/sys/netinet6

2013-08-21 Thread Xin LI
Author: delphij Date: Thu Aug 22 00:51:37 2013 New Revision: 254629 URL: http://svnweb.freebsd.org/changeset/base/254629 Log: Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. Security: CVE-2013

svn commit: r254627 - in head: bin/chflags bin/ls lib/libc/gen lib/libc/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/msdosfs sys/fs/smbfs sys/sys sys/ufs/ufs

2013-08-21 Thread Kenneth D. Merry
Author: ken Date: Wed Aug 21 23:04:48 2013 New Revision: 254627 URL: http://svnweb.freebsd.org/changeset/base/254627 Log: Expand the use of stat(2) flags to allow storing some Windows/DOS and CIFS file attributes as BSD stat(2) flags. This work is intended to be compatible with ZFS, the S

svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-21 Thread David E. O'Brien
Author: obrien Date: Wed Aug 21 22:57:29 2013 New Revision: 254626 URL: http://svnweb.freebsd.org/changeset/base/254626 Log: Provide a prototype for yyparse() so that "-Werror" along with stringent -W* warnings can be used on byacc's output. Modified: stable/9/usr.bin/yacc/skeleton.c Modif

svn commit: r254624 - in head: . sys/amd64/conf sys/conf sys/i386/conf

2013-08-21 Thread David E. O'Brien
(r254624) @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130821: + The PADLOCK_RNG and RDRAND_RNG kernel options are now d

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

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 22:40:29 2013 New Revision: 254623 URL: http://svnweb.freebsd.org/changeset/base/254623 Log: Reimplement atomic operations on PDEs and PTEs in pmap.h. This change significantly reduces duplicate code and make it easier to read. Reviewed by: alc, bde Modifi

svn commit: r254622 - head/sys/vm

2013-08-21 Thread Jeff Roberson
Author: jeff Date: Wed Aug 21 22:39:19 2013 New Revision: 254622 URL: http://svnweb.freebsd.org/changeset/base/254622 Log: - Eliminate the vm object lock from the active queue scan. It is not necessary since we do not free or cache the page from active anymore. Document the one possi

svn commit: r254621 - head/lib/libutil

2013-08-21 Thread Sergey Kandaurov
Author: pluknet Date: Wed Aug 21 22:37:15 2013 New Revision: 254621 URL: http://svnweb.freebsd.org/changeset/base/254621 Log: Reset errno before strtoumax() call to properly detect ERANGE. Restore saved errno if strtoumax() call is successful. Reported by: ache Reviewed by: jilles M

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

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 22:30:11 2013 New Revision: 254620 URL: http://svnweb.freebsd.org/changeset/base/254620 Log: Implement atomic_cmpset_64() and atomic_swap_64() for i386. Modified: head/sys/i386/include/atomic.h Modified: head/sys/i386/include/atomic.h ===

svn commit: r254619 - in head/sys/i386: i386 include

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 22:27:42 2013 New Revision: 254619 URL: http://svnweb.freebsd.org/changeset/base/254619 Log: Reimplement atomic_load_acq_64() and atomic_store_rel_64() for i386. These functions are now real functions rather than function pointers. Supposedly, it is faster for

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

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 22:05:58 2013 New Revision: 254618 URL: http://svnweb.freebsd.org/changeset/base/254618 Log: Remove empty lines before return statements for style consistency. Modified: head/sys/amd64/include/atomic.h head/sys/i386/include/atomic.h Modified: head/sys/amd64/in

svn commit: r254617 - in head: share/man/man9 sys/amd64/include sys/i386/include

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 22:03:06 2013 New Revision: 254617 URL: http://svnweb.freebsd.org/changeset/base/254617 Log: Implement atomic_swap() and atomic_testandset(). Reviewed by: arch, bde, jilles, kib Modified: head/share/man/man9/atomic.9 head/sys/amd64/include/atomic.h head

Re: svn commit: r254616 - head/sys/dev/hwpmc

2013-08-21 Thread Adrian Chadd
i'll talk with you/hiren/{MANPAGE_PEOPLE} once my current run of "figuring out what the hell" is done. That way the updates can be done in one big hit. Thanks -adrian On 21 August 2013 14:59, Davide Italiano wrote: > On Wed, Aug 21, 2013 at 2:52 PM, Davide Italiano > wrote: > > On Wed, Au

Re: svn commit: r254616 - head/sys/dev/hwpmc

2013-08-21 Thread Davide Italiano
On Wed, Aug 21, 2013 at 2:52 PM, Davide Italiano wrote: > On Wed, Aug 21, 2013 at 2:47 PM, Adrian Chadd wrote: >> Author: adrian >> Date: Wed Aug 21 21:47:56 2013 >> New Revision: 254616 >> URL: http://svnweb.freebsd.org/changeset/base/254616 >> >> Log: >> Change the name of this particular eve

Re: svn commit: r254616 - head/sys/dev/hwpmc

2013-08-21 Thread Davide Italiano
On Wed, Aug 21, 2013 at 2:47 PM, Adrian Chadd wrote: > Author: adrian > Date: Wed Aug 21 21:47:56 2013 > New Revision: 254616 > URL: http://svnweb.freebsd.org/changeset/base/254616 > > Log: > Change the name of this particular event to reflect the name used in > Linux and Intel examples. > >

svn commit: r254616 - head/sys/dev/hwpmc

2013-08-21 Thread Adrian Chadd
Author: adrian Date: Wed Aug 21 21:47:56 2013 New Revision: 254616 URL: http://svnweb.freebsd.org/changeset/base/254616 Log: Change the name of this particular event to reflect the name used in Linux and Intel examples. Sourced: * https://github.com/andikleen/pmu-tools/blob/master/sn

Re: svn commit: r254600 - head/lib/libutil

2013-08-21 Thread Jilles Tjoelker
On Thu, Aug 22, 2013 at 01:24:13AM +0400, Sergey Kandaurov wrote: > On Wed, Aug 21, 2013 at 10:27:25PM +0200, Jilles Tjoelker wrote: > > On Wed, Aug 21, 2013 at 11:03:10PM +0400, Sergey Kandaurov wrote: > > > On Wed, Aug 21, 2013 at 09:21:47PM +0400, Andrey Chernov wrote: > > > > On 21.08.2013 20:4

svn commit: r254615 - head/sys/dev/mps

2013-08-21 Thread Kenneth D. Merry
Author: ken Date: Wed Aug 21 21:30:56 2013 New Revision: 254615 URL: http://svnweb.freebsd.org/changeset/base/254615 Log: Fix mps(4) driver breakage that came in in change 253550 that manifested itself in out of chain frame conditions. When the driver ran out of chain frames, the request

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

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 21:30:06 2013 New Revision: 254614 URL: http://svnweb.freebsd.org/changeset/base/254614 Log: - Remove the "a" constraint from main output operand for atomic_cmpset(). - Use "+" modifier for the "expect" because it is also an output (unused). Modified: head/sys/

Re: svn commit: r254600 - head/lib/libutil

2013-08-21 Thread Sergey Kandaurov
On Wed, Aug 21, 2013 at 10:27:25PM +0200, Jilles Tjoelker wrote: > On Wed, Aug 21, 2013 at 11:03:10PM +0400, Sergey Kandaurov wrote: > > On Wed, Aug 21, 2013 at 09:21:47PM +0400, Andrey Chernov wrote: > > > On 21.08.2013 20:46, Sergey Kandaurov wrote: > > > > number = strtoumax(buf, &endptr

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

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 21:14:16 2013 New Revision: 254612 URL: http://svnweb.freebsd.org/changeset/base/254612 Log: Use '+' modifier for a memory operand that is both an input and an output. It was actually done in r86301 but reverted in r150182 because GCC 3.x was not able to handle

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

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 20:49:46 2013 New Revision: 254611 URL: http://svnweb.freebsd.org/changeset/base/254611 Log: Remove bogus labels. No functional change. Modified: head/sys/amd64/include/atomic.h head/sys/i386/include/atomic.h Modified: head/sys/amd64/include/atomic.h

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

2013-08-21 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 21 20:43:50 2013 New Revision: 254610 URL: http://svnweb.freebsd.org/changeset/base/254610 Log: Use consistent style. No functional change. Modified: head/sys/amd64/include/atomic.h head/sys/i386/include/atomic.h Modified: head/sys/amd64/include/atomic.h ===

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Andre Oppermann
On 21.08.2013 21:59, Navdeep Parhar wrote: On 08/21/13 12:41, Scott Long wrote: On Aug 21, 2013, at 8:59 AM, Andre Oppermann wrote: On 19.08.2013 23:45, Navdeep Parhar wrote: On 08/19/13 13:58, Andre Oppermann wrote: On 19.08.2013 19:33, Navdeep Parhar wrote: On 08/19/13 04:16, Andre Oppe

Re: svn commit: r254600 - head/lib/libutil

2013-08-21 Thread Jilles Tjoelker
On Wed, Aug 21, 2013 at 11:03:10PM +0400, Sergey Kandaurov wrote: > On Wed, Aug 21, 2013 at 09:21:47PM +0400, Andrey Chernov wrote: > > On 21.08.2013 20:46, Sergey Kandaurov wrote: > > > number = strtoumax(buf, &endptr, 0); > > > > > > + if (number == UINTMAX_MAX && errno == ERANGE) { > > > +

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Navdeep Parhar
On 08/21/13 12:41, Scott Long wrote: > > On Aug 21, 2013, at 8:59 AM, Andre Oppermann wrote: > >> On 19.08.2013 23:45, Navdeep Parhar wrote: >>> On 08/19/13 13:58, Andre Oppermann wrote: On 19.08.2013 19:33, Navdeep Parhar wrote: > On 08/19/13 04:16, Andre Oppermann wrote: >> Author

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Scott Long
On Aug 21, 2013, at 8:59 AM, Andre Oppermann wrote: > On 19.08.2013 23:45, Navdeep Parhar wrote: >> On 08/19/13 13:58, Andre Oppermann wrote: >>> On 19.08.2013 19:33, Navdeep Parhar wrote: On 08/19/13 04:16, Andre Oppermann wrote: > Author: andre > Date: Mon Aug 19 11:16:53 2013 >>>

svn commit: r254608 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2013-08-21 Thread Justin T. Gibbs
Author: gibbs Date: Wed Aug 21 19:40:43 2013 New Revision: 254608 URL: http://svnweb.freebsd.org/changeset/base/254608 Log: Add kstat entries for ZFS compression statistics. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/z

Re: svn commit: r254600 - head/lib/libutil

2013-08-21 Thread Sergey Kandaurov
On Wed, Aug 21, 2013 at 09:21:47PM +0400, Andrey Chernov wrote: > On 21.08.2013 20:46, Sergey Kandaurov wrote: > > number = strtoumax(buf, &endptr, 0); > > > > + if (number == UINTMAX_MAX && errno == ERANGE) { > > + return (-1); > > + } > > You need to reset errno before strtou

svn commit: r254606 - in stable/9: include sys/sys

2013-08-21 Thread Tijl Coosemans
Author: tijl Date: Wed Aug 21 19:02:34 2013 New Revision: 254606 URL: http://svnweb.freebsd.org/changeset/base/254606 Log: MFC r241077: - Simplify the implementation of atomic_compare_exchange_strong_explicit. - Evaluate the memory order argument in atomic_fetch_*_explicit macros. - Imp

Re: svn commit: r254605 - in head/sys: kern sys

2013-08-21 Thread Peter Grehan
Log: Revert r254520 and resurrect the M_NOFREE mbuf flag and functionality. Requested by:np, grehan Thanks Andre. later, Peter. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubsc

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

2013-08-21 Thread Andre Oppermann
Author: andre Date: Wed Aug 21 18:12:04 2013 New Revision: 254605 URL: http://svnweb.freebsd.org/changeset/base/254605 Log: Revert r254520 and resurrect the M_NOFREE mbuf flag and functionality. Requested by: np, grehan Modified: head/sys/kern/kern_mbuf.c head/sys/kern/uipc_mbuf.c he

svn commit: r254604 - head/tools/test/posixshm

2013-08-21 Thread Konstantin Belousov
Author: kib Date: Wed Aug 21 17:47:11 2013 New Revision: 254604 URL: http://svnweb.freebsd.org/changeset/base/254604 Log: Add simple test for the read/write/lseek on posix shm filedescriptor. Tested by:pho Sponsored by: The FreeBSD Foundation Modified: head/tools/test/posixshm/shm_

svn commit: r254603 - in head/sys: kern security/mac security/mac_biba security/mac_mls security/mac_stub security/mac_test sys

2013-08-21 Thread Konstantin Belousov
Author: kib Date: Wed Aug 21 17:45:00 2013 New Revision: 254603 URL: http://svnweb.freebsd.org/changeset/base/254603 Log: Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. Add MAC framework entries for posix shm read and write. Do not allow implicit extension of the unde

svn commit: r254602 - in head/sys: fs/devfs kern sys

2013-08-21 Thread Konstantin Belousov
Author: kib Date: Wed Aug 21 17:36:01 2013 New Revision: 254602 URL: http://svnweb.freebsd.org/changeset/base/254602 Log: Make the seek a method of the struct fileops. Tested by:pho Sponsored by: The FreeBSD Foundation Modified: head/sys/fs/devfs/devfs_vnops.c head/sys/kern/vfs_s

svn commit: r254601 - in head/sys: fs/tmpfs kern sys

2013-08-21 Thread Konstantin Belousov
Author: kib Date: Wed Aug 21 17:23:24 2013 New Revision: 254601 URL: http://svnweb.freebsd.org/changeset/base/254601 Log: Extract the general-purpose code from tmpfs to perform uiomove from the page queue of some vm object. Discussed with: alc Tested by:pho Sponsored by: The

Re: svn commit: r254600 - head/lib/libutil

2013-08-21 Thread Andrey Chernov
On 21.08.2013 20:46, Sergey Kandaurov wrote: > number = strtoumax(buf, &endptr, 0); > > + if (number == UINTMAX_MAX && errno == ERANGE) { > + return (-1); > + } You need to reset errno before strtoumax() call (errno = 0), because any of previous functions may left it as

svn commit: r254600 - head/lib/libutil

2013-08-21 Thread Sergey Kandaurov
Author: pluknet Date: Wed Aug 21 16:46:06 2013 New Revision: 254600 URL: http://svnweb.freebsd.org/changeset/base/254600 Log: Check strtoumax(3) for ERANGE in case of non-prefixed string. OK'd by: silence on current@ MFC after:1 week Modified: head/lib/libutil/expand_number.c

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

2013-08-21 Thread Davide Italiano
On Wed, Aug 21, 2013 at 6:18 PM, Andre Oppermann wrote: > On 21.08.2013 17:59, Davide Italiano wrote: >> >> On Wed, Aug 21, 2013 at 5:30 PM, Andre Oppermann >> wrote: >>> >>> On 20.08.2013 20:13, Davide Italiano wrote: On Tue, Aug 20, 2013 at 7:42 PM, Andre Oppermann wrote: >

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

2013-08-21 Thread Andre Oppermann
On 21.08.2013 17:59, Davide Italiano wrote: On Wed, Aug 21, 2013 at 5:30 PM, Andre Oppermann wrote: On 20.08.2013 20:13, Davide Italiano wrote: On Tue, Aug 20, 2013 at 7:42 PM, Andre Oppermann wrote: On 19.08.2013 19:37, Navdeep Parhar wrote: Why reuse the freed up bits so soon (at least

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

2013-08-21 Thread Davide Italiano
On Wed, Aug 21, 2013 at 5:30 PM, Andre Oppermann wrote: > On 20.08.2013 20:13, Davide Italiano wrote: >> >> On Tue, Aug 20, 2013 at 7:42 PM, Andre Oppermann >> wrote: >>> >>> On 19.08.2013 19:37, Navdeep Parhar wrote: Why reuse the freed up bits so soon (at least one of which I think wa

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Peter Grehan
Hi Andre, On 21.08.2013 17:03, Peter Grehan wrote: The way to go should be 4K clusters as they are native to the architecture. IIRC a PCIe DMA can't cross a 4K boundary anyway That's a 4G boundary, for some devices. I meant a single PCIe DMA transaction can be at most 4K before it has to

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Andre Oppermann
On 21.08.2013 17:03, Peter Grehan wrote: The way to go should be 4K clusters as they are native to the architecture. IIRC a PCIe DMA can't cross a 4K boundary anyway That's a 4G boundary, for some devices. I meant a single PCIe DMA transaction can be at most 4K before it has to set up anoth

svn commit: r254599 - head/sys/vm

2013-08-21 Thread Alan Cox
Author: alc Date: Wed Aug 21 15:31:43 2013 New Revision: 254599 URL: http://svnweb.freebsd.org/changeset/base/254599 Log: Addendum to r254141: Allow recursion on the free pages queues lock in vm_page_alloc_freelist(). Reported and tested by: sbruno Sponsored by: EMC / Isilon Stora

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

2013-08-21 Thread Andre Oppermann
On 20.08.2013 20:13, Davide Italiano wrote: On Tue, Aug 20, 2013 at 7:42 PM, Andre Oppermann wrote: On 19.08.2013 19:37, Navdeep Parhar wrote: Why reuse the freed up bits so soon (at least one of which I think was prematurely GC'ed -- see my other email on M_NOFREE). There was room beyond M_H

Re: svn commit: r254519 - in head/sys: netinet netinet6 sys

2013-08-21 Thread Andre Oppermann
On 20.08.2013 05:04, Julian Elischer wrote: On 8/19/13 7:08 PM, Andre Oppermann wrote: Author: andre Date: Mon Aug 19 11:08:36 2013 New Revision: 254519 URL: http://svnweb.freebsd.org/changeset/base/254519 Log: Move the global M_SKIP_FIREWALL mbuf flags to a protocol layer specific flag i

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Peter Grehan
The way to go should be 4K clusters as they are native to the architecture. IIRC a PCIe DMA can't cross a 4K boundary anyway That's a 4G boundary, for some devices. later, Peter. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mai

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Andre Oppermann
On 20.08.2013 00:03, Navdeep Parhar wrote: On 08/19/13 14:08, Andre Oppermann wrote: On 19.08.2013 19:40, Peter Grehan wrote: I recently tried some experiments to reduce the number of mbuf and cluster allocations in a 40G NIC driver. M_NOFREE and EXT_EXTREF proved very useful and the code chan

Re: svn commit: r254520 - in head/sys: kern sys

2013-08-21 Thread Andre Oppermann
On 19.08.2013 23:45, Navdeep Parhar wrote: On 08/19/13 13:58, Andre Oppermann wrote: On 19.08.2013 19:33, Navdeep Parhar wrote: On 08/19/13 04:16, Andre Oppermann wrote: Author: andre Date: Mon Aug 19 11:16:53 2013 New Revision: 254520 URL: http://svnweb.freebsd.org/changeset/base/254520 Log:

svn commit: r254598 - in head/sys: arm/ti boot/fdt/dts dev/uart

2013-08-21 Thread Ian Lepore
Author: ian Date: Wed Aug 21 14:33:02 2013 New Revision: 254598 URL: http://svnweb.freebsd.org/changeset/base/254598 Log: Add support for uarts other than the serial console in TI OMAP SoCs. The TI uart hardware is ns16550-compatible, except that before it can be used the clocks and power

svn commit: r254597 - head/sys/dev/uart

2013-08-21 Thread Ian Lepore
Author: ian Date: Wed Aug 21 14:26:15 2013 New Revision: 254597 URL: http://svnweb.freebsd.org/changeset/base/254597 Log: Make the uart ns8250 high-level interface public rather than static. This makes it easier to implement new drivers which are "mostly ns8250" but with some small differenc

svn commit: r254596 - head/sys/modules/vmm

2013-08-21 Thread Ulrich Spoerlein
Author: uqs Date: Wed Aug 21 08:01:52 2013 New Revision: 254596 URL: http://svnweb.freebsd.org/changeset/base/254596 Log: Fix 'make depend'. Modified: head/sys/modules/vmm/Makefile Modified: head/sys/modules/vmm/Makefile ===

svn commit: r254595 - head/sys/cam/scsi

2013-08-21 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Aug 21 07:45:47 2013 New Revision: 254595 URL: http://svnweb.freebsd.org/changeset/base/254595 Log: Fix the (unused for now) SCSI_PROTO_iSCSI define to match style(9). Modified: head/sys/cam/scsi/scsi_all.h Modified: head/sys/cam/scsi/scsi_all.h ==