svn commit: r237433 - in head/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-06-22 Thread Konstantin Belousov
Author: kib Date: Fri Jun 22 07:06:40 2012 New Revision: 237433 URL: http://svn.freebsd.org/changeset/base/237433 Log: Implement mechanism to export some kernel timekeeping data to usermode, using shared page. The structures and functions have vdso prefix, to indicate the intended location

svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-22 Thread Konstantin Belousov
Author: kib Date: Fri Jun 22 07:13:30 2012 New Revision: 237434 URL: http://svn.freebsd.org/changeset/base/237434 Log: Use struct vdso_timehands data to implement fast gettimeofday(2) and clock_gettime(2) functions if supported. The speedup seen in microbenchmarks is in range 4x-7x depending

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

2012-06-22 Thread Konstantin Belousov
Author: kib Date: Fri Jun 22 07:16:29 2012 New Revision: 237435 URL: http://svn.freebsd.org/changeset/base/237435 Log: Enable shared page on i386, now it has a use for vdso_timehands. MFC after:1 month Modified: head/sys/i386/i386/elf_machdep.c head/sys/i386/include/vmparam.h Modi

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-22 Thread Marius Strobl
On Fri, Jun 22, 2012 at 07:13:31AM +, Konstantin Belousov wrote: > Author: kib > Date: Fri Jun 22 07:13:30 2012 > New Revision: 237434 > URL: http://svn.freebsd.org/changeset/base/237434 > > Log: > Use struct vdso_timehands data to implement fast gettimeofday(2) and > clock_gettime(2) func

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-22 Thread Konstantin Belousov
On Fri, Jun 22, 2012 at 09:34:56AM +0200, Marius Strobl wrote: > On Fri, Jun 22, 2012 at 07:13:31AM +, Konstantin Belousov wrote: > > Author: kib > > Date: Fri Jun 22 07:13:30 2012 > > New Revision: 237434 > > URL: http://svn.freebsd.org/changeset/base/237434 > > > > Log: > > Use struct vdso

svn commit: r237436 - in head/sys/dev/cxgbe: . common firmware tom

2012-06-22 Thread Navdeep Parhar
Author: np Date: Fri Jun 22 07:51:15 2012 New Revision: 237436 URL: http://svn.freebsd.org/changeset/base/237436 Log: cxgbe(4): update to firmware interface 1.5.2.0; updates to shared code. Modified: head/sys/dev/cxgbe/common/common.h head/sys/dev/cxgbe/common/t4_hw.c head/sys/dev/cxgbe/c

Re: svn commit: r237433 - in head/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-06-22 Thread Alexander Motin
On 06/22/12 10:06, Konstantin Belousov wrote: Author: kib Date: Fri Jun 22 07:06:40 2012 New Revision: 237433 URL: http://svn.freebsd.org/changeset/base/237433 Log: Implement mechanism to export some kernel timekeeping data to usermode, using shared page. The structures and functions have

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-22 Thread David Chisnall
On 22 Jun 2012, at 08:34, Marius Strobl wrote: > I don't know much about x86 CPUs but is my understanding correct > that TSCs are not synchronized in any way across CPUs, i.e. > reading it on different CPUs may result in time going backwards > etc., which is okay for this application though? As l

Re: svn commit: r237433 - in head/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-06-22 Thread Konstantin Belousov
On Fri, Jun 22, 2012 at 11:08:50AM +0300, Alexander Motin wrote: > On 06/22/12 10:06, Konstantin Belousov wrote: > >Author: kib > >Date: Fri Jun 22 07:06:40 2012 > >New Revision: 237433 > >URL: http://svn.freebsd.org/changeset/base/237433 > > > >Log: > > Implement mechanism to export some kernel

svn commit: r237439 - head/sys/dev/cxgbe

2012-06-22 Thread Navdeep Parhar
Author: np Date: Fri Jun 22 08:37:33 2012 New Revision: 237439 URL: http://svn.freebsd.org/changeset/base/237439 Log: Do not read registers with read side effects while performing a register dump for cxgbetool. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c =

Re: svn commit: r237433 - in head/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-06-22 Thread Alexander Motin
On 22.06.2012 11:25, Konstantin Belousov wrote: On Fri, Jun 22, 2012 at 11:08:50AM +0300, Alexander Motin wrote: On 06/22/12 10:06, Konstantin Belousov wrote: Author: kib Date: Fri Jun 22 07:06:40 2012 New Revision: 237433 URL: http://svn.freebsd.org/changeset/base/237433 Log: Implement mec

Re: svn commit: r237412 - in head: sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/components/dis

2012-06-22 Thread Konstantin Belousov
On Fri, Jun 22, 2012 at 12:40:45AM +, Jung-uk Kim wrote: > Author: jkim > Date: Fri Jun 22 00:40:44 2012 > New Revision: 237412 > URL: http://svn.freebsd.org/changeset/base/237412 > > Log: > Merge ACPICA 20120620. I think it is caused by import, malloc is called while spinlock is held: ACP

Re: svn commit: r237433 - in head/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-06-22 Thread Konstantin Belousov
On Fri, Jun 22, 2012 at 11:54:28AM +0300, Alexander Motin wrote: > On 22.06.2012 11:25, Konstantin Belousov wrote: > >On Fri, Jun 22, 2012 at 11:08:50AM +0300, Alexander Motin wrote: > >>On 06/22/12 10:06, Konstantin Belousov wrote: > >>>Author: kib > >>>Date: Fri Jun 22 07:06:40 2012 > >>>New Revi

Re: svn commit: r237433 - in head/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-06-22 Thread Konstantin Belousov
On Fri, Jun 22, 2012 at 01:23:42PM +0300, Konstantin Belousov wrote: > On Fri, Jun 22, 2012 at 11:54:28AM +0300, Alexander Motin wrote: > > On 22.06.2012 11:25, Konstantin Belousov wrote: > > >On Fri, Jun 22, 2012 at 11:08:50AM +0300, Alexander Motin wrote: > > >>On 06/22/12 10:06, Konstantin Belou

Re: svn commit: r237433 - in head/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-06-22 Thread Alexander Motin
On 06/22/12 13:46, Konstantin Belousov wrote: On Fri, Jun 22, 2012 at 01:23:42PM +0300, Konstantin Belousov wrote: On Fri, Jun 22, 2012 at 11:54:28AM +0300, Alexander Motin wrote: On 22.06.2012 11:25, Konstantin Belousov wrote: On Fri, Jun 22, 2012 at 11:08:50AM +0300, Alexander Motin wrote:

Re: svn commit: r237434 - in head/lib/libc: amd64/sys gen i386/sys include sys

2012-06-22 Thread John Baldwin
On Friday, June 22, 2012 3:34:56 am Marius Strobl wrote: > On Fri, Jun 22, 2012 at 07:13:31AM +, Konstantin Belousov wrote: > > Author: kib > > Date: Fri Jun 22 07:13:30 2012 > > New Revision: 237434 > > URL: http://svn.freebsd.org/changeset/base/237434 > > > > Log: > > Use struct vdso_timeh

Re: svn commit: r237412 - in head: sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/components/dis

2012-06-22 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-06-22 05:58:47 -0400, Konstantin Belousov wrote: > On Fri, Jun 22, 2012 at 12:40:45AM +, Jung-uk Kim wrote: >> Author: jkim Date: Fri Jun 22 00:40:44 2012 New Revision: 237412 >> URL: http://svn.freebsd.org/changeset/base/237412 >> >> Log

svn commit: r237445 - head/sys/i386/i386

2012-06-22 Thread Konstantin Belousov
Author: kib Date: Fri Jun 22 16:05:56 2012 New Revision: 237445 URL: http://svn.freebsd.org/changeset/base/237445 Log: Commit changes missed from r237435. Properly calculate the signal trampoline addresses after the shared page is enabled. Handle FreeBSD ABIs without shared page support to

svn commit: r237446 - head/sys/cam

2012-06-22 Thread Alexander Motin
Author: mav Date: Fri Jun 22 16:20:13 2012 New Revision: 237446 URL: http://svn.freebsd.org/changeset/base/237446 Log: Don't print SCSI Queue Full and CAM_REQUEUE_REQ statuses as errors if they were handled and retried. They are part of normal operation for SCSI TCQ. MFC after:3 days

svn commit: r237448 - head/lib/libedit

2012-06-22 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 22 18:01:22 2012 New Revision: 237448 URL: http://svn.freebsd.org/changeset/base/237448 Log: Merge changes from upstream libedit. Our libedit has been diverging from the mainstream version maintained in NetBSD. As a consequence it has been difficult to do an ap

svn commit: r237451 - head/sys/vm

2012-06-22 Thread Attilio Rao
Author: attilio Date: Fri Jun 22 18:34:11 2012 New Revision: 237451 URL: http://svn.freebsd.org/changeset/base/237451 Log: - Add a comment explaining the locking of the cached pages pool held by vm_objects. - Add flags for the per-object lock and free pages queue mutex lock. Use the ne

svn commit: r237452 - in head: sbin/camcontrol sys/cam/scsi

2012-06-22 Thread Kenneth D. Merry
Author: ken Date: Fri Jun 22 18:57:06 2012 New Revision: 237452 URL: http://svn.freebsd.org/changeset/base/237452 Log: Change 'camcontrol defects' to first probe a drive to find out how much defect information it has before grabbing the full defect list. This works around a bug with some

Re: svn commit: r237448 - head/lib/libedit

2012-06-22 Thread Baptiste Daroussin
On Fri, Jun 22, 2012 at 06:01:23PM +, Pedro F. Giffuni wrote: > Author: pfg > Date: Fri Jun 22 18:01:22 2012 > New Revision: 237448 > URL: http://svn.freebsd.org/changeset/base/237448 > > Log: > Merge changes from upstream libedit. > > Our libedit has been diverging from the mainstream

Re: svn commit: r237448 - head/lib/libedit

2012-06-22 Thread Doug Barton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 As a general rule, please trim out replies. This list is worse than most in the sense that people often reply to hundreds of lines only to add a line or 2 at the bottom. By trimming your reply you both save electrons, and make it easier for people t

svn commit: r237458 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-06-22 Thread Martin Matuska
Author: mm Date: Fri Jun 22 20:42:11 2012 New Revision: 237458 URL: http://svn.freebsd.org/changeset/base/237458 Log: Import Illumos revision 13736:9f1d48e1681f 2901 ZFS receive fails for exabyte sparse files References: https://www.illumos.org/issues/2901 Obtained from:ill

svn commit: r237459 - head/sys/netinet6

2012-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jun 22 21:26:35 2012 New Revision: 237459 URL: http://svn.freebsd.org/changeset/base/237459 Log: Just add a comment to further investigate when being closer to that code again next time. The condition of the 2nd if() is very unlikely ever met. Modified: head/sys/netine

svn commit: r237460 - head/sys/dev/twa

2012-06-22 Thread Alexander Motin
Author: mav Date: Fri Jun 22 21:46:41 2012 New Revision: 237460 URL: http://svn.freebsd.org/changeset/base/237460 Log: Return CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE instead of CAM_TID_INVALID and CAM_LUN_INVALID for case of missing devices. In removes tons of error messages from CAM during bu

svn commit: r237463 - head/sys/dev/cxgbe

2012-06-22 Thread Navdeep Parhar
Author: np Date: Fri Jun 22 22:59:42 2012 New Revision: 237463 URL: http://svn.freebsd.org/changeset/base/237463 Log: Do not allocate extra vectors when adapter is not TOE capable (or toecaps have been disallowed by the user). + one very minor unrelated cleanup in t4_sge.c Modified: he

Re: svn commit: r237350 - head/sys/dev/puc

2012-06-22 Thread Marcel Moolenaar
On Jun 20, 2012, at 8:10 PM, Max Khon wrote: > > Modified: head/sys/dev/puc/puc_cfg.h > == > --- head/sys/dev/puc/puc_cfg.hThu Jun 21 02:48:49 2012 > (r237349) > +++ head/sys/dev/puc/puc_cfg.hThu J