svn commit: r209193 - head/sys/dev/sound/pcm

2010-06-15 Thread Andriy Gapon
Author: avg Date: Tue Jun 15 07:06:54 2010 New Revision: 209193 URL: http://svn.freebsd.org/changeset/base/209193 Log: sound/pcm: use non-const string as a value with SYSCTL_STRING Although the sysctls are marked with CTLFLAG_RD and the values will stay immutable, current sysctl

Re: svn commit: r209193 - head/sys/dev/sound/pcm

2010-06-15 Thread Andriy Gapon
on 15/06/2010 11:03 Kostik Belousov said the following: On Tue, Jun 15, 2010 at 07:06:54AM +, Andriy Gapon wrote: Author: avg Date: Tue Jun 15 07:06:54 2010 New Revision: 209193 URL: http://svn.freebsd.org/changeset/base/209193 Log: sound/pcm: use non-const string as a value with

Re: svn commit: r209110 - in head/lib/msun: . src

2010-06-15 Thread Kostik Belousov
On Sat, Jun 12, 2010 at 05:32:05PM +, David Schultz wrote: Author: das Date: Sat Jun 12 17:32:05 2010 New Revision: 209110 URL: http://svn.freebsd.org/changeset/base/209110 Log: Introduce __isnanf() as an alias for isnanf(), and make the isnan() macro expand to __isnanf() instead

svn commit: r209194 - head/sys/netgraph

2010-06-15 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 15 08:53:13 2010 New Revision: 209194 URL: http://svn.freebsd.org/changeset/base/209194 Log: * Include sys/systm.h for KASSERT() * Remove unneeded includes and comment * Replace home made OFFSETOF() macro with standard offsetof() Pointed out by: bde

svn commit: r209195 - in head: etc/periodic/daily share/man/man5

2010-06-15 Thread Alexander Leidinger
Author: netchild Date: Tue Jun 15 08:58:16 2010 New Revision: 209195 URL: http://svn.freebsd.org/changeset/base/209195 Log: Add a periodic zfs scrub script. Features: - configurable amount of days between scrubs (default value or per pool) - do not scrub directly after pool creation

svn commit: r209196 - head/sys/sys

2010-06-15 Thread Fabien Thomas
Author: fabient Date: Tue Jun 15 09:12:31 2010 New Revision: 209196 URL: http://svn.freebsd.org/changeset/base/209196 Log: Set the comment at the right place for PMC uncore classes. Submitted by: rstone MFC after: 1 month Modified: head/sys/sys/pmc.h Modified: head/sys/sys/pmc.h

svn commit: r209197 - head/sys/sys

2010-06-15 Thread Konstantin Belousov
Author: kib Date: Tue Jun 15 09:18:27 2010 New Revision: 209197 URL: http://svn.freebsd.org/changeset/base/209197 Log: Add assert to check that the (current) thread is in critical section. MFC after:1 month Modified: head/sys/sys/proc.h Modified: head/sys/sys/proc.h

svn commit: r209198 - head/sys/amd64/amd64

2010-06-15 Thread Konstantin Belousov
Author: kib Date: Tue Jun 15 09:19:33 2010 New Revision: 209198 URL: http://svn.freebsd.org/changeset/base/209198 Log: Use critical sections instead of disabling local interrupts to ensure the consistency between PCPU fpcurthread and the state of the FPU. Explicitely assert that the

svn commit: r209199 - head/share/examples/kld/syscall/test

2010-06-15 Thread Konstantin Belousov
Author: kib Date: Tue Jun 15 09:30:36 2010 New Revision: 209199 URL: http://svn.freebsd.org/changeset/base/209199 Log: Fix the syscall module name after r205320. Submitted by: Vladislav Movchan vladislav.movchan gmail com MFC after:1 week Modified:

svn commit: r209200 - head/gnu/lib/libdialog/TESTS

2010-06-15 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 15 10:01:49 2010 New Revision: 209200 URL: http://svn.freebsd.org/changeset/base/209200 Log: Make all tests in libdialog compilable. Fix coredump in menu3.c. Approved by: kib (mentor) Modified: head/gnu/lib/libdialog/TESTS/check3.c

svn commit: r209201 - head/contrib/tzcode/zic

2010-06-15 Thread Edwin Groothuis
Author: edwin Date: Tue Jun 15 11:37:33 2010 New Revision: 209201 URL: http://svn.freebsd.org/changeset/base/209201 Log: Make mandoc/mdocml happy. Submitted by: Uli(?) via gmane.comp.time.tz Modified: head/contrib/tzcode/zic/zic.8 Modified: head/contrib/tzcode/zic/zic.8

Re: svn commit: r209110 - in head/lib/msun: . src

2010-06-15 Thread David Schultz
On Tue, Jun 15, 2010, Kostik Belousov wrote: On Sat, Jun 12, 2010 at 05:32:05PM +, David Schultz wrote: Author: das Date: Sat Jun 12 17:32:05 2010 New Revision: 209110 URL: http://svn.freebsd.org/changeset/base/209110 Log: Introduce __isnanf() as an alias for isnanf(), and

Re: svn commit: r209193 - head/sys/dev/sound/pcm

2010-06-15 Thread Bruce Evans
On Tue, 15 Jun 2010, Andriy Gapon wrote: on 15/06/2010 11:03 Kostik Belousov said the following: On Tue, Jun 15, 2010 at 07:06:54AM +, Andriy Gapon wrote: Log: sound/pcm: use non-const string as a value with SYSCTL_STRING Although the sysctls are marked with CTLFLAG_RD and the values

Re: svn commit: r209110 - in head/lib/msun: . src

2010-06-15 Thread Bruce Evans
On Tue, 15 Jun 2010, David Schultz wrote: Oops, to complicate matters further, I just noticed that we already have isnanf and __isnanf symbols in libc, so maybe the new symbol isn't needed. (isnan() and isnanf() are in libc because that's where they were historically.) The second version in

svn commit: r209204 - in head/sys: amd64/amd64 sys

2010-06-15 Thread Konstantin Belousov
Author: kib Date: Tue Jun 15 14:59:35 2010 New Revision: 209204 URL: http://svn.freebsd.org/changeset/base/209204 Log: Rename CRITSECT_ASSERT to CRITICAL_ASSERT. Suggested by: jhb MFC after:1 month Modified: head/sys/amd64/amd64/fpu.c head/sys/sys/proc.h Modified:

svn commit: r209205 - in head/lib/clang: . libllvmanalysis libllvmbitreader libllvmbitwriter libllvmcodegen libllvmcore libllvmipo libllvmmc libllvmscalaropts libllvmsupport libllvmsystem libllvmta...

2010-06-15 Thread Ed Schouten
-freebsd9.0\ \ -DCLANG_VENDOR=\FreeBSD\ \ -DSVN_REVISION=\104832\ \ - -DCLANG_VENDOR_SUFFIX=\\ 20100614\ + -DCLANG_VENDOR_SUFFIX=\\ 20100615\ .PATH: ${LLVM_SRCS}/${SRCDIR} Modified: head/lib/clang/libllvmanalysis/Makefile

svn commit: r209206 - head/lib/clang/libllvmsupport

2010-06-15 Thread Ed Schouten
Author: ed Date: Tue Jun 15 17:28:16 2010 New Revision: 209206 URL: http://svn.freebsd.org/changeset/base/209206 Log: Remove even two more unneeded files from libllvmsupport. Modified: head/lib/clang/libllvmsupport/Makefile Modified: head/lib/clang/libllvmsupport/Makefile

svn commit: r209207 - head/tools/tools/nanobsd

2010-06-15 Thread Warner Losh
Author: imp Date: Tue Jun 15 18:11:37 2010 New Revision: 209207 URL: http://svn.freebsd.org/changeset/base/209207 Log: make these convenience functions more convenient by accepting all args, not just the first. makes mechanical conversion of old style more forgiving. MFC after:3

svn commit: r209208 - in head/sys/amd64: amd64 ia32

2010-06-15 Thread Konstantin Belousov
Author: kib Date: Tue Jun 15 18:16:04 2010 New Revision: 209208 URL: http://svn.freebsd.org/changeset/base/209208 Log: Remove two obsoleted comments, add a note about 32bit compatibility. MFC after:1 month Modified: head/sys/amd64/amd64/machdep.c head/sys/amd64/ia32/ia32_signal.c

svn commit: r209209 - head/tools/tools/nanobsd

2010-06-15 Thread Warner Losh
Author: imp Date: Tue Jun 15 18:16:45 2010 New Revision: 209209 URL: http://svn.freebsd.org/changeset/base/209209 Log: Create a make.conf. not needed for runtime, but some ports want to spam it at compile or install time. MFC after:3 days Modified:

svn commit: r209210 - head/tools/tools/nanobsd

2010-06-15 Thread Warner Losh
Author: imp Date: Tue Jun 15 18:18:31 2010 New Revision: 209210 URL: http://svn.freebsd.org/changeset/base/209210 Log: Allow population of /cfg and /data. Begin the move to making all slice creation overrideable too, but there's a few problems doing that for the duplicated partitions (s1

svn commit: r209211 - head/sys/dev/md

2010-06-15 Thread Alan Cox
Author: alc Date: Tue Jun 15 18:37:31 2010 New Revision: 209211 URL: http://svn.freebsd.org/changeset/base/209211 Log: Eliminate unnecessary page queues locking. Modified: head/sys/dev/md/md.c Modified: head/sys/dev/md/md.c

svn commit: r209212 - in head/sys: amd64/acpica amd64/amd64 amd64/include i386/acpica i386/include x86/x86

2010-06-15 Thread John Baldwin
Author: jhb Date: Tue Jun 15 18:51:41 2010 New Revision: 209212 URL: http://svn.freebsd.org/changeset/base/209212 Log: Restore the machine check register banks on resume. For banks being monitored via CMCI, reset the interrupt threshold to 1 on resume. Reviewed by: jkim MFC after:

svn commit: r209213 - head/sys/dev/acpica

2010-06-15 Thread John Baldwin
Author: jhb Date: Tue Jun 15 19:14:39 2010 New Revision: 209213 URL: http://svn.freebsd.org/changeset/base/209213 Log: When updating individual CPU's lowest Cx state to use, never set it to a state lower than the lowest one supported by the current CPU. This closes some races with changes

svn commit: r209214 - head/usr.sbin/moused

2010-06-15 Thread Alexander Motin
Author: mav Date: Tue Jun 15 19:19:04 2010 New Revision: 209214 URL: http://svn.freebsd.org/changeset/base/209214 Log: When Emulate3Button is active, do not set select() timeout in states when it is not needed. No need to kick CPU every 20ms without a purpose. Reviewed by: philip@

svn commit: r209215 - in head: lib/libmemstat sys/vm usr.bin/vmstat

2010-06-15 Thread Sean Bruno
Author: sbruno Date: Tue Jun 15 19:28:37 2010 New Revision: 209215 URL: http://svn.freebsd.org/changeset/base/209215 Log: Add a new column to the output of vmstat -z to indicate the number of times the system was forced to sleep when requesting a new allocation. Expand the debugger hook,

svn commit: r209216 - in head: share/man/man4 sys/kern sys/net sys/sys

2010-06-15 Thread Jung-uk Kim
Author: jkim Date: Tue Jun 15 19:28:44 2010 New Revision: 209216 URL: http://svn.freebsd.org/changeset/base/209216 Log: Implement flexible BPF timestamping framework. - Allow setting format, resolution and accuracy of BPF time stamps per listener. Previously, we were only able to use

Re: svn commit: r209130 - in head/sys: arm/include dev/fdt

2010-06-15 Thread Rafal Jaworowski
On 2010-06-14, at 00:43, Andrew Turner wrote: On Sun, 13 Jun 2010 13:12:52 + (UTC) Rafal Jaworowski r...@freebsd.org wrote: Author: raj Date: Sun Jun 13 13:12:52 2010 New Revision: 209130 URL: http://svn.freebsd.org/changeset/base/209130 Log: Initial FDT infrastructure elements

Re: svn commit: r209068 - head/sys/dev/e1000

2010-06-15 Thread John Baldwin
On Friday 11 June 2010 4:54:27 pm Jack F Vogel wrote: Author: jfv Date: Fri Jun 11 20:54:27 2010 New Revision: 209068 URL: http://svn.freebsd.org/changeset/base/209068 Log: Add a couple fixes from Michael Tuexen. Remove unneeded rxtx handler, make que handler generic. Do not

Re: svn commit: r209068 - head/sys/dev/e1000

2010-06-15 Thread Jack Vogel
Ahhh, thanks for report John, will fix that asap. Jack On Tue, Jun 15, 2010 at 12:49 PM, John Baldwin j...@freebsd.org wrote: On Friday 11 June 2010 4:54:27 pm Jack F Vogel wrote: Author: jfv Date: Fri Jun 11 20:54:27 2010 New Revision: 209068 URL:

Re: svn commit: r209068 - head/sys/dev/e1000

2010-06-15 Thread John Baldwin
On Tuesday 15 June 2010 4:18:49 pm Jack Vogel wrote: Ahhh, thanks for report John, will fix that asap. I actually just tested a patch to make it use que-tq and que-task always instead of the rxtx_task. I have some other patches to cleanup some of the taskq stuff as well, I'll send it along

svn commit: r209217 - head/lib/libedit

2010-06-15 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 15 21:00:53 2010 New Revision: 209217 URL: http://svn.freebsd.org/changeset/base/209217 Log: libedit: Fix a bug that could make completion listings incomplete. The element matches[0] is the common prefix and is not counted in len, so subtracting 1 is not

svn commit: r209218 - head/sys/dev/e1000

2010-06-15 Thread Jack F Vogel
Author: jfv Date: Tue Jun 15 21:11:51 2010 New Revision: 209218 URL: http://svn.freebsd.org/changeset/base/209218 Log: Change to have legacy interrupts use the same handler had a flaw, thanks to John Baldwin for finding it. Change which queue legacy tasks are enqueued on. MFC:

Re: svn commit: r209218 - head/sys/dev/e1000

2010-06-15 Thread John Baldwin
On Tuesday 15 June 2010 5:11:51 pm Jack F Vogel wrote: Author: jfv Date: Tue Jun 15 21:11:51 2010 New Revision: 209218 URL: http://svn.freebsd.org/changeset/base/209218 Log: Change to have legacy interrupts use the same handler had a flaw, thanks to John Baldwin for finding it.

svn commit: r209219 - in head: include lib/libedit

2010-06-15 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 15 21:34:57 2010 New Revision: 209219 URL: http://svn.freebsd.org/changeset/base/209219 Log: libedit: Allow simple quoting in filename completion. The completer recognizes characters escaped with backslashes as being literal parts of a word, and adds

svn commit: r209221 - head/bin/sh

2010-06-15 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 15 21:58:40 2010 New Revision: 209221 URL: http://svn.freebsd.org/changeset/base/209221 Log: sh: Add filename completion. This uses the new libedit completion function with quoting support. Unlike NetBSD, there is no 'set +o tabcomplete' option to disable

svn commit: r209222 - head/sys/powerpc/ofw

2010-06-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jun 15 22:01:38 2010 New Revision: 209222 URL: http://svn.freebsd.org/changeset/base/209222 Log: Modify the console mouse pointer drawing routine to use single-byte writes instead of 4-byte ones. Because the mouse pointer can start part way through a character

Re: svn commit: r209221 - head/bin/sh

2010-06-15 Thread Colin Percival
Jilles Tjoelker wrote: Unlike NetBSD, there is no 'set +o tabcomplete' option to disable completion. I do not see any reason for such a special treatment, as completion is rather useful and it is possible to do bind ^I ed-insert to disable completion and insert a tab character

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

2010-06-15 Thread Olivier Houchard
Author: cognet Date: Tue Jun 15 22:16:02 2010 New Revision: 209223 URL: http://svn.freebsd.org/changeset/base/209223 Log: Turn off cache if there's more than one kernel mapping, and one is writable. Submitted by: Mark Tinguely Modified: head/sys/arm/arm/pmap.c Modified:

svn commit: r209224 - head/lib/libedit

2010-06-15 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 15 22:23:21 2010 New Revision: 209224 URL: http://svn.freebsd.org/changeset/base/209224 Log: libedit: Reduce surprising behaviour with filename completion some more: * Quote '*', '?' and '['. While it may be more useful to expand them to matching pathnames,

Re: svn commit: r209221 - head/bin/sh

2010-06-15 Thread Jilles Tjoelker
On Tue, Jun 15, 2010 at 03:10:11PM -0700, Colin Percival wrote: Jilles Tjoelker wrote: Unlike NetBSD, there is no 'set +o tabcomplete' option to disable completion. I do not see any reason for such a special treatment, as completion is rather useful and it is possible to do bind

svn commit: r209225 - head/tools/tools/nanobsd

2010-06-15 Thread Warner Losh
Author: imp Date: Tue Jun 15 23:55:42 2010 New Revision: 209225 URL: http://svn.freebsd.org/changeset/base/209225 Log: Allow boot.config to have different values than just -h. Submitted by: bsdrp by way of freenas and olivier cochard-labbe MFC after:3 days Modified:

svn commit: r209226 - head/sys/fs/tmpfs

2010-06-15 Thread Alan Cox
Author: alc Date: Wed Jun 16 00:41:21 2010 New Revision: 209226 URL: http://svn.freebsd.org/changeset/base/209226 Log: Eliminate unnecessary page queues locking. Modified: head/sys/fs/tmpfs/tmpfs_vnops.c Modified: head/sys/fs/tmpfs/tmpfs_vnops.c

Re: svn commit: r209221 - head/bin/sh

2010-06-15 Thread Dag-Erling Smørgrav
Jilles Tjoelker jil...@freebsd.org writes: Log: sh: Add filename completion. Wonderful! Now I'll never have to use csh again :) DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all@freebsd.org mailing list