Re: svn commit: r238818 - head/sys/dev/netmap

2012-07-26 Thread Luigi Rizzo
On Thu, Jul 26, 2012 at 11:39:59PM +0200, Roman Divacky wrote: > Why dont you use __builtin_prefetch() ? ignorance :) thanks for the pointer, i'll look at it. i suppose it works for clang too ? cheers luigi ___ svn-src-head@freebsd.org mailing list htt

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

2012-07-26 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 05:48:42 2012 New Revision: 238824 URL: http://svn.freebsd.org/changeset/base/238824 Log: Migrate the descriptor allocation function to not care about the number of buffers, only the number of descriptors. This involves: * Change the allocation functio

svn commit: r238823 - head/sys/arm/conf

2012-07-26 Thread Warner Losh
Author: imp Date: Fri Jul 27 05:37:01 2012 New Revision: 238823 URL: http://svn.freebsd.org/changeset/base/238823 Log: Document the dataflash/mmc-sd issue. Add umass driver and usb. Boot off da0s1a instead of ate0. Note that MMC/SD is slot B. Until I switch over to NAND boot, dataflash b

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

2012-07-26 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 05:34:45 2012 New Revision: 238822 URL: http://svn.freebsd.org/changeset/base/238822 Log: Refactor out the descriptor allocation code from the buffer allocation code. The TX EDMA completion path is going to need descriptors allocated but not any buffers.

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

2012-07-26 Thread Warner Losh
Author: imp Date: Fri Jul 27 05:33:55 2012 New Revision: 238821 URL: http://svn.freebsd.org/changeset/base/238821 Log: Turns out the ETHERNUT5 isn't anything like the SAM9260-EK. Make this board init match better: UART1 instead of UART2, No RMMI, no SPI0, SPI1 comments. Modified: head/sy

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

2012-07-26 Thread Warner Losh
Author: imp Date: Fri Jul 27 05:28:02 2012 New Revision: 238820 URL: http://svn.freebsd.org/changeset/base/238820 Log: Add (back?) ohci atmel attachment. Modified: head/sys/arm/at91/files.at91 Modified: head/sys/arm/at91/files.at91

svn commit: r238819 - head/sys/dev/usb/controller

2012-07-26 Thread Warner Losh
Author: imp Date: Fri Jul 27 05:24:09 2012 New Revision: 238819 URL: http://svn.freebsd.org/changeset/base/238819 Log: Minor style(9) nit. Modified: head/sys/dev/usb/controller/ohci_atmelarm.c Modified: head/sys/dev/usb/controller/ohci_atmelarm.c =

Re: svn commit: r238818 - head/sys/dev/netmap

2012-07-26 Thread Roman Divacky
Why dont you use __builtin_prefetch() ? On Thu, Jul 26, 2012 at 09:37:58PM +, Luigi Rizzo wrote: > Author: luigi > Date: Thu Jul 26 21:37:58 2012 > New Revision: 238818 > URL: http://svn.freebsd.org/changeset/base/238818 > > Log: > define prefetch as a noop on !x86 > > Modified: > head/s

svn commit: r238818 - head/sys/dev/netmap

2012-07-26 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 26 21:37:58 2012 New Revision: 238818 URL: http://svn.freebsd.org/changeset/base/238818 Log: define prefetch as a noop on !x86 Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c ===

svn commit: r238817 - head/usr.bin/du

2012-07-26 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jul 26 20:41:36 2012 New Revision: 238817 URL: http://svn.freebsd.org/changeset/base/238817 Log: Document -g option in the usage string. Modified: head/usr.bin/du/du.c Modified: head/usr.bin/du/du.c ===

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-26 Thread Peter Grehan
Yes, CPUID or LFENCE is enough to fix the failure. CPUID causes an unconditional exit in VT-x/SVM so it would be best to avoid that if possible. later, Peter. ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-26 Thread Konstantin Belousov
On Thu, Jul 26, 2012 at 10:30:51PM +1000, Bruce Evans wrote: > On Thu, 26 Jul 2012, Konstantin Belousov wrote: > > >On Thu, Jul 26, 2012 at 05:35:23PM +1000, Bruce Evans wrote: > >>In fact, there is always a full documented serialization instruction > >>for syscalls, except maybe in FreeBSD-1 comp

svn commit: r238813 - head/sbin/geom/class/sched

2012-07-26 Thread Isabell Long
Author: issyl0 (doc committer) Date: Thu Jul 26 17:30:34 2012 New Revision: 238813 URL: http://svn.freebsd.org/changeset/base/238813 Log: The ad(4) driver no longer exists in FreeBSD CURRENT or 9, so change the references to it in gsched(8) to the existing ada(4) driver. PR: doc

svn commit: r238812 - head/sys/dev/netmap

2012-07-26 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 26 16:45:28 2012 New Revision: 238812 URL: http://svn.freebsd.org/changeset/base/238812 Log: Add support for VALE bridges to the netmap core, see http://info.iet.unipi.it/~luigi/vale/ VALE lets you dynamically instantiate multiple software bridges that

svn commit: r238811 - head/sys/arm/conf

2012-07-26 Thread Warner Losh
Author: imp Date: Thu Jul 26 16:34:21 2012 New Revision: 238811 URL: http://svn.freebsd.org/changeset/base/238811 Log: Trim read/write sizes to 128 bytes. Pages are only 128 bytes in size. Writes larger than this will wrap to the same page. Reads larger than this are permitted, but why tak

svn commit: r238810 - head/lib/libedit

2012-07-26 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 26 15:48:07 2012 New Revision: 238810 URL: http://svn.freebsd.org/changeset/base/238810 Log: Drop non-portable libedit's el_data_set() and el_data_get() for private data. We can set/get private data with the documented el_get() and el_set() so there's no need f

Re: svn commit: r238741 - head/lib/libelf

2012-07-26 Thread Garrett Cooper
On Thu, Jul 26, 2012 at 3:13 AM, Andrey Chernov wrote: > On Wed, Jul 25, 2012 at 04:26:29PM -0700, Garrett Cooper wrote: >> >> A bunch of the sys/boot directories probably need this too.. > > Two of them (ficl and zfs) just fixed in r238795. If I miss some others, > point me to. Pretty sure ficl

svn commit: r238808 - head/lib/libc/locale

2012-07-26 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Jul 26 14:46:19 2012 New Revision: 238808 URL: http://svn.freebsd.org/changeset/base/238808 Log: Start manpage with Dd macro and also remove a trailing whitespace while here. Modified: head/lib/libc/locale/iswalnum_l.3 Modified: head/lib/libc/locale/i

svn commit: r238805 - in head: share/man/man4 sys/conf sys/dev/ahci sys/modules/ahci

2012-07-26 Thread Alexander Motin
Author: mav Date: Thu Jul 26 13:44:48 2012 New Revision: 238805 URL: http://svn.freebsd.org/changeset/base/238805 Log: Refactor enclosure manegement support in ahci(4). Move it out into separate subdevice ahciem. Emulate SEMB SES device from AHCI LED interface to expose it to users in form o

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-26 Thread Bruce Evans
On Thu, 26 Jul 2012, Konstantin Belousov wrote: On Thu, Jul 26, 2012 at 05:35:23PM +1000, Bruce Evans wrote: In fact, there is always a full documented serialization instruction for syscalls, except maybe in FreeBSD-1 compat code on i386, at least on Athlon64. i386 syscalls use int 0x80 (excep

svn commit: r238804 - in head/sys/dev/usb: . serial

2012-07-26 Thread Gavin Atkinson
Author: gavin Date: Thu Jul 26 12:18:23 2012 New Revision: 238804 URL: http://svn.freebsd.org/changeset/base/238804 Log: Improve descriptions for several devices supported by uslcom(4). Correct the spelling of the company Telegesis. Move MpMan to the correct location alphabetically. MFC

svn commit: r238803 - in head: share/man/man4 sys/dev/usb sys/dev/usb/serial

2012-07-26 Thread Gavin Atkinson
Author: gavin Date: Thu Jul 26 12:10:19 2012 New Revision: 238803 URL: http://svn.freebsd.org/changeset/base/238803 Log: Add support for more devices to uslcom(4). This commit syncronises the list of supported devices with the union of: NetBSD src/sys/dev/usb/uslsa.c 1.18 OpenBSD src/

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

2012-07-26 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jul 26 12:04:11 2012 New Revision: 238802 URL: http://svn.freebsd.org/changeset/base/238802 Log: Update the 'C1x draft' reference to '.St -isoC-2011' mdoc macro. Reviewed by: theraven MFC after:1 week Modified: head/lib/libc/stdlib/at_quick_exit.3 head/

svn commit: r238801 - head/share/misc

2012-07-26 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jul 26 11:51:29 2012 New Revision: 238801 URL: http://svn.freebsd.org/changeset/base/238801 Log: Add OS X 10.8. Although they dropped the 'Mac' in this version, prefer to stick with it for consistency. Reviewed by: maxim Modified: head/share/misc/bsd-family

Re: contrib/groff/tmac

2012-07-26 Thread Ruslan Ermilov
On Mon, Dec 26, 2011 at 09:51:53PM +, Ed Schouten wrote: > Author: ed > Date: Mon Dec 26 21:51:53 2011 > New Revision: 228904 > URL: http://svn.freebsd.org/changeset/base/228904 > > Log: > Add libstdthreads. [...] > Modified: > head/contrib/groff/tmac/doc-syms > head/contrib/groff/tmac/g

svn commit: r238800 - head/contrib/groff/tmac

2012-07-26 Thread Ruslan Ermilov
Author: ru Date: Thu Jul 26 11:12:38 2012 New Revision: 238800 URL: http://svn.freebsd.org/changeset/base/238800 Log: Pull up vendor changes to mdoc(7). Modified: head/contrib/groff/tmac/doc-syms head/contrib/groff/tmac/doc.tmac Directory Properties: head/contrib/groff/ (props changed)

svn commit: r238799 - in head: contrib/groff/tmac gnu/usr.bin/groff/tmac

2012-07-26 Thread Ruslan Ermilov
Author: ru Date: Thu Jul 26 11:10:25 2012 New Revision: 238799 URL: http://svn.freebsd.org/changeset/base/238799 Log: Backed out r228904, and added libstdthreads support to mdoc(7) to where it belongs. Modified: head/contrib/groff/tmac/doc-syms head/contrib/groff/tmac/groff_mdoc.man hea

Re: svn commit: r236255 - head/contrib/groff/tmac

2012-07-26 Thread Ruslan Ermilov
On Wed, May 30, 2012 at 08:07:38PM -0700, David O'Brien wrote: > On Wed, May 30, 2012 at 07:34:33AM +0400, Sergey Kandaurov wrote: > > On 29 May 2012 23:49, David E. O'Brien wrote: > ... > > > Modified: head/contrib/groff/tmac/doc-common > ... > > > +.ds doc-operating-system-FreeBSD-8.3 � � 8.3 >

svn commit: r238798 - in head: contrib/groff/tmac gnu/usr.bin/groff/tmac

2012-07-26 Thread Ruslan Ermilov
Author: ru Date: Thu Jul 26 10:58:30 2012 New Revision: 238798 URL: http://svn.freebsd.org/changeset/base/238798 Log: Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to where it belongs. Modified: head/contrib/groff/tmac/doc-common head/gnu/usr.bin/groff/tmac/mdoc.local Modi

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-26 Thread Konstantin Belousov
On Thu, Jul 26, 2012 at 05:35:23PM +1000, Bruce Evans wrote: > On Wed, 25 Jul 2012, Jung-uk Kim wrote: > >>For some unrelated reasons, we do have lfence;rdtsc sequence in > >>the userland already. Well, it is not exactly such sequence, there > >>are some instructions between, but the main fact is t

Re: svn commit: r238741 - head/lib/libelf

2012-07-26 Thread Andrey Chernov
On Wed, Jul 25, 2012 at 04:26:29PM -0700, Garrett Cooper wrote: > > A bunch of the sys/boot directories probably need this too.. Two of them (ficl and zfs) just fixed in r238795. If I miss some others, point me to. -- http://ache.vniz.net/ ___ svn-sr

svn commit: r238795 - in head/sys/boot: ficl zfs

2012-07-26 Thread Andrey A. Chernov
Author: ache Date: Thu Jul 26 10:10:54 2012 New Revision: 238795 URL: http://svn.freebsd.org/changeset/base/238795 Log: Try to avoid all files dependence on the modification time of the large and often modified directory created symbolic links points to - it cause unnecessary full rebuilds e

svn commit: r238792 - in head/sys/i386: i386 include isa

2012-07-26 Thread Konstantin Belousov
Author: kib Date: Thu Jul 26 09:11:37 2012 New Revision: 238792 URL: http://svn.freebsd.org/changeset/base/238792 Log: MFamd64 r238623: Introduce curpcb magic variable. Requested and reviewed by:bde MFC after:3 weeks Modified: head/sys/i386/i386/machdep.c head/sys/i386/i386

svn commit: r238791 - head/sys/vm

2012-07-26 Thread Konstantin Belousov
Author: kib Date: Thu Jul 26 09:06:48 2012 New Revision: 238791 URL: http://svn.freebsd.org/changeset/base/238791 Log: Do not requeue held page or page for which locking failed, just leave them alone. Process the act_count updates for the held pages in the vm_pageout loop over the inact

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-07-26 Thread Ruslan Ermilov
On Wed, Jul 18, 2012 at 05:57:43AM +, David E. O'Brien wrote: > Author: obrien > Date: Wed Jul 18 05:57:42 2012 > New Revision: 238563 > URL: http://svn.freebsd.org/changeset/base/238563 > > Log: > a ";" tells make we want the shell to be used > > Submitted by: Simon Gerraty > >

svn commit: r238790 - head/sys/netinet

2012-07-26 Thread Michael Tuexen
Author: tuexen Date: Thu Jul 26 08:10:29 2012 New Revision: 238790 URL: http://svn.freebsd.org/changeset/base/238790 Log: Fix the sctp_sockstore union such that userland programs don't depend on INET and/or INET6 to be defined and in-tune with how the kernel was compiled. MFC after:

svn commit: r238789 - in head/sys/arm: at91 conf

2012-07-26 Thread Andrew Turner
Author: andrew Date: Thu Jul 26 08:05:28 2012 New Revision: 238789 URL: http://svn.freebsd.org/changeset/base/238789 Log: Add support for the DesignA Electronics Snapper9g45 System on Module. Reviewed by: imp Added: head/sys/arm/at91/board_sn9g45.c (contents, props changed) head/sys

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-26 Thread Bruce Evans
On Wed, 25 Jul 2012, Konstantin Belousov wrote: On Thu, Jul 26, 2012 at 12:15:54AM +1000, Bruce Evans wrote: On Wed, 25 Jul 2012, Konstantin Belousov wrote: ... Most uses in FreeBSD are for timecounters. Timecounters deliver the current time. This is unrelated to whatever instructions haven't

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

2012-07-26 Thread Andrew Turner
Author: andrew Date: Thu Jul 26 08:01:25 2012 New Revision: 238788 URL: http://svn.freebsd.org/changeset/base/238788 Log: Add support for the Atmel AT91SAM9G45 CPU. Reviewed by: imp Added: head/sys/arm/at91/at91_pio_sam9g45.h (contents, props changed) head/sys/arm/at91/at91sam9g45.c

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-26 Thread Bruce Evans
On Wed, 25 Jul 2012, Jung-uk Kim wrote: On 2012-07-25 14:05:37 -0400, Konstantin Belousov wrote: Since we have gettimeofday() in userland, the above Linux thread is more relevant now, I guess. Indeed. syscalls put squillions of instructions between. Maybe even a serialization instruction.