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

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

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

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:

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

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

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.

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

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:

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

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_flags()

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): - Switch syscons

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 david at catwhisker dot org Pointy-hat to:davide

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

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,

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

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

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

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:

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
(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 amd64, + but does

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

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:

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.

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

2013-03-04 Thread Alfred Perlstein
-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 save memory. To re-enable it, remove the CTL_DISABLE + option

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 replaced

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

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 except some