svn commit: r247776 - head/sys/arm/arm

2013-03-04 Thread Olivier Houchard
Author: cognet Date: Mon Mar 4 10:41:54 2013 New Revision: 247776 URL: http://svnweb.freebsd.org/changeset/base/247776 Log: If we're using a PIPT L2 cache, only merge 2 segments if both the virtual and the physical addreses are contiguous. Submitted by: Thomas Skibo Modified: head/sy

svn commit: r247777 - in head/sys: conf kern netinet sys

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 11:09:56 2013 New Revision: 24 URL: http://svnweb.freebsd.org/changeset/base/24 Log: - Make callout(9) tickless, relying on eventtimers(4) as backend for precise time event generation. This greatly improves granularity of callouts which are not anymore

svn commit: r247778 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 11:22:19 2013 New Revision: 247778 URL: http://svnweb.freebsd.org/changeset/base/247778 Log: MFcalloutng (r244355): Make loadavg calculation callout direct. There are several reasons for it: - it is very simple and doesn't worth context switch to SWI; - si

svn commit: r247779 - in head: contrib/libyaml lib lib/libyaml share/mk tools

2013-03-04 Thread Baptiste Daroussin
Author: bapt Date: Mon Mar 4 11:27:41 2013 New Revision: 247779 URL: http://svnweb.freebsd.org/changeset/base/247779 Log: Import libyaml as libbsdyml (private brand name) LibYAML is a YAML 1.1 parser and emitter under MIT license which will soon be used by the pkg boostrap (usr.bin/pkg)

svn commit: r247780 - head/usr.sbin/tzsetup

2013-03-04 Thread Devin Teske
Author: dteske Date: Mon Mar 4 11:34:31 2013 New Revision: 247780 URL: http://svnweb.freebsd.org/changeset/base/247780 Log: Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option. PR: bin/164976 Submitted by: dteske Modified: head/usr.sbin/tzsetup/tzse

svn commit: r247781 - stable/9/usr.sbin/tzsetup

2013-03-04 Thread Devin Teske
Author: dteske Date: Mon Mar 4 11:40:52 2013 New Revision: 247781 URL: http://svnweb.freebsd.org/changeset/base/247781 Log: MFC r247780: Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option. PR: bin/164976 Submitted by: dteske Modified: stable/9

svn commit: r247782 - stable/8/usr.sbin/tzsetup

2013-03-04 Thread Devin Teske
Author: dteske Date: Mon Mar 4 11:43:20 2013 New Revision: 247782 URL: http://svnweb.freebsd.org/changeset/base/247782 Log: MFC r247780: Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option. PR: bin/164976 Submitted by: dteske Modified: stable/8

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

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 11:51:46 2013 New Revision: 247783 URL: http://svnweb.freebsd.org/changeset/base/247783 Log: MFcalloutng: Convert sleepqueue(9) bits to the new callout KPI. Take advantage of the possibility to run callback directly from hw interrupt context. Sponsored by

svn commit: r247784 - head/sys/sys

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 11:55:32 2013 New Revision: 247784 URL: http://svnweb.freebsd.org/changeset/base/247784 Log: Style fix: remove useless braces. Sorry, my bad. Submitted by: bde Modified: head/sys/sys/sleepqueue.h Modified: head/sys/sys/sleepqueue.h ===

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

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 12:20:48 2013 New Revision: 247785 URL: http://svnweb.freebsd.org/changeset/base/247785 Log: MFcalloutng: Extend condvar(9) KPI introducing sbt variant of cv_timedwait. This rely on the previously committed sleepq_set_timeout_sbt(). Sponsored by: Google S

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

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 12:48:41 2013 New Revision: 247787 URL: http://svnweb.freebsd.org/changeset/base/247787 Log: MFcalloutng: Introduce sbt variants of msleep(), msleep_spin(), pause(), tsleep() in the KPI, allowing to specify timeout in 'sbintime_t' rather than ticks. Spons

svn commit: r247788 - head/sys/vm

2013-03-04 Thread Attilio Rao
Author: attilio Date: Mon Mar 4 13:10:59 2013 New Revision: 247788 URL: http://svnweb.freebsd.org/changeset/base/247788 Log: Merge from vmcontention: As vm objects are type-stable there is no need to initialize the resident splay tree pointer and the cache splay tree pointer in _vm_object

svn commit: r247791 - head/share/man/man7

2013-03-04 Thread Eitan Adler
Author: eadler Date: Mon Mar 4 13:57:46 2013 New Revision: 247791 URL: http://svnweb.freebsd.org/changeset/base/247791 Log: Modernize some portions of the ports man page. Stop documenting other operating systems's default patha Approved by: bcr (mentor) Modified: head/share/man/man7/

svn commit: r247792 - head/sys/dev/syscons

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 14:00:58 2013 New Revision: 247792 URL: http://svnweb.freebsd.org/changeset/base/247792 Log: MFcalloutng (r244249, r244306 by mav): - Switch syscons from timeout() to callout_reset_flags() and specify that precision is not important there -- anything from 20 t

Re: svn commit: r247792 - head/sys/dev/syscons

2013-03-04 Thread Luigi Rizzo
On Mon, Mar 04, 2013 at 02:00:59PM +, Davide Italiano wrote: > Author: davide > Date: Mon Mar 4 14:00:58 2013 > New Revision: 247792 > URL: http://svnweb.freebsd.org/changeset/base/247792 > > Log: > MFcalloutng (r244249, r244306 by mav): > - Switch syscons from timeout() to callout_reset_

Re: svn commit: r247792 - head/sys/dev/syscons

2013-03-04 Thread Alexander Motin
On 04.03.2013 16:42, Luigi Rizzo wrote: > On Mon, Mar 04, 2013 at 02:00:59PM +, Davide Italiano wrote: >> Author: davide >> Date: Mon Mar 4 14:00:58 2013 >> New Revision: 247792 >> URL: http://svnweb.freebsd.org/changeset/base/247792 >> >> Log: >> MFcalloutng (r244249, r244306 by mav): >>

svn commit: r247793 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 15:03:52 2013 New Revision: 247793 URL: http://svnweb.freebsd.org/changeset/base/247793 Log: Fix build with DIAGNOSTIC/CALLOUT_PROFILING options turned on. Reported by: kib, David Wolfskill Pointy-hat to:davide Modified: head/sys/kern/kern_time

svn commit: r247794 - stable/9/sys/dev/mxge

2013-03-04 Thread Andrew Gallatin
Author: gallatin Date: Mon Mar 4 15:30:38 2013 New Revision: 247794 URL: http://svnweb.freebsd.org/changeset/base/247794 Log: MFC r247159 Improvements for newer mxge nics: - Some mxge nics may store the serial number in the SN2 field of the EEPROM. These will also have an SN=0

svn commit: r247795 - stable/9/sys/dev/mxge

2013-03-04 Thread Andrew Gallatin
Author: gallatin Date: Mon Mar 4 15:32:38 2013 New Revision: 247795 URL: http://svnweb.freebsd.org/changeset/base/247795 Log: MFC r247160 Bump mxge copyright. Modified: stable/9/sys/dev/mxge/if_mxge.c stable/9/sys/dev/mxge/if_mxge_var.h Directory Properties: stable/9/sys/ (props

svn commit: r247796 - svnadmin/conf

2013-03-04 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Mon Mar 4 15:34:59 2013 New Revision: 247796 URL: http://svnweb.freebsd.org/changeset/base/247796 Log: Add myself to access.doc Approved by: core (kib), doceng (implicit) Modified: svnadmin/conf/access.doc Modified: svnadmin/conf/access.doc

svn commit: r247797 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 15:57:41 2013 New Revision: 247797 URL: http://svnweb.freebsd.org/changeset/base/247797 Log: MFcalloutng: kern_nanosleep() is now converted to use tsleep_sbt(). With this change nanosleep() and usleep() can handle sub-tick precision for timeouts. Also, try t

svn commit: r247798 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 16:07:55 2013 New Revision: 247798 URL: http://svnweb.freebsd.org/changeset/base/247798 Log: MFcalloutng (r244255 by mav, with minor changes): Specify that syslog doesn't need exactly 5 wakeups per second. Sponsored by: Google Summer of Code 2012, iXsystems

svn commit: r247799 - head/sys/dev/random

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 16:16:23 2013 New Revision: 247799 URL: http://svnweb.freebsd.org/changeset/base/247799 Log: MFcalloutng (r236314 by mav): Specify that wakeup rate of 7.5-10Hz is enough for yarrow harvesting thread. Sponsored by: Google Summer of Code 2012, iXsystems inc

svn commit: r247800 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 16:25:12 2013 New Revision: 247800 URL: http://svnweb.freebsd.org/changeset/base/247800 Log: MFcalloutng (r244251 with minor changes): Specify that precision of 0.5s is enough for resource limitation. Sponsored by: Google Summer of Code 2012, iXsystems inc.

svn commit: r247801 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 16:41:27 2013 New Revision: 247801 URL: http://svnweb.freebsd.org/changeset/base/247801 Log: MFcalloutng: Fix kern_select() and sys_poll() so that they can handle sub-tick precision for timeouts (in the same fashion it was done for nanosleep() in r247797).

svn commit: r247802 - stable/9/sbin/devd

2013-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 4 16:44:19 2013 New Revision: 247802 URL: http://svnweb.freebsd.org/changeset/base/247802 Log: MFC r246361 ... bump .Dd for content change. Modified: stable/9/sbin/devd/devd.8 Directory Properties: stable/9/sbin/devd/ (props changed) Modified: stable/9/sbin/dev

svn commit: r247803 - stable/9/sbin/devd

2013-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 4 16:50:01 2013 New Revision: 247803 URL: http://svnweb.freebsd.org/changeset/base/247803 Log: MFC r246134 ... Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid makin

svn commit: r247804 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 16:55:16 2013 New Revision: 247804 URL: http://svnweb.freebsd.org/changeset/base/247804 Log: MFcalloutng: - Rewrite kevent() timeout implementation to allow sub-tick precision. - Make the interval timings for EVFILT_TIMER more accurate. This also removes an

svn commit: r247805 - stable/8/sys/dev/an

2013-03-04 Thread John Baldwin
Author: jhb Date: Mon Mar 4 17:35:10 2013 New Revision: 247805 URL: http://svnweb.freebsd.org/changeset/base/247805 Log: MFC 199757: - For 350 chips, don't set various INTR bits in TX control word; turning INTR bits on seems to confuse hardware TX engine. - For 350 chips, set TX desc's

svn commit: r247806 - stable/8/sbin/devd

2013-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 4 17:39:17 2013 New Revision: 247806 URL: http://svnweb.freebsd.org/changeset/base/247806 Log: MFC r246121 r246361 ... Fix a descriptor leak in devd. Clients reading /var/run/devd.pipe can close their socket connection any time, and devd only notices that when

svn commit: r247808 - stable/8/sys/compat/linprocfs

2013-03-04 Thread John Baldwin
Author: jhb Date: Mon Mar 4 18:28:24 2013 New Revision: 247808 URL: http://svnweb.freebsd.org/changeset/base/247808 Log: MFC 205541,205592: Implement /proc/filesystems. PR: kern/142595 Modified: stable/8/sys/compat/linprocfs/linprocfs.c Directory Properties: stable/8/sys/

svn commit: r247809 - in vendor/openpam/dist: doc/man lib

2013-03-04 Thread Dag-Erling Smørgrav
Author: des Date: Mon Mar 4 18:46:55 2013 New Revision: 247809 URL: http://svnweb.freebsd.org/changeset/base/247809 Log: Merge upstream r634:646: correctly parse mixed quoted / unquoted text. See http://www.openpam.org/wiki/Errata#Configurationparsing for details. Modified: vendor/openpam/

svn commit: r247810 - in head/contrib/openpam: doc/man lib

2013-03-04 Thread Dag-Erling Smørgrav
Author: des Date: Mon Mar 4 18:51:53 2013 New Revision: 247810 URL: http://svnweb.freebsd.org/changeset/base/247810 Log: Merge upstream r634:646: correctly parse mixed quoted / unquoted text. Modified: head/contrib/openpam/doc/man/openpam_straddch.3 head/contrib/openpam/lib/openpam_readlin

svn commit: r247811 - head/sbin/ipfw

2013-03-04 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Mar 4 19:01:38 2013 New Revision: 247811 URL: http://svnweb.freebsd.org/changeset/base/247811 Log: Do not suddenly fail on some rulesets if -n (syntax check only) is specified and ipfw(4) module is not loaded. MFC after:2 weeks Modified: head/sbin/ipfw/i

svn commit: r247812 - in head/share/man: man4 man9

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 19:10:39 2013 New Revision: 247812 URL: http://svnweb.freebsd.org/changeset/base/247812 Log: MFcalloutng: Dcoument the new functions added to condvar(9), sleep(9), sleepqueue(9) KPIs. Also document recent changes in timeout(9) and eventtimers(4). Modified:

svn commit: r247813 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 21:09:22 2013 New Revision: 247813 URL: http://svnweb.freebsd.org/changeset/base/247813 Log: Use C99 'bool' rather than Machish 'boolean_t'. Requested by: jhb Modified: head/sys/kern/kern_timeout.c Modified: head/sys/kern/kern_timeout.c ==

svn commit: r247814 - in head: . sys/amd64/conf sys/cam/ctl sys/conf sys/i386/conf

2013-03-04 Thread Kenneth D. Merry
2013(r247814) @@ -26,6 +26,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130304: + The ctl device has been re-enabled in GENERIC for i386 and am

svn commit: r247815 - head/sys/dev/sound/pci/hda

2013-03-04 Thread Alexander Motin
Author: mav Date: Mon Mar 4 21:20:13 2013 New Revision: 247815 URL: http://svnweb.freebsd.org/changeset/base/247815 Log: Add quirk to enable headphones redirection on Lenovo X220. PR: kern/174876 MFC after:1 week Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c head

svn commit: r247818 - head/sys/kern

2013-03-04 Thread Davide Italiano
Author: davide Date: Mon Mar 4 21:52:12 2013 New Revision: 247818 URL: http://svnweb.freebsd.org/changeset/base/247818 Log: Complete r247813: Use true/false instead of TRUE/FALSE. Reported by: attilio Requested by: jhb Modified: head/sys/kern/kern_timeout.c Modified: head/sys/kern

svn commit: r247819 - stable/8/sbin/devd

2013-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 4 22:04:14 2013 New Revision: 247819 URL: http://svnweb.freebsd.org/changeset/base/247819 Log: MFC r209583 ... Expand system into my_system, and add the necessary tidyness that we need. Close the pidfile. Then close all descriptors >= 3 to avoid information

svn commit: r247820 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2013-03-04 Thread Justin T. Gibbs
Author: gibbs Date: Mon Mar 4 22:07:36 2013 New Revision: 247820 URL: http://svnweb.freebsd.org/changeset/base/247820 Log: Fix assertion failure when using userland DTrace probes from the pid provider on a kernel compiled with INVARIANTS. sys/cddl/contrib/opensolaris/uts/intel/dtrace/fas

Re: svn commit: r247814 - in head: . sys/amd64/conf sys/cam/ctl sys/conf sys/i386/conf

2013-03-04 Thread Alfred Perlstein
sive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130304: + The ctl device has been re-enabled in GENERIC for i386 and amd64, + but does not initialize by default (because of the new CTL_DISABLE + option) to s

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

2013-03-04 Thread Davide Italiano
"ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20130304: + Recent commits to callout(9) changed the size of struct callout, + so the KBI is probably heavily disturbed. Also, some functions + in callout(9)/sleep(9)/sleepqueue(9)/condvar(9) KPIs were

svn commit: r247822 - head/sys/dev/ixgbe

2013-03-04 Thread Jack F Vogel
Author: jfv Date: Mon Mar 4 23:07:40 2013 New Revision: 247822 URL: http://svnweb.freebsd.org/changeset/base/247822 Log: First, sync to internal shared code, and then Fixes: - flow control - don't override user value on re-init - fix to make 1G optics work correctly

svn commit: r247823 - head/sys/dev/ixgbe

2013-03-04 Thread Jack F Vogel
Author: jfv Date: Mon Mar 4 23:15:07 2013 New Revision: 247823 URL: http://svnweb.freebsd.org/changeset/base/247823 Log: Fix a small, but important bug, a task drain was mistakenly being compiled only when setting LEGACY_TX, this means you would not get the drain when needed on detach!!

svn commit: r247824 - stable/8/sbin/devd

2013-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 4 23:15:25 2013 New Revision: 247824 URL: http://svnweb.freebsd.org/changeset/base/247824 Log: MFC ... r210609 - remove unused string r210610 - avoid copy ctors by using prefix operators r213646 - allow spacey things (liberal whitespace parsing) r236388

svn commit: r247825 - stable/8/sbin/devd

2013-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 4 23:22:37 2013 New Revision: 247825 URL: http://svnweb.freebsd.org/changeset/base/247825 Log: MFC r246134 ... Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid makin

svn commit: r247827 - in stable: 8/share/man/man4 8/sys/dev/arcmsr 9/share/man/man4 9/sys/dev/arcmsr

2013-03-04 Thread Xin LI
Author: delphij Date: Tue Mar 5 06:41:39 2013 New Revision: 247827 URL: http://svnweb.freebsd.org/changeset/base/247827 Log: MFC r247443: Refresh vendor driver version which adds ARC-1224 support. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 Modifie

svn commit: r247827 - in stable: 8/share/man/man4 8/sys/dev/arcmsr 9/share/man/man4 9/sys/dev/arcmsr

2013-03-04 Thread Xin LI
Author: delphij Date: Tue Mar 5 06:41:39 2013 New Revision: 247827 URL: http://svnweb.freebsd.org/changeset/base/247827 Log: MFC r247443: Refresh vendor driver version which adds ARC-1224 support. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 Modifie

svn commit: r247828 - in stable: 8/sys/dev/mfi 9/sys/dev/mfi

2013-03-04 Thread Xin LI
Author: delphij Date: Tue Mar 5 06:43:54 2013 New Revision: 247828 URL: http://svnweb.freebsd.org/changeset/base/247828 Log: MFC r247594: Fix a typo in mfi_stp_cmd() that would give wrong assignment. Submitted by: Sascha Wildner Obtained from:DragonFly rev 0dc98fff2206d7bb7

svn commit: r247828 - in stable: 8/sys/dev/mfi 9/sys/dev/mfi

2013-03-04 Thread Xin LI
Author: delphij Date: Tue Mar 5 06:43:54 2013 New Revision: 247828 URL: http://svnweb.freebsd.org/changeset/base/247828 Log: MFC r247594: Fix a typo in mfi_stp_cmd() that would give wrong assignment. Submitted by: Sascha Wildner Obtained from:DragonFly rev 0dc98fff2206d7bb7

svn commit: r247829 - head/sys/dev/virtio/block

2013-03-04 Thread Bryan Venteicher
Author: bryanv Date: Tue Mar 5 07:00:05 2013 New Revision: 247829 URL: http://svnweb.freebsd.org/changeset/base/247829 Log: Only set the barrier flag if the feature was negotiated When the VirtIO barrier feature is not negotiated, the driver must enforce the proper ordering for BIO_ORDER

Re: svn commit: r247792 - head/sys/dev/syscons

2013-03-04 Thread Luigi Rizzo
On Mon, Mar 04, 2013 at 04:55:49PM +0200, Alexander Motin wrote: > On 04.03.2013 16:42, Luigi Rizzo wrote: > > On Mon, Mar 04, 2013 at 02:00:59PM +, Davide Italiano wrote: ... > >> - Reduce syscons "refresh" rate to 1-2Hz when console is in graphics mode > >> and there is nothing to do exce