svn commit: r229018 - stable/8/libexec/rtld-elf

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:01:26 2011 New Revision: 229018 URL: http://svn.freebsd.org/changeset/base/229018 Log: MFC r228375: Typo. Modified: stable/8/libexec/rtld-elf/rtld.h Directory Properties: stable/8/libexec/rtld-elf/ (props changed) Modified: stable/8/libexec/rtld-elf/rtld

svn commit: r229019 - stable/9/sys/ddb

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:06:43 2011 New Revision: 229019 URL: http://svn.freebsd.org/changeset/base/229019 Log: MFC r228376: Typo. Modified: stable/9/sys/ddb/db_thread.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/ddb/db_thread.c ==

svn commit: r229020 - stable/8/sys/ddb

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:12:50 2011 New Revision: 229020 URL: http://svn.freebsd.org/changeset/base/229020 Log: MFC r228376: Typo. Modified: stable/8/sys/ddb/db_thread.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/ddb/db_thread.c ==

svn commit: r229021 - stable/9/sys/fs/procfs

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:21:53 2011 New Revision: 229021 URL: http://svn.freebsd.org/changeset/base/229021 Log: MFC r227393: Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. Modified: sta

svn commit: r229022 - stable/8/sys/fs/procfs

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:24:52 2011 New Revision: 229022 URL: http://svn.freebsd.org/changeset/base/229022 Log: MFC r227393: Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. Modified: sta

svn commit: r229023 - in stable/9/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:35:13 2011 New Revision: 229023 URL: http://svn.freebsd.org/changeset/base/229023 Log: MFC r227399: Attempt to improve formatting and content of several comments for amd64 and i386 MD code. Modified: stable/9/sys/amd64/amd64/trap.c stable/9/sys/amd64/incl

svn commit: r229025 - stable/9/sys/kern

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:45:40 2011 New Revision: 229025 URL: http://svn.freebsd.org/changeset/base/229025 Log: MFC r227443: Guard against the unlikely case of the alias path containing the '%' symbols. Modified: stable/9/sys/kern/kern_conf.c Directory Properties: stable/9/sys/ (

svn commit: r229026 - stable/9/sys/kern

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:52:56 2011 New Revision: 229026 URL: http://svn.freebsd.org/changeset/base/229026 Log: MFC r227444: Style. Modified: stable/9/sys/kern/kern_conf.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/kern/kern_conf.c ===

svn commit: r229027 - stable/9/lib/libc/sys

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:55:38 2011 New Revision: 229027 URL: http://svn.freebsd.org/changeset/base/229027 Log: MFC r227622: Fix typo. Modified: stable/9/lib/libc/sys/stat.2 Directory Properties: stable/9/lib/libc/ (props changed) Modified: stable/9/lib/libc/sys/stat.2 =

svn commit: r229028 - stable/8/lib/libc/sys

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:57:36 2011 New Revision: 229028 URL: http://svn.freebsd.org/changeset/base/229028 Log: MFC r227622: Fix typo. Modified: stable/8/lib/libc/sys/stat.2 Directory Properties: stable/8/lib/libc/ (props changed) Modified: stable/8/lib/libc/sys/stat.2 =

svn commit: r229030 - stable/9/sys/conf

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 21:01:14 2011 New Revision: 229030 URL: http://svn.freebsd.org/changeset/base/229030 Log: MFC r227816: Remove the wrong comment about ufs not being loadable. Note that only root filesystem module needs to be available before root is mounted. Modified: stable

svn commit: r229031 - stable/8/sys/conf

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 21:02:32 2011 New Revision: 229031 URL: http://svn.freebsd.org/changeset/base/229031 Log: MFC r227816: Remove the wrong comment about ufs not being loadable. Note that only root filesystem module needs to be available before root is mounted. Modified: stable

svn commit: r229104 - head/sys/i386/include

2011-12-31 Thread Konstantin Belousov
Author: kib Date: Sat Dec 31 14:44:42 2011 New Revision: 229104 URL: http://svn.freebsd.org/changeset/base/229104 Log: Make the comment in i386/include/ucontext.h identical to the one in amd64/include/ucontext.h. The later is better worded. Requested by: deischen MFC after:3 days M

svn commit: r229185 - head/sys/kern

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 18:45:59 2012 New Revision: 229185 URL: http://svn.freebsd.org/changeset/base/229185 Log: Avoid double-unlock or double unreference for ndp->ni_dvp when the vnode dp lock upgrade right after the 'success' label fails. In collaboration with:pho MFC af

svn commit: r229186 - in stable/9/sys: amd64/amd64 i386/i386

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 18:54:29 2012 New Revision: 229186 URL: http://svn.freebsd.org/changeset/base/229186 Log: MFC r227394: Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. MFC r227442: Weaken the part of assertion

svn commit: r229187 - in stable/8/sys: amd64/amd64 i386/i386

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 18:59:35 2012 New Revision: 229187 URL: http://svn.freebsd.org/changeset/base/229187 Log: MFC r227394: Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. MFC r227442: Weaken the part of assertion

svn commit: r229189 - stable/9/sys/vm

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 19:08:56 2012 New Revision: 229189 URL: http://svn.freebsd.org/changeset/base/229189 Log: MFC r227529: Remove the condition that is always true. Modified: stable/9/sys/vm/vm_pager.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/

svn commit: r229191 - stable/8/sys/vm

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 19:12:07 2012 New Revision: 229191 URL: http://svn.freebsd.org/changeset/base/229191 Log: MFC r227529: Remove the condition that is always true. Modified: stable/8/sys/vm/vm_pager.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/

svn commit: r229227 - stable/9/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:07:13 2012 New Revision: 229227 URL: http://svn.freebsd.org/changeset/base/229227 Log: MFC r227695: Use the plain panic calls, without additional printing around them. Modified: stable/9/sys/fs/nullfs/null_subr.c Directory Properties: stable/9/sys/ (props

svn commit: r229229 - stable/8/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:09:57 2012 New Revision: 229229 URL: http://svn.freebsd.org/changeset/base/229229 Log: MFC r227695: Use the plain panic calls, without additional printing around them. Modified: stable/8/sys/fs/nullfs/null_subr.c Directory Properties: stable/8/sys/ (props

svn commit: r229230 - stable/9/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:12:43 2012 New Revision: 229230 URL: http://svn.freebsd.org/changeset/base/229230 Log: MFC r227696: Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled in, and show vnode is used from ddb on the faulty nullfs vnode, we get panic inste

svn commit: r229231 - stable/8/sys/fs/nullfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:12:56 2012 New Revision: 229231 URL: http://svn.freebsd.org/changeset/base/229231 Log: MFC r227696: Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled in, and show vnode is used from ddb on the faulty nullfs vnode, we get panic inste

svn commit: r229232 - stable/9/sys/fs/msdosfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:17:08 2012 New Revision: 229232 URL: http://svn.freebsd.org/changeset/base/229232 Log: MFC r227817: Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. Modified: stable/9/sys/fs/msdosfs/msdosfs_conv.c stable/9/sys/fs/msdosfs/msdosfs_denode.c

svn commit: r229233 - stable/8/sys/fs/msdosfs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:17:21 2012 New Revision: 229233 URL: http://svn.freebsd.org/changeset/base/229233 Log: MFC r227817: Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. Modified: stable/8/sys/fs/msdosfs/msdosfs_conv.c stable/8/sys/fs/msdosfs/msdosfs_denode.c

svn commit: r229238 - stable/9/sys/sys

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:34:06 2012 New Revision: 229238 URL: http://svn.freebsd.org/changeset/base/229238 Log: MFC r227656: Use the alternate form of the gcc extension that works even with -ansi -pedantic without issuing a warning, and which is recommended by gcc manual. Modified:

svn commit: r229240 - stable/9/tools/regression/pipe

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:36:13 2012 New Revision: 229240 URL: http://svn.freebsd.org/changeset/base/229240 Log: MFC r228177: Add a simple test for pipe inode numbers reported by fstat(2). Added: stable/9/tools/regression/pipe/pipe-ino.c - copied unchanged from r228177, head/tool

svn commit: r229245 - stable/9/sys/fs/fifofs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:46:08 2012 New Revision: 229245 URL: http://svn.freebsd.org/changeset/base/229245 Log: MFC r228263: Initialize fifoinfo fi_wgen field on open. Modified: stable/9/sys/fs/fifofs/fifo_vnops.c Directory Properties: stable/9/sys/ (props changed) Modified: sta

svn commit: r229246 - stable/8/sys/fs/fifofs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:46:34 2012 New Revision: 229246 URL: http://svn.freebsd.org/changeset/base/229246 Log: MFC r228263: Initialize fifoinfo fi_wgen field on open. Modified: stable/8/sys/fs/fifofs/fifo_vnops.c Directory Properties: stable/8/sys/ (props changed) Modified: sta

svn commit: r229248 - stable/9/sys/kern

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:51:18 2012 New Revision: 229248 URL: http://svn.freebsd.org/changeset/base/229248 Log: MFC r228306: Most users of pipe(2) do not call fstat(2) on the returned pipe descriptors. Optimize for the case, by lazily allocating the pipe inode number at the fstat(2)

svn commit: r229251 - in stable/9/sys: sys vm

2012-01-01 Thread Konstantin Belousov
) == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/9/sys/sys/_kstack_cache.hSun Jan 1 23:55:17 2012 (r229251, copy of r228567, head/sys/sys/_kstack_cache.h) @@ -0,0 +1,43 @@ +/*- + * Copyright (c) 2009 Konstantin Belousov

svn commit: r229252 - stable/9/sys/ddb

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:58:20 2012 New Revision: 229252 URL: http://svn.freebsd.org/changeset/base/229252 Log: Show the thread kernel stack base address for 'show threads'. Modified: stable/9/sys/ddb/db_thread.c Directory Properties: stable/9/sys/ (props changed) Modified: stable

svn commit: r229253 - stable/8/sys/ddb

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Sun Jan 1 23:58:42 2012 New Revision: 229253 URL: http://svn.freebsd.org/changeset/base/229253 Log: Show the thread kernel stack base address for 'show threads'. Modified: stable/8/sys/ddb/db_thread.c Directory Properties: stable/8/sys/ (props changed) Modified: stable

svn commit: r229254 - stable/9/sys/ddb

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:01:09 2012 New Revision: 229254 URL: http://svn.freebsd.org/changeset/base/229254 Log: MFC r228569: Add 'findstack' ddb command to search either the thread kernel stack or cached stack containing the specified kernel virtual address. Modified: stable/9/sys/

svn commit: r229255 - stable/9/share/man/man4

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:02:50 2012 New Revision: 229255 URL: http://svn.freebsd.org/changeset/base/229255 Log: MFC r228570: Document 'findstack'. Modified: stable/9/share/man/man4/ddb.4 Directory Properties: stable/9/share/man/man4/ (props changed) Modified: stable/9/share/man/

svn commit: r229256 - stable/9/sbin/fsck_ffs

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:04:51 2012 New Revision: 229256 URL: http://svn.freebsd.org/changeset/base/229256 Log: MFC r228751: Change the type of real_dev_bsize variable from long to u_int. The DIOCGSECTORSIZE takes u_int * as an argument, using long * causes failures on big-endian ta

svn commit: r229257 - stable/9/sys/sys

2012-01-01 Thread Konstantin Belousov
Author: kib Date: Mon Jan 2 00:46:13 2012 New Revision: 229257 URL: http://svn.freebsd.org/changeset/base/229257 Log: MFC r228434: Add definitions for GNU-specific STT_GNU_IFUNC symbol type, and R_{386,X86_64}_IRELATIVE relocations. Modified: stable/9/sys/sys/elf_common.h Directory Prope

svn commit: r229372 - stable/9/sys/i386/include

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 09:27:23 2012 New Revision: 229372 URL: http://svn.freebsd.org/changeset/base/229372 Log: MFC r229104: Make the comment in i386/include/ucontext.h identical to the one in amd64/include/ucontext.h. The later is better worded. Modified: stable/9/sys/i386/include

svn commit: r229373 - in stable/9/sys/arm: arm include

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 09:40:31 2012 New Revision: 229373 URL: http://svn.freebsd.org/changeset/base/229373 Log: MFC rr225973: Convert ARM to the syscallenter/syscallret system call sequence handlers. Modified: stable/9/sys/arm/arm/elf_machdep.c stable/9/sys/arm/arm/trap.c stable/

svn commit: r229374 - in stable/9/sys/mips: include mips

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 09:42:08 2012 New Revision: 229374 URL: http://svn.freebsd.org/changeset/base/229374 Log: MFC r226065: Convert MIPS to the syscallenter/syscallret system call sequence handlers. Modified: stable/9/sys/mips/include/proc.h stable/9/sys/mips/mips/elf64_machdep.c

svn commit: r229376 - in stable/9/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 09:43:26 2012 New Revision: 229376 URL: http://svn.freebsd.org/changeset/base/229376 Log: MFC r226112: Remove unused define. Modified: stable/9/sys/amd64/include/proc.h stable/9/sys/arm/include/proc.h stable/9/sys/i386/include/proc.h stable/9/sys/ia64/incl

svn commit: r229377 - stable/9/lib/libc/sys

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 09:46:51 2012 New Revision: 229377 URL: http://svn.freebsd.org/changeset/base/229377 Log: MFC r225974: Remove no longer valid statement about ARM. MFC r226066: Remove no longer needed BUGS section. Modified: stable/9/lib/libc/sys/ptrace.2 Directory Proper

svn commit: r229378 - stable/9/usr.bin/truss

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 09:51:34 2012 New Revision: 229378 URL: http://svn.freebsd.org/changeset/base/229378 Log: MFC r228261: Use explicit information from the kernel to detect the traps due to syscall entry and leave. Modified: stable/9/usr.bin/truss/setup.c Directory Properties:

svn commit: r229380 - in stable/9: secure/lib/libcrypto share/mk

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 10:02:44 2012 New Revision: 229380 URL: http://svn.freebsd.org/changeset/base/229380 Log: MFC r228307: Force linker error when created shared library contains a relocation against text. Provide the override switch to turn off the strict behaviour. Apparently, o

svn commit: r229382 - stable/9/sys/vm

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 10:30:27 2012 New Revision: 229382 URL: http://svn.freebsd.org/changeset/base/229382 Log: MFC r227102: Provide typedefs for the type of bit mask for the page bits. Use the defined types instead of int when manipulating masks. Supposedly, it could fix support fo

svn commit: r229383 - stable/9/sys/vm

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 10:36:38 2012 New Revision: 229383 URL: http://svn.freebsd.org/changeset/base/229383 Log: MFC r227530: Update the device pager interface. Sponsored by: The FreeBSD Foundation Modified: stable/9/sys/vm/device_pager.c stable/9/sys/vm/vm_object.h stable/9/

svn commit: r229428 - head/sys/fs/nullfs

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 21:03:20 2012 New Revision: 229428 URL: http://svn.freebsd.org/changeset/base/229428 Log: Document the state of the lowervp vnode for null_nodeget(). Tested by:pho MFC after:1 week Modified: head/sys/fs/nullfs/null_subr.c Modified: head/sys/fs/null

svn commit: r229431 - head/sys/fs/nullfs

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 21:09:07 2012 New Revision: 229431 URL: http://svn.freebsd.org/changeset/base/229431 Log: Do the vput() for the lowervp in the null_nodeget() for error case too. Several callers of null_nodeget() did the cleanup itself, but several missed it, most prominent being

svn commit: r229435 - head/sys/boot/i386/libi386

2012-01-03 Thread Konstantin Belousov
Author: kib Date: Tue Jan 3 22:36:12 2012 New Revision: 229435 URL: http://svn.freebsd.org/changeset/base/229435 Log: Add special loader environment variables 'comconsole_port' and 'comconsole_pcidev'. The former allows to set the base address of the serial console i/o port. The later takes

svn commit: r229495 - head/sys/vm

2012-01-04 Thread Konstantin Belousov
Author: kib Date: Wed Jan 4 16:04:20 2012 New Revision: 229495 URL: http://svn.freebsd.org/changeset/base/229495 Log: Do not restart the scan in vm_object_page_clean() on the object generation change if requested mode is async. The object generation is only changed when the object is marked

svn commit: r229503 - in stable/9/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2012-01-04 Thread Konstantin Belousov
Author: kib Date: Wed Jan 4 16:43:29 2012 New Revision: 229503 URL: http://svn.freebsd.org/changeset/base/229503 Log: MFC r228435: Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to rtld on 386 and amd64. MFC r228503: Postpone the resolution for irelative/ifunc r

svn commit: r229508 - head/libexec/rtld-elf

2012-01-04 Thread Konstantin Belousov
Author: kib Date: Wed Jan 4 17:17:11 2012 New Revision: 229508 URL: http://svn.freebsd.org/changeset/base/229508 Log: Postpone the resolution of IRELATIVE relocations and IFUNC-targeted relocations until tls is initialized and stacks permissions correctly set. This allows the ifunc to call

svn commit: r214727 - stable/8/sys/nfsserver

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 08:34:00 2010 New Revision: 214727 URL: http://svn.freebsd.org/changeset/base/214727 Log: MFC r214049: When readdirplus() is handled on the exported filesystem that does not support VFS_VGET, like msdosfs, do not call VOP_LOOKUP() for dotdot on the root directo

svn commit: r214728 - head/libexec/rtld-elf

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 09:23:08 2010 New Revision: 214728 URL: http://svn.freebsd.org/changeset/base/214728 Log: If dlopen() is called for the dso that has been already loaded as a dependency, then the dso never has its DAG initialized. Empty DAG makes ref_dag() call in dlopen() a nop,

svn commit: r214755 - in stable/8/sys: amd64/amd64 amd64/conf amd64/ia32 amd64/include amd64/linux32 arm/arm cddl/dev/systrace compat/ia32 compat/svr4 conf i386/conf i386/i386 i386/ibcs2 i386/inclu...

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 21:21:12 2010 New Revision: 214755 URL: http://svn.freebsd.org/changeset/base/214755 Log: MFC r208453: Reorganize syscall entry and leave handling. Implement ptrace_lwpinfo pl_flags PL_FLAG_SCE, PL_FLAG_SCX and PL_FLAG_EXEC. The i386, amd64, sparc64, sun4v

svn commit: r214756 - in stable/8/sys: kern sys

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 21:24:21 2010 New Revision: 214756 URL: http://svn.freebsd.org/changeset/base/214756 Log: MFC r209688: Extend ptrace(PT_LWPINFO) to report siginfo for the signal that caused debugee stop. Modified: stable/8/sys/kern/kern_sig.c stable/8/sys/kern/sys_process.c

svn commit: r214757 - stable/8/lib/libc/sys

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 21:31:03 2010 New Revision: 214757 URL: http://svn.freebsd.org/changeset/base/214757 Log: MFC r208513: Improve the documentation for PT_LWPINFO. Note that some features are not implemented on MIPS and ARM. Modified: stable/8/lib/libc/sys/ptrace.2 Directory Pro

svn commit: r214758 - stable/8/lib/libc/sys

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 21:32:31 2010 New Revision: 214758 URL: http://svn.freebsd.org/changeset/base/214758 Log: MFC r209873: Document pl_siginfo and PT_FLAG_SI for PT_LWPINFO. Modified: stable/8/lib/libc/sys/ptrace.2 Directory Properties: stable/8/lib/libc/ (props changed) stab

svn commit: r214759 - stable/8/lib/libthread_db

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 21:39:11 2010 New Revision: 214759 URL: http://svn.freebsd.org/changeset/base/214759 Log: MFC r209689: Extend the td_thrinfo_t to include siginfo for the signal that stopped the target. Modified: stable/8/lib/libthread_db/Symbol.map stable/8/lib/libthread_db

svn commit: r214760 - stable/8/gnu/usr.bin/gdb/libgdb

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 21:40:57 2010 New Revision: 214760 URL: http://svn.freebsd.org/changeset/base/214760 Log: MFC r209690: For "thread signal" command, print some information from siginfo when available. Modified: stable/8/gnu/usr.bin/gdb/libgdb/fbsd-threads.c Directory Propertie

svn commit: r214762 - stable/8/sys/sys

2010-11-03 Thread Konstantin Belousov
Author: kib Date: Wed Nov 3 21:51:05 2010 New Revision: 214762 URL: http://svn.freebsd.org/changeset/base/214762 Log: Bump __FreeBSD_version for struct sysentvec changes in r214755. Modified: stable/8/sys/sys/param.h Modified: stable/8/sys/sys/param.h ===

svn commit: r214776 - head/libexec/rtld-elf

2010-11-04 Thread Konstantin Belousov
Author: kib Date: Thu Nov 4 09:19:14 2010 New Revision: 214776 URL: http://svn.freebsd.org/changeset/base/214776 Log: Fix style. MFC after:6 days Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c ==

svn commit: r214777 - head/libexec/rtld-elf

2010-11-04 Thread Konstantin Belousov
Author: kib Date: Thu Nov 4 09:29:00 2010 New Revision: 214777 URL: http://svn.freebsd.org/changeset/base/214777 Log: In r214728, if dlopen() is called for the object that has been already loaded as a dependency and marked -z nodlopen, object' DAG is already initialized by load_needed_objec

svn commit: r214851 - head/sys/nfsserver

2010-11-05 Thread Konstantin Belousov
Author: kib Date: Fri Nov 5 21:13:16 2010 New Revision: 214851 URL: http://svn.freebsd.org/changeset/base/214851 Log: Fix a bug in r214049. The nvp == vp case shall be handled specially only for !usevget case. If VFS_VGET is working, the vnode shared lock is obtained recursively and vput()

svn commit: r214976 - stable/8/sys/nfsserver

2010-11-08 Thread Konstantin Belousov
Author: kib Date: Mon Nov 8 10:18:01 2010 New Revision: 214976 URL: http://svn.freebsd.org/changeset/base/214976 Log: MFC r214851: Fix a bug in r214049. The nvp == vp case shall be handled specially only for !usevget case. If VFS_VGET is working, the vnode shared lock is obtained recursiv

svn commit: r214977 - stable/8/sys/nfsclient

2010-11-08 Thread Konstantin Belousov
Author: kib Date: Mon Nov 8 10:23:39 2010 New Revision: 214977 URL: http://svn.freebsd.org/changeset/base/214977 Log: MFC r214026: Do not synchronously start the nfsiod threads at all. The r212506 fixed the issues with file descriptor locks, but the same problems are present for vnode loc

svn commit: r214986 - stable/7/sys/nfsclient

2010-11-08 Thread Konstantin Belousov
Author: kib Date: Mon Nov 8 15:22:20 2010 New Revision: 214986 URL: http://svn.freebsd.org/changeset/base/214986 Log: MFC r203072 (by rmacklem, to be reverted by MFC of r214026): Fix a race that can occur when nfs nfsiod threads are being created. MFC r212506: Do not fork nfsiod direct

svn commit: r215084 - stable/8/libexec/rtld-elf

2010-11-10 Thread Konstantin Belousov
Author: kib Date: Wed Nov 10 08:46:29 2010 New Revision: 215084 URL: http://svn.freebsd.org/changeset/base/215084 Log: MFC r214728: If dlopen() is called for the dso that has been already loaded as a dependency, then the dso never has its DAG initialized. Empty DAG makes ref_dag() call in

svn commit: r215112 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:26:59 2010 New Revision: 215112 URL: http://svn.freebsd.org/changeset/base/215112 Log: Fix typo. Function is called ffs_blkfree. Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c =

svn commit: r215113 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:35:42 2010 New Revision: 215113 URL: http://svn.freebsd.org/changeset/base/215113 Log: Add function lbn_offset to calculate offset of the indirect block of given level. Reviewed by: jeff Tested by:pho Modified: head/sys/ufs/ffs/ffs_inode.c head/

svn commit: r215114 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:38:57 2010 New Revision: 215114 URL: http://svn.freebsd.org/changeset/base/215114 Log: In journal_mount(), only set MNTK_SUJ flag after the jblocks are mapped. I believe there is a window otherwise where jblocks can be accessed without proper initialization.

svn commit: r215115 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:41:52 2010 New Revision: 215115 URL: http://svn.freebsd.org/changeset/base/215115 Log: Change #ifdef INVARIANTS panic into KASSERT, and print some useful information to diagnose the issue, in handle_complete_freeblocks(). Reviewed by: jeff Tested by:

svn commit: r215117 - head/sys/ufs/ffs

2010-11-11 Thread Konstantin Belousov
Author: kib Date: Thu Nov 11 11:54:01 2010 New Revision: 215117 URL: http://svn.freebsd.org/changeset/base/215117 Log: The softdep_setup_freeblocks() adds worklist items before deallocate_dependencies() is done. This opens a race between softdep thread and the thread that does the truncation

svn commit: r215238 - head/sys/net

2010-11-13 Thread Konstantin Belousov
Author: kib Date: Sat Nov 13 11:11:51 2010 New Revision: 215238 URL: http://svn.freebsd.org/changeset/base/215238 Log: Use 'z' modifier for size_t printing. Modified: head/sys/net/if_llatbl.c Modified: head/sys/net/if_llatbl.c =

svn commit: r215248 - head/sbin/kldstat

2010-11-13 Thread Konstantin Belousov
Author: kib Date: Sat Nov 13 16:49:07 2010 New Revision: 215248 URL: http://svn.freebsd.org/changeset/base/215248 Log: In printfile(), exit the process instead of only printing the warning. This fixes verbose mode when either -i specified non-existent kldfile id, or the file was unloaded bet

svn commit: r215307 - head/sys/vm

2010-11-14 Thread Konstantin Belousov
Author: kib Date: Sun Nov 14 17:53:52 2010 New Revision: 215307 URL: http://svn.freebsd.org/changeset/base/215307 Log: Implement a (soft) stack guard page for auto-growing stack mappings. The unmapped page separates the tip of the stack and possible adjanced segment, making some uses of stac

svn commit: r215309 - in head/sys: amd64/amd64 i386/i386 sys vm

2010-11-14 Thread Konstantin Belousov
Author: kib Date: Sun Nov 14 18:24:12 2010 New Revision: 215309 URL: http://svn.freebsd.org/changeset/base/215309 Log: Use symbolic names instead of hardcoding values for magic p_osrel constants. MFC after: 1 week Modified: head/sys/amd64/amd64/trap.c head/sys/i386/i386/trap.c head

svn commit: r215321 - in head/sys: amd64/amd64 i386/i386 sys vm

2010-11-14 Thread Konstantin Belousov
Author: kib Date: Sun Nov 14 21:59:11 2010 New Revision: 215321 URL: http://svn.freebsd.org/changeset/base/215321 Log: Do not use __FreeBSD_version prefix for the special osrel version. The ports/Mk/bsd.port.mk uses sys/param.h to fetch osrel, and cannot grok several constants with the prefi

svn commit: r215427 - head/sys/crypto/aesni

2010-11-17 Thread Konstantin Belousov
Author: kib Date: Wed Nov 17 16:17:15 2010 New Revision: 215427 URL: http://svn.freebsd.org/changeset/base/215427 Log: Only save FPU context when not executing in the context of the crypto thread. Tested by:Mike Tancsa Modified: head/sys/crypto/aesni/aesni_wrap.c Modified: head/sy

svn commit: r215469 - head/sys/vm

2010-11-18 Thread Konstantin Belousov
Author: kib Date: Thu Nov 18 20:46:28 2010 New Revision: 215469 URL: http://svn.freebsd.org/changeset/base/215469 Log: Only increment object generation count when inserting the page into object page list. The only use of object generation count now is a restart of the scan in vm_object_page

svn commit: r215471 - head/sys/vm

2010-11-18 Thread Konstantin Belousov
Author: kib Date: Thu Nov 18 21:09:02 2010 New Revision: 215471 URL: http://svn.freebsd.org/changeset/base/215471 Log: vm_pageout_flush() might cache the pages that finished write to the backing storage. Such pages might be then reused, racing with the assert in vm_object_page_collect_flush(

svn commit: r215513 - in stable/8/sys: amd64/acpica amd64/amd64 amd64/ia32 amd64/include crypto/via dev/fb dev/random i386/i386 i386/include i386/isa i386/linux kern opencrypto pc98/include pc98/pc...

2010-11-19 Thread Konstantin Belousov
Author: kib Date: Fri Nov 19 09:49:14 2010 New Revision: 215513 URL: http://svn.freebsd.org/changeset/base/215513 Log: Merge the kern_fpu_enter/kern_fpu_leave KPI and followup fixes for the amd64 suspend/resume support. Tested by:Mike Tancsa Also tested by: Dewayne Geraghty ,

svn commit: r215517 - stable/8/sys/vm

2010-11-19 Thread Konstantin Belousov
Author: kib Date: Fri Nov 19 10:14:07 2010 New Revision: 215517 URL: http://svn.freebsd.org/changeset/base/215517 Log: MFC r209686,r209702: Reimplement vm_object_page_clean(), using the fact that vm object memq is ordered by page index. Reviewed by: alc Modified: stable/8/sys/vm/vm_

svn commit: r215548 - in head/sys: fs/cd9660 fs/coda fs/ext2fs fs/hpfs fs/msdosfs fs/nfsclient fs/ntfs gnu/fs/reiserfs kern nfsclient sys ufs/ufs

2010-11-19 Thread Konstantin Belousov
Author: kib Date: Fri Nov 19 21:17:34 2010 New Revision: 215548 URL: http://svn.freebsd.org/changeset/base/215548 Log: Remove prtactive variable and related printf()s in the vop_inactive and vop_reclaim() methods. They seems to be unused, and the reported situation is normal for the forced u

svn commit: r215549 - svnadmin/conf

2010-11-19 Thread Konstantin Belousov
Author: kib Date: Fri Nov 19 21:49:04 2010 New Revision: 215549 URL: http://svn.freebsd.org/changeset/base/215549 Log: Change the delivery address for Stephan commit mail. Requested by: ups Approved by: core (implicit) Modified: svnadmin/conf/access Modified: svnadmin/conf/access ===

svn commit: r215555 - stable/8/sbin/kldstat

2010-11-20 Thread Konstantin Belousov
Author: kib Date: Sat Nov 20 11:14:06 2010 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: MFC r215248: In printfile(), exit the process instead of only printing the warning. Adjust style. Modified: stable/8/sbin/kldstat/kldstat.c Directory Properties: stable

svn commit: r215574 - head/sys/vm

2010-11-20 Thread Konstantin Belousov
Author: kib Date: Sat Nov 20 17:27:38 2010 New Revision: 215574 URL: http://svn.freebsd.org/changeset/base/215574 Log: The runlen returned from vm_pageout_flush() might be zero legitimately, when mreq page has status VM_PAGER_AGAIN. MFC after:5 days Modified: head/sys/vm/vm_object.

svn commit: r215608 - stable/8/sys/vm

2010-11-21 Thread Konstantin Belousov
Author: kib Date: Sun Nov 21 09:50:11 2010 New Revision: 215608 URL: http://svn.freebsd.org/changeset/base/215608 Log: MFC r215307: Implement a (soft) stack guard page for auto-growing stack mappings. Modified: stable/8/sys/vm/vm_map.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r215609 - in stable/8/sys: amd64/amd64 i386/i386 sys vm

2010-11-21 Thread Konstantin Belousov
Author: kib Date: Sun Nov 21 10:00:43 2010 New Revision: 215609 URL: http://svn.freebsd.org/changeset/base/215609 Log: MFC r215309: Use symbolic names instead of hardcoding values for magic p_osrel constants. MFC r215321: Do not use __FreeBSD_version prefix for the special osrel version

svn commit: r215610 - head/sys/vm

2010-11-21 Thread Konstantin Belousov
Author: kib Date: Sun Nov 21 10:18:28 2010 New Revision: 215610 URL: http://svn.freebsd.org/changeset/base/215610 Log: Eliminate the mab, maf arrays and related variables. The change also fixes off-by-one error in the calculation of mreq. Suggested and reviewed by:alc Tested by:

svn commit: r215633 - in stable/8/sys: conf crypto/aesni modules modules/aesni

2010-11-21 Thread Konstantin Belousov
= --- head/sys/crypto/aesni/aesni_wrap.c Fri Jul 23 11:00:46 2010 (r210409) +++ stable/8/sys/crypto/aesni/aesni_wrap.c Sun Nov 21 13:20:14 2010 (r215633) @@ -1,5 +1,6 @@ /*- * Copyright (c) 2010 Konstantin Belousov + * Copyright (c) 2010 Pawel Jakub Dawidek * A

svn commit: r215635 - stable/8/share/man/man4

2010-11-21 Thread Konstantin Belousov
Author: kib Date: Sun Nov 21 13:25:10 2010 New Revision: 215635 URL: http://svn.freebsd.org/changeset/base/215635 Log: MFC r212262: Add aesni(4) manpage. MFC r212268: Grammar fixes. MFC r212388 (by brueffer): Some more grammar, wording and mdoc fixes. MFC r212389 (by brueffe

svn commit: r215741 - head/sys/compat/ia32

2010-11-23 Thread Konstantin Belousov
Author: kib Date: Tue Nov 23 12:47:15 2010 New Revision: 215741 URL: http://svn.freebsd.org/changeset/base/215741 Log: Add include guards. MFC after:3 days Modified: head/sys/compat/ia32/ia32_signal.h head/sys/compat/ia32/ia32_util.h Modified: head/sys/compat/ia32/ia32_signal.h ==

svn commit: r215742 - head/sys/sys

2010-11-23 Thread Konstantin Belousov
Author: kib Date: Tue Nov 23 12:51:08 2010 New Revision: 215742 URL: http://svn.freebsd.org/changeset/base/215742 Log: Add PT_GNU_STACK definition. MFC after:3 days Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/elf_common.h ==

svn commit: r215796 - head/sys/vm

2010-11-24 Thread Konstantin Belousov
Author: kib Date: Wed Nov 24 12:25:17 2010 New Revision: 215796 URL: http://svn.freebsd.org/changeset/base/215796 Log: After the sleep caused by encountering a busy page, relookup the page. Submitted and reviewed by:alc Reprted and tested by:pho MFC after:5 days Modifie

svn commit: r215797 - head/sys/kern

2010-11-24 Thread Konstantin Belousov
Author: kib Date: Wed Nov 24 12:30:41 2010 New Revision: 215797 URL: http://svn.freebsd.org/changeset/base/215797 Log: Allow shared-locked vnode to be passed to vunref(9). When shared-locked vnode is supplied as an argument to vunref(9) and resulting usecount is 0, set VI_OWEINACT and do not

svn commit: r215798 - head/share/man/man9

2010-11-24 Thread Konstantin Belousov
Author: kib Date: Wed Nov 24 12:34:25 2010 New Revision: 215798 URL: http://svn.freebsd.org/changeset/base/215798 Log: Remove the note about possible unlocking during vunref(9). It might only happen if VOP_INACTIVATE() drops the vnode lock, which is quite unreasonable behaviour for filesyste

svn commit: r215838 - head/sys/kern

2010-11-25 Thread Konstantin Belousov
Author: kib Date: Thu Nov 25 20:05:11 2010 New Revision: 215838 URL: http://svn.freebsd.org/changeset/base/215838 Log: Account i/o done on cdevs. Reported and tested by: Adam Vande More MFC after:1 week Modified: head/sys/kern/kern_physio.c Modified: head/sys/kern/kern_phys

svn commit: r215858 - stable/8/sys/sys

2010-11-26 Thread Konstantin Belousov
Author: kib Date: Fri Nov 26 11:05:29 2010 New Revision: 215858 URL: http://svn.freebsd.org/changeset/base/215858 Log: MFC r215742: Add PT_GNU_STACK definition. Modified: stable/8/sys/sys/elf_common.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/

svn commit: r215859 - stable/8/sys/compat/ia32

2010-11-26 Thread Konstantin Belousov
Author: kib Date: Fri Nov 26 11:11:48 2010 New Revision: 215859 URL: http://svn.freebsd.org/changeset/base/215859 Log: MFC r215741: Add include guards. Modified: stable/8/sys/compat/ia32/ia32_signal.h stable/8/sys/compat/ia32/ia32_util.h Directory Properties: stable/8/sys/ (props chan

svn commit: r215860 - in stable/8/sys: fs/cd9660 fs/coda fs/hpfs fs/msdosfs fs/nfsclient fs/ntfs gnu/fs/ext2fs gnu/fs/reiserfs nfsclient ufs/ufs

2010-11-26 Thread Konstantin Belousov
Author: kib Date: Fri Nov 26 11:37:35 2010 New Revision: 215860 URL: http://svn.freebsd.org/changeset/base/215860 Log: Partial MFC r215548: Remove printf()s in the vop_inactive and vop_reclaim() methods related to prtactive variable. The prtactive variable definition and declaration are ke

<    1   2   3   4   5   6   7   8   9   10   >