svn commit: r278149 - stable/10/share/man/man9

2015-02-03 Thread Konstantin Belousov
b...@spc.org +and then rewritten by +.An Alan Cox Aq Mt a...@freebsd.org +and +.An Konstantin Belousov Aq Mt k...@freebsd.org . ___ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe

svn commit: r278310 - stable/10/sys/kern

2015-02-06 Thread Konstantin Belousov
Author: kib Date: Fri Feb 6 09:02:10 2015 New Revision: 278310 URL: https://svnweb.freebsd.org/changeset/base/278310 Log: MFC r278145: Fix use after free in pipe_dtor(). Modified: stable/10/sys/kern/sys_pipe.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r278948 - stable/10/sys/kern

2015-02-18 Thread Konstantin Belousov
Author: kib Date: Wed Feb 18 08:08:09 2015 New Revision: 278948 URL: https://svnweb.freebsd.org/changeset/base/278948 Log: MFC r278794: Return with the process locked. Modified: stable/10/sys/kern/kern_procctl.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r278990 - stable/10/lib/libthr

2015-02-19 Thread Konstantin Belousov
Author: kib Date: Thu Feb 19 09:30:42 2015 New Revision: 278990 URL: https://svnweb.freebsd.org/changeset/base/278990 Log: MFC r278627: Update libthr(3) man page to reflect the work done to support dlopen. Modified: stable/10/lib/libthr/libthr.3 Directory Properties: stable/10/ (props

svn commit: r278875 - in stable/10/lib: libc/gen libc/include libc/sys libthr/thread

2015-02-16 Thread Konstantin Belousov
Author: kib Date: Tue Feb 17 01:03:06 2015 New Revision: 278875 URL: https://svnweb.freebsd.org/changeset/base/278875 Log: MFC r278751: Properly interpose libc spinlocks, was missed in r276630. Modified: stable/10/lib/libc/gen/_spinlock_stub.c stable/10/lib/libc/include/libc_private.h

svn commit: r278573 - stable/10/sys/kern

2015-02-11 Thread Konstantin Belousov
Author: kib Date: Wed Feb 11 09:12:10 2015 New Revision: 278573 URL: https://svnweb.freebsd.org/changeset/base/278573 Log: MFC r278209: Add ddb command 'show clocksource'. Modified: stable/10/sys/kern/kern_clocksource.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r280343 - stable/10/sys/x86/iommu

2015-03-22 Thread Konstantin Belousov
Author: kib Date: Sun Mar 22 09:12:44 2015 New Revision: 280343 URL: https://svnweb.freebsd.org/changeset/base/280343 Log: MFC r280253: Fix syntax error. Modified: stable/10/sys/x86/iommu/intel_reg.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r280045 - stable/10/sys/vm

2015-03-15 Thread Konstantin Belousov
Author: kib Date: Sun Mar 15 18:40:06 2015 New Revision: 280045 URL: https://svnweb.freebsd.org/changeset/base/280045 Log: MFC r279764: Fix function name in the panic message. Modified: stable/10/sys/vm/vm_reserv.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r280046 - stable/10/sys/i386/isa

2015-03-15 Thread Konstantin Belousov
Author: kib Date: Sun Mar 15 18:42:19 2015 New Revision: 280046 URL: https://svnweb.freebsd.org/changeset/base/280046 Log: MFC r279936: Remove write-only variable. Modified: stable/10/sys/i386/isa/npx.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r280309 - stable/10/sys/kern

2015-03-20 Thread Konstantin Belousov
Author: kib Date: Sat Mar 21 01:39:44 2015 New Revision: 280309 URL: https://svnweb.freebsd.org/changeset/base/280309 Log: MFC r279390: Change umtx_lock to be the sleepable mutex. Modified: stable/10/sys/kern/kern_exit.c stable/10/sys/kern/kern_kthread.c stable/10/sys/kern/kern_thr.c

svn commit: r279974 - stable/10/sys/fs/fdescfs

2015-03-14 Thread Konstantin Belousov
Author: kib Date: Sat Mar 14 08:42:40 2015 New Revision: 279974 URL: https://svnweb.freebsd.org/changeset/base/279974 Log: MFC r279401: Some fixes for fdescfs lookup code Do not ever return doomed vnode from. lookup. Reuse the vn_vget_ino_gen() helper to handle parallel unmounts .

svn commit: r279926 - stable/10/sys/kern

2015-03-12 Thread Konstantin Belousov
Author: kib Date: Thu Mar 12 16:05:52 2015 New Revision: 279926 URL: https://svnweb.freebsd.org/changeset/base/279926 Log: MFC r272566: Convert -1 from sbuf_bcat() to ENOMEM. Modified: stable/10/sys/kern/kern_descrip.c stable/10/sys/kern/kern_proc.c Directory Properties: stable/10/

svn commit: r280876 - stable/10/sys/amd64/amd64

2015-03-30 Thread Konstantin Belousov
Author: kib Date: Tue Mar 31 01:05:34 2015 New Revision: 280876 URL: https://svnweb.freebsd.org/changeset/base/280876 Log: MFC r280781: Make it possible for the signal handler to act on #ss. Load the canonical user data segment' selector into %ss when calling the handler. Modified:

svn commit: r280875 - stable/10/sys/amd64/amd64

2015-03-30 Thread Konstantin Belousov
Author: kib Date: Tue Mar 31 00:59:30 2015 New Revision: 280875 URL: https://svnweb.freebsd.org/changeset/base/280875 Log: MFC r280780: The #ss fault handler erronously does not check for the fault originated from the return to usermode. #ss must be handled same as #np. Modified:

svn commit: r280369 - in stable/10/sys: dev/drm2 dev/drm2/i915 dev/drm2/radeon modules/drm2/i915kms

2015-03-23 Thread Konstantin Belousov
Author: kib Date: Mon Mar 23 13:38:33 2015 New Revision: 280369 URL: https://svnweb.freebsd.org/changeset/base/280369 Log: MFC r277487: An update for the i915 GPU driver, which brings the code up to Linux commit 4d93914ae3db4a897ead4b. MFC r277959 (by adrian): Fix backlight for

svn commit: r279518 - stable/10/lib/libc/gen

2015-03-02 Thread Konstantin Belousov
Author: kib Date: Mon Mar 2 09:15:50 2015 New Revision: 279518 URL: https://svnweb.freebsd.org/changeset/base/279518 Log: MFC r279367: Fix typo. Modified: stable/10/lib/libc/gen/_spinlock_stub.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r279631 - stable/10/lib/libstdthreads

2015-03-05 Thread Konstantin Belousov
Author: kib Date: Thu Mar 5 09:00:27 2015 New Revision: 279631 URL: https://svnweb.freebsd.org/changeset/base/279631 Log: MFC r279318: Check that the pointer to the thread return value is not NULL before dereferencing. NULL is allowed by C11 and must be handled. Modified:

svn commit: r279586 - stable/10/lib/libthr/thread

2015-03-04 Thread Konstantin Belousov
Author: kib Date: Wed Mar 4 09:32:59 2015 New Revision: 279586 URL: https://svnweb.freebsd.org/changeset/base/279586 Log: MFC r279284: Propagate errors from _thr_umutex_unlock2 through mutex_unlock_common. Modified: stable/10/lib/libthr/thread/thr_mutex.c Directory Properties:

svn commit: r279585 - stable/10/sys/kern

2015-03-04 Thread Konstantin Belousov
Author: kib Date: Wed Mar 4 09:31:10 2015 New Revision: 279585 URL: https://svnweb.freebsd.org/changeset/base/279585 Log: MFC r279283: When failing to claim ownership of a umtx_pi, restore the umutex owner to its previous, unowned state. Modified: stable/10/sys/kern/kern_umtx.c

svn commit: r279583 - stable/10/sys/kern

2015-03-04 Thread Konstantin Belousov
Author: kib Date: Wed Mar 4 09:29:25 2015 New Revision: 279583 URL: https://svnweb.freebsd.org/changeset/base/279583 Log: MFC r279282: When unlocking a contested PI pthread mutex, if the queue of waiters is empty, look up the umtx_pi and disown it if the current thread owns it. Modified:

svn commit: r279484 - stable/10/sys/x86/iommu

2015-03-01 Thread Konstantin Belousov
Author: kib Date: Sun Mar 1 10:29:48 2015 New Revision: 279484 URL: https://svnweb.freebsd.org/changeset/base/279484 Log: MFC r276867: Fix DMAR context allocations for the devices behind PCIe-PCI bridges after dmar driver was converted to use rids. The bus component to calculate context

svn commit: r279485 - stable/10/sys/x86/iommu

2015-03-01 Thread Konstantin Belousov
Author: kib Date: Sun Mar 1 10:35:54 2015 New Revision: 279485 URL: https://svnweb.freebsd.org/changeset/base/279485 Log: MFC r276948: Print rid when announcing DMAR context creation. Print sid when fault occurs. Modified: stable/10/sys/x86/iommu/intel_ctx.c

svn commit: r279486 - stable/10/sys/x86/iommu

2015-03-01 Thread Konstantin Belousov
Author: kib Date: Sun Mar 1 10:39:19 2015 New Revision: 279486 URL: https://svnweb.freebsd.org/changeset/base/279486 Log: MFC r276949: (only to ease merging of r279117). MFC r279117: Revert r276949 and redo the fix for PCIe/PCI bridges, which do not follow specification and do not

svn commit: r280424 - stable/10/sys/x86/iommu

2015-03-24 Thread Konstantin Belousov
Author: kib Date: Tue Mar 24 08:18:24 2015 New Revision: 280424 URL: https://svnweb.freebsd.org/changeset/base/280424 Log: MFC r280195: When inserting new entry into the address map, ensure that not only next entry does not intersect with the tail of the new entry, but also that previous

svn commit: r281979 - stable/10/sys/kern

2015-04-25 Thread Konstantin Belousov
Author: kib Date: Sat Apr 25 08:06:21 2015 New Revision: 281979 URL: https://svnweb.freebsd.org/changeset/base/281979 Log: MFC r281696: Initialize td_sel in the thread_init(). PR: 199518 Modified: stable/10/sys/kern/kern_thread.c Directory Properties: stable/10/ (props changed)

svn commit: r281981 - in stable/10: lib/libc/gen lib/libc/include lib/libc/sys lib/libthr/thread share/man/man3

2015-04-25 Thread Konstantin Belousov
of this software were developed by Konstantin Belousov + * under sponsorship from the FreeBSD Foundation. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code

svn commit: r281880 - in stable/10/sys: kern sys

2015-04-23 Thread Konstantin Belousov
Author: kib Date: Thu Apr 23 07:32:28 2015 New Revision: 281880 URL: https://svnweb.freebsd.org/changeset/base/281880 Log: MFC r281003: Speed up symbol lookup for the amd64 kernel modules. Modified: stable/10/sys/kern/link_elf_obj.c stable/10/sys/sys/elf_common.h Directory Properties:

svn commit: r282065 - in stable/10/sys: conf i386/i386 i386/include x86/acpica

2015-04-27 Thread Konstantin Belousov
Author: kib Date: Mon Apr 27 08:02:12 2015 New Revision: 282065 URL: https://svnweb.freebsd.org/changeset/base/282065 Log: MFC r281495: Add config option PAE_TABLES for the i386 kernel. It switches pmap to use PAE format for the page tables, but does not incur other consequences of the

svn commit: r282409 - stable/10/lib/libc/gen

2015-05-04 Thread Konstantin Belousov
Author: kib Date: Mon May 4 08:05:13 2015 New Revision: 282409 URL: https://svnweb.freebsd.org/changeset/base/282409 Log: MFC r281763: Remove code to support the top of the stack layout for FreeBSD 1.x/2.x kernel. Modified: stable/10/lib/libc/gen/setproctitle.c Directory Properties:

svn commit: r282411 - stable/10/sys/kern

2015-05-04 Thread Konstantin Belousov
Author: kib Date: Mon May 4 08:16:32 2015 New Revision: 282411 URL: https://svnweb.freebsd.org/changeset/base/282411 Log: MFC r282085: Partially revert r255986: do not call VOP_FSYNC() when helping bufdaemon in getnewbuf(), do use buf_flush(). The difference is that bufdaemon uses

svn commit: r282412 - stable/10/libexec/rtld-elf

2015-05-04 Thread Konstantin Belousov
Author: kib Date: Mon May 4 08:19:12 2015 New Revision: 282412 URL: https://svnweb.freebsd.org/changeset/base/282412 Log: MFC r282109: Always do token substitution, do not require -z origin to do it. Modified: stable/10/libexec/rtld-elf/rtld.c Directory Properties: stable/10/ (props

svn commit: r282523 - stable/10/libexec/getty

2015-05-06 Thread Konstantin Belousov
Author: kib Date: Wed May 6 09:38:44 2015 New Revision: 282523 URL: https://svnweb.freebsd.org/changeset/base/282523 Log: MFC r282245: Remove the #ifdef DEBUG code, which is not compilable on 64bit architectures. PR: 199767 Modified: stable/10/libexec/getty/subr.c Directory

svn commit: r282456 - stable/10/sys/vm

2015-05-05 Thread Konstantin Belousov
Author: kib Date: Tue May 5 08:12:24 2015 New Revision: 282456 URL: https://svnweb.freebsd.org/changeset/base/282456 Log: MFC r282128: Do not sleep waiting for the MAP_ENTRY_IN_TRANSITION state ending with the vnode locked. Modified: stable/10/sys/vm/vm_fault.c Directory Properties:

svn commit: r282811 - stable/10/sys/amd64/amd64

2015-05-12 Thread Konstantin Belousov
Author: kib Date: Tue May 12 08:52:50 2015 New Revision: 282811 URL: https://svnweb.freebsd.org/changeset/base/282811 Log: MFC r282680: Remove unused define. Modified: stable/10/sys/amd64/amd64/apic_vector.S Directory Properties: stable/10/ (props changed) Modified:

svn commit: r283004 - stable/10/sys/kern

2015-05-16 Thread Konstantin Belousov
Author: kib Date: Sat May 16 09:13:56 2015 New Revision: 283004 URL: https://svnweb.freebsd.org/changeset/base/283004 Log: MFC r282679: Do not return from thread_single(SINGLE_BOUNDARY) until all stopped thread are guarenteed to be removed from the processors. Modified:

svn commit: r281452 - stable/10/libexec/rtld-elf

2015-04-12 Thread Konstantin Belousov
Author: kib Date: Sun Apr 12 06:43:13 2015 New Revision: 281452 URL: https://svnweb.freebsd.org/changeset/base/281452 Log: MFC r264346 (by alc): Pass MAP_ALIGNED_SUPER to allocate the whole dso region if its text is large enough for the superpage mapping. Modified:

svn commit: r281456 - stable/10/sys/fs/msdosfs

2015-04-12 Thread Konstantin Belousov
Author: kib Date: Sun Apr 12 07:03:26 2015 New Revision: 281456 URL: https://svnweb.freebsd.org/changeset/base/281456 Log: MFC r281120: Assert that an msdosfs mount is not read-only when FAT modifications are requested. Modified: stable/10/sys/fs/msdosfs/msdosfs_fat.c Directory

svn commit: r281545 - stable/10/sys/x86/iommu

2015-04-15 Thread Konstantin Belousov
Author: kib Date: Wed Apr 15 06:56:51 2015 New Revision: 281545 URL: https://svnweb.freebsd.org/changeset/base/281545 Log: MFC r281254: Account for the offset of the page run when allocating the dmar_map_entry. Modified: stable/10/sys/x86/iommu/busdma_dmar.c

svn commit: r281547 - stable/10/sys/i386/include

2015-04-15 Thread Konstantin Belousov
Author: kib Date: Wed Apr 15 06:59:53 2015 New Revision: 281547 URL: https://svnweb.freebsd.org/changeset/base/281547 Log: MFC r281272: Explain that vm_page_array is mapped to describe the memory, not the memory itself. Provide the formula to calculate the number of required page tables.

svn commit: r281194 - stable/10/sys/kern

2015-04-07 Thread Konstantin Belousov
Author: kib Date: Tue Apr 7 07:08:35 2015 New Revision: 281194 URL: https://svnweb.freebsd.org/changeset/base/281194 Log: MFC r281071: Remove useless initialization. Modified: stable/10/sys/kern/sysv_shm.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r281256 - in stable/10/lib/libc: include sys

2015-04-07 Thread Konstantin Belousov
Author: kib Date: Wed Apr 8 02:21:44 2015 New Revision: 281256 URL: https://svnweb.freebsd.org/changeset/base/281256 Log: MFC r280959: Correctly handle __fcntl_compat symbol for the !SYSCALL_COMPAT case. Modified: stable/10/lib/libc/include/compat.h stable/10/lib/libc/sys/fcntl.c

svn commit: r281255 - stable/10/sys/fs/devfs

2015-04-07 Thread Konstantin Belousov
Author: kib Date: Wed Apr 8 02:15:13 2015 New Revision: 281255 URL: https://svnweb.freebsd.org/changeset/base/281255 Log: MFC r280308 (by delphij): Disable timestamping on devfs read/write operations by default. MFC r280949: Refine r280308. Use seconds precision for devfs timestamps

svn commit: r281067 - stable/10/sys/kern

2015-04-04 Thread Konstantin Belousov
Author: kib Date: Sat Apr 4 08:06:13 2015 New Revision: 281067 URL: https://svnweb.freebsd.org/changeset/base/281067 Log: MFC r280797: Make debug.vmem_check a tunable. It is useful to set it early. Modified: stable/10/sys/kern/subr_vmem.c Directory Properties: stable/10/ (props

svn commit: r281066 - stable/10/sys/kern

2015-04-04 Thread Konstantin Belousov
Author: kib Date: Sat Apr 4 07:59:07 2015 New Revision: 281066 URL: https://svnweb.freebsd.org/changeset/base/281066 Log: MFC r280323: Somewhat modernize the SysV shm code. MFC r280325 (by cognet): Fix warning for !MAC case. Modified: stable/10/sys/kern/sysv_shm.c Directory

svn commit: r284020 - stable/10/sys/kern

2015-06-05 Thread Konstantin Belousov
Author: kib Date: Fri Jun 5 08:26:38 2015 New Revision: 284020 URL: https://svnweb.freebsd.org/changeset/base/284020 Log: MFC r283745: Do not raise priority of the idle thread on singal delivery. Modified: stable/10/sys/kern/kern_sig.c Directory Properties: stable/10/ (props changed)

svn commit: r284021 - in stable/10/sys: amd64/amd64 amd64/ia32 dev/pci kern ufs/ffs ufs/ufs x86/iommu

2015-06-05 Thread Konstantin Belousov
Author: kib Date: Fri Jun 5 08:36:25 2015 New Revision: 284021 URL: https://svnweb.freebsd.org/changeset/base/284021 Log: MFC r283735: Remove several write-only variables. Modified: stable/10/sys/amd64/amd64/pmap.c stable/10/sys/amd64/ia32/ia32_reg.c stable/10/sys/dev/pci/pci.c

svn commit: r284205 - stable/10/sys/kern

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:44:56 2015 New Revision: 284205 URL: https://svnweb.freebsd.org/changeset/base/284205 Log: Add chunk missed in the r284199. Modified: stable/10/sys/kern/kern_fork.c Modified: stable/10/sys/kern/kern_fork.c

svn commit: r284203 - in stable/10/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:27:00 2015 New Revision: 284203 URL: https://svnweb.freebsd.org/changeset/base/284203 Log: MFC r283602: Prevent dounmount() from acting on the freed (although type-stable) memory by changing the interface to require the mount point to be referenced.

svn commit: r284199 - in stable/10/sys: fs/nfsserver kern sys ufs/ffs

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:04:02 2015 New Revision: 284199 URL: https://svnweb.freebsd.org/changeset/base/284199 Log: MFC r283600: Perform SU cleanup in the AST handler. Do not sleep waiting for SU cleanup while owning vnode lock. On MFC, for KBI stability, td_su member was moved

svn commit: r284200 - stable/10/sys/ufs/ffs

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:12:01 2015 New Revision: 284200 URL: https://svnweb.freebsd.org/changeset/base/284200 Log: MFC r283604: Remove NODELAY flag. Modified: stable/10/sys/ufs/ffs/ffs_softdep.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r284204 - stable/10/sys/sys

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:28:50 2015 New Revision: 284204 URL: https://svnweb.freebsd.org/changeset/base/284204 Log: Bump __FreeBSD_version for r284203. Modified: stable/10/sys/sys/param.h Modified: stable/10/sys/sys/param.h

svn commit: r284548 - stable/10/sys/kern

2015-06-18 Thread Konstantin Belousov
Author: kib Date: Thu Jun 18 13:46:32 2015 New Revision: 284548 URL: https://svnweb.freebsd.org/changeset/base/284548 Log: MFC r284178: Add barriers when updating and reading th_generation. MFC r284256: Tweaks for r284178. Modified: stable/10/sys/kern/kern_tc.c Directory Properties:

svn commit: r284868 - stable/10/sys/fs/tmpfs

2015-06-26 Thread Konstantin Belousov
Author: kib Date: Fri Jun 26 06:25:14 2015 New Revision: 284868 URL: https://svnweb.freebsd.org/changeset/base/284868 Log: MFC r284594: Restore the td_cookie value upon detach. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r284720 - in stable/10/sys: amd64/include sys

2015-06-23 Thread Konstantin Belousov
Author: kib Date: Tue Jun 23 06:30:36 2015 New Revision: 284720 URL: https://svnweb.freebsd.org/changeset/base/284720 Log: Revert part of the r283303 (by jhb): Revert MFC of r270223, which bumped MAXCPU on amd64 from 64 to 256. The cpuset_getaffinity(2) and cpuset_setaffinity(2) check

svn commit: r284888 - stable/10/share/man/man9

2015-06-27 Thread Konstantin Belousov
Author: kib Date: Sat Jun 27 09:47:28 2015 New Revision: 284888 URL: https://svnweb.freebsd.org/changeset/base/284888 Log: MFC r284646: The barriers, provided by _acq and _rel atomics, are acquire and release barriers, not read and write barriers. Modified:

svn commit: r284375 - stable/10/sys/ufs/ffs

2015-06-13 Thread Konstantin Belousov
Author: kib Date: Sun Jun 14 05:12:48 2015 New Revision: 284375 URL: https://svnweb.freebsd.org/changeset/base/284375 Log: MFC r283832: Remove unused variable. Modified: stable/10/sys/ufs/ffs/ffs_softdep.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r284493 - stable/10/lib/libthr/thread

2015-06-16 Thread Konstantin Belousov
Author: kib Date: Wed Jun 17 04:18:30 2015 New Revision: 284493 URL: https://svnweb.freebsd.org/changeset/base/284493 Log: MFC r284385: Fix typo in comment. Modified: stable/10/lib/libthr/thread/thr_sig.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r284338 - in stable/10/sys: amd64/amd64 amd64/include i386/i386 i386/include x86/x86

2015-06-13 Thread Konstantin Belousov
Author: kib Date: Sat Jun 13 07:31:50 2015 New Revision: 284338 URL: https://svnweb.freebsd.org/changeset/base/284338 Log: MFC r284104: Updates from SDM rev. 55. Modified: stable/10/sys/amd64/amd64/initcpu.c stable/10/sys/amd64/include/md_var.h stable/10/sys/i386/i386/initcpu.c

svn commit: r283597 - stable/10/lib/libc/gen

2015-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 08:23:23 2015 New Revision: 283597 URL: https://svnweb.freebsd.org/changeset/base/283597 Log: MFC r283153: Remove the write-only variable phent. Modified: stable/10/lib/libc/gen/dlfcn.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r283598 - stable/10/sys/vm

2015-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 08:30:16 2015 New Revision: 283598 URL: https://svnweb.freebsd.org/changeset/base/283598 Log: MFC r283162: Set VPO_UNMANAGED on the freed page when insertion of the page into the object queue failed, to satisfy the assertion. MFC r283163: Do grammar fix

svn commit: r283690 - stable/10/lib/libthr/thread

2015-05-29 Thread Konstantin Belousov
Author: kib Date: Fri May 29 07:48:30 2015 New Revision: 283690 URL: https://svnweb.freebsd.org/changeset/base/283690 Log: MFC r282948: Use bare mmap(2) to allocate space for the per-thread keys, instead of malloc(). This allows third party mallocs, which use pthread_setspecific(3) on the

svn commit: r283872 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-06-01 Thread Konstantin Belousov
Author: kib Date: Mon Jun 1 06:56:49 2015 New Revision: 283872 URL: https://svnweb.freebsd.org/changeset/base/283872 Log: MFC r283515: Remove excess Giant acquisition around the dounmount() call. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c Directory

svn commit: r283279 - in stable/10/sys: kern sys

2015-05-22 Thread Konstantin Belousov
Author: kib Date: Fri May 22 08:11:31 2015 New Revision: 283279 URL: https://svnweb.freebsd.org/changeset/base/283279 Log: MFC r282944: Decrement p_boundary_count in the single-threading thread, during making other thread runnable. This guarantees that upon return from the

svn commit: r283310 - in stable/10/sys: kern vm

2015-05-23 Thread Konstantin Belousov
Author: kib Date: Sat May 23 09:14:29 2015 New Revision: 283310 URL: https://svnweb.freebsd.org/changeset/base/283310 Log: MFC r282690: Call uma_reclaim() from the additional pagedaemon thread to reclaim kmem arena address space. Modified: stable/10/sys/kern/kern_malloc.c

svn commit: r283359 - in stable/10/sys: amd64/linux32 compat/freebsd32 compat/svr4 i386/ibcs2 i386/linux kern sys

2015-05-24 Thread Konstantin Belousov
Author: kib Date: Sun May 24 07:32:02 2015 New Revision: 283359 URL: https://svnweb.freebsd.org/changeset/base/283359 Log: MFC r282708: On exec, single-threading must be enforced before arguments space is allocated from exec_map. Modified: stable/10/sys/amd64/linux32/linux32_machdep.c

svn commit: r286852 - in stable/10/sys: amd64/amd64 amd64/include i386/i386 i386/include x86/x86

2015-08-17 Thread Konstantin Belousov
Author: kib Date: Mon Aug 17 18:33:16 2015 New Revision: 286852 URL: https://svnweb.freebsd.org/changeset/base/286852 Log: MFC r286228: Clear the IA32_MISC_ENABLE MSR bit on APs. Modified: stable/10/sys/amd64/amd64/mp_machdep.c stable/10/sys/amd64/include/md_var.h

svn commit: r286854 - stable/10/sys/x86/iommu

2015-08-17 Thread Konstantin Belousov
Author: kib Date: Mon Aug 17 18:36:16 2015 New Revision: 286854 URL: https://svnweb.freebsd.org/changeset/base/286854 Log: MFC r286777: Comment only change, fix grammar and somewhat clarify the action. Modified: stable/10/sys/x86/iommu/intel_idpgtbl.c Directory Properties: stable/10/

svn commit: r284944 - stable/10/sys/kern

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Tue Jun 30 05:53:15 2015 New Revision: 284944 URL: https://svnweb.freebsd.org/changeset/base/284944 Log: MFC r284719: Only take previous buffer queue lock (olock) when needed for REMFREE in binsfree(). Modified: stable/10/sys/kern/vfs_bio.c Directory Properties:

svn commit: r286145 - stable/10/sys/vm

2015-07-31 Thread Konstantin Belousov
Author: kib Date: Sat Aug 1 03:37:00 2015 New Revision: 286145 URL: https://svnweb.freebsd.org/changeset/base/286145 Log: MFC r285878: Revert r173708's modifications to vm_object_page_remove(). This fixes inconsistencies encountered by vm_object_unwire() or by the buffer cache when the

svn commit: r285966 - stable/10/sys/kern

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 17:08:32 2015 New Revision: 285966 URL: https://svnweb.freebsd.org/changeset/base/285966 Log: MFC r285039: Remove asserts which might reference freed memory. Modified: stable/10/sys/kern/vfs_mount.c Directory Properties: stable/10/ (props changed)

svn commit: r285967 - stable/10/sys/kern

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 17:12:41 2015 New Revision: 285967 URL: https://svnweb.freebsd.org/changeset/base/285967 Log: MFC r284956: Do not calculate the stack's bottom address twice. Modified: stable/10/sys/kern/kern_exec.c Directory Properties: stable/10/ (props changed)

svn commit: r285963 - stable/10/sys/kern

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 16:39:36 2015 New Revision: 285963 URL: https://svnweb.freebsd.org/changeset/base/285963 Log: MFC r285134 (by mjg): fd: de-kr-ify functions + some whitespace fixes MFC r285269: Handle copyout for the fcntl(F_OGETLK) using oflock structure. Modified:

svn commit: r286305 - in stable/10: gnu/usr.bin/gdb/kgdb sys/amd64/include sys/cddl/dev/dtrace/i386 sys/i386/include

2015-08-05 Thread Konstantin Belousov
Author: kib Date: Wed Aug 5 07:21:44 2015 New Revision: 286305 URL: https://svnweb.freebsd.org/changeset/base/286305 Log: MFC r285041: Use single instance of the identical INKERNEL() and PMC_IN_KERNEL() macros on amd64 and i386. On i386, correct the lowest kernel address. Modified:

svn commit: r286306 - stable/10/sys/vm

2015-08-05 Thread Konstantin Belousov
Author: kib Date: Wed Aug 5 07:29:59 2015 New Revision: 286306 URL: https://svnweb.freebsd.org/changeset/base/286306 Log: MFC r285046: Account for the main process stack being one page below the highest user address when ABI uses shared page. Modified: stable/10/sys/vm/vm_map.c

svn commit: r286308 - in stable/10/sys/amd64: amd64 include linux32

2015-08-05 Thread Konstantin Belousov
Author: kib Date: Wed Aug 5 07:35:34 2015 New Revision: 286308 URL: https://svnweb.freebsd.org/changeset/base/286308 Log: MFC r284921: pcb_gs32sd is unused for long time, remove it. Keep the padding in pcb. Modified: stable/10/sys/amd64/amd64/genassym.c

svn commit: r286216 - stable/10/sys/kern

2015-08-02 Thread Konstantin Belousov
Author: kib Date: Mon Aug 3 03:08:48 2015 New Revision: 286216 URL: https://svnweb.freebsd.org/changeset/base/286216 Log: Fix ia64 to not override the call stack bottom address with the register stack bottom address, after the merge of r284956 in r285967. Note: this is a direct commit

svn commit: r286396 - in stable/10/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 i386/i386

2015-08-06 Thread Konstantin Belousov
Author: kib Date: Fri Aug 7 04:31:02 2015 New Revision: 286396 URL: https://svnweb.freebsd.org/changeset/base/286396 Log: MFC r285643: When checking for the valid value of the frame pointer, verify that it belongs to the kernel stack address range for the thread. Modified:

svn commit: r286772 - stable/10/sys/geom

2015-08-14 Thread Konstantin Belousov
Author: kib Date: Fri Aug 14 12:23:20 2015 New Revision: 286772 URL: https://svnweb.freebsd.org/changeset/base/286772 Log: MFC r286404: The condition to use direct processing for the unmapped bio is reverted. MFC r286405: Minor style cleanup of the code surrounding r286404. Modified:

svn commit: r285634 - in stable/10/sys: amd64/include mips/include vm

2015-07-16 Thread Konstantin Belousov
Author: kib Date: Thu Jul 16 14:41:58 2015 New Revision: 285634 URL: https://svnweb.freebsd.org/changeset/base/285634 Log: MFC r276439 (by alc): Make the creation of the free lists dynamic, i.e., it is based on the available physical memory at boot time. For amd64 systems with 64 GB or

svn commit: r285635 - stable/10/sys/vm

2015-07-16 Thread Konstantin Belousov
Author: kib Date: Thu Jul 16 15:13:17 2015 New Revision: 285635 URL: https://svnweb.freebsd.org/changeset/base/285635 Log: MFC r284207 (by alc): Correct a type error in kmem_unback(). Requested by: alc Approved by: re (gjb) Modified: stable/10/sys/vm/vm_kern.c Directory Properties:

svn commit: r290094 - stable/10/sys/kern

2015-10-28 Thread Konstantin Belousov
Author: kib Date: Wed Oct 28 11:22:30 2015 New Revision: 290094 URL: https://svnweb.freebsd.org/changeset/base/290094 Log: MFC r284157 (by emaste): Add user facing errors for exceeding process memory limits. Modified: stable/10/sys/kern/imgact_elf.c Directory Properties: stable/10/

svn commit: r290271 - stable/10/sys/vm

2015-11-02 Thread Konstantin Belousov
Author: kib Date: Mon Nov 2 13:14:27 2015 New Revision: 290271 URL: https://svnweb.freebsd.org/changeset/base/290271 Log: MFC r289496: Modify the 'unchanged' calculation bu dereferencing the marker tailq pointers, which is known to belong to the queue. Modified:

svn commit: r290323 - stable/10/sys/kern

2015-11-03 Thread Konstantin Belousov
Author: kib Date: Tue Nov 3 08:28:47 2015 New Revision: 290323 URL: https://svnweb.freebsd.org/changeset/base/290323 Log: MFC r289658: No need to dereference struct proc to pids when comparing processes for equality. Modified: stable/10/sys/kern/sys_process.c Directory Properties:

svn commit: r290189 - in stable/10/sys: amd64/include i386/include

2015-10-30 Thread Konstantin Belousov
Author: kib Date: Fri Oct 30 10:02:57 2015 New Revision: 290189 URL: https://svnweb.freebsd.org/changeset/base/290189 Log: MFC r289824: Add CLFLUSHOPT instruction wrappers. MFC r290188: Fix prefix on i386. Modified: stable/10/sys/amd64/include/cpufunc.h

svn commit: r290187 - stable/10/sys/x86/x86

2015-10-30 Thread Konstantin Belousov
Author: kib Date: Fri Oct 30 09:24:16 2015 New Revision: 290187 URL: https://svnweb.freebsd.org/changeset/base/290187 Log: MFC r289823: Decode new values for CPUID leaf 2 cache and TLB descriptors, from the Intel SDM revision 56. Modified: stable/10/sys/x86/x86/identcpu.c Directory

svn commit: r289431 - stable/10/sys/kern

2015-10-16 Thread Konstantin Belousov
Author: kib Date: Fri Oct 16 20:51:25 2015 New Revision: 289431 URL: https://svnweb.freebsd.org/changeset/base/289431 Log: MFC r289026: Enforce the maxproc limitation before allocating struct proc. In collaboration with:pho Modified: stable/10/sys/kern/kern_exit.c

svn commit: r289107 - stable/10/sys/sys

2015-10-09 Thread Konstantin Belousov
Author: kib Date: Sat Oct 10 05:50:42 2015 New Revision: 289107 URL: https://svnweb.freebsd.org/changeset/base/289107 Log: MFC r288258: Make the __bitcount*() functions unconditionally available. Modified: stable/10/sys/sys/types.h Directory Properties: stable/10/ (props changed)

svn commit: r285402 - in stable/10/sys: kern sys ufs/ffs

2015-07-11 Thread Konstantin Belousov
Author: kib Date: Sat Jul 11 19:11:40 2015 New Revision: 285402 URL: https://svnweb.freebsd.org/changeset/base/285402 Log: MFC r284887: Handle errors from background write of the cylinder group blocks. MFC r284927: Simplify code. Approved by: re (gjb) Modified:

svn commit: r287199 - in stable/10: lib/libc/sys sys/kern

2015-08-27 Thread Konstantin Belousov
Author: kib Date: Thu Aug 27 09:06:14 2015 New Revision: 287199 URL: https://svnweb.freebsd.org/changeset/base/287199 Log: MFC r286975: Remove the wrong asserts. Modified: stable/10/lib/libc/sys/procctl.2 stable/10/sys/kern/kern_procctl.c Directory Properties: stable/10/ (props

svn commit: r287480 - in stable/10/lib/libc: amd64/gen compat-43 db/btree db/hash gen i386/gen include net stdio stdlib sys

2015-09-05 Thread Konstantin Belousov
Author: kib Date: Sat Sep 5 08:55:51 2015 New Revision: 287480 URL: https://svnweb.freebsd.org/changeset/base/287480 Log: MFC r287292: Switch libc from using _sig{procmask,action,suspend} symbols, which are aliases for the syscall stubs and are plt-interposed, to the libc-private aliases

svn commit: r287551 - in stable/10: contrib/netbsd-tests/lib/libc/gen/posix_spawn lib/libc/tests/gen/posix_spawn

2015-09-08 Thread Konstantin Belousov
Author: kib Date: Tue Sep 8 07:15:10 2015 New Revision: 287551 URL: https://svnweb.freebsd.org/changeset/base/287551 Log: MFC r287360: Fix t_spawnattr test for attributes handling by posix_spawn(3). Connect it to the build. Modified:

svn commit: r287508 - stable/10/sys/kern

2015-09-06 Thread Konstantin Belousov
Author: kib Date: Sun Sep 6 17:36:09 2015 New Revision: 287508 URL: https://svnweb.freebsd.org/changeset/base/287508 Log: MFC r287310: Use P1B_PRIO_MAX to designate max posix priority for the RR/FIFO scheduler types. Modified: stable/10/sys/kern/ksched.c Directory Properties:

svn commit: r287507 - in stable/10/sys: kern sys

2015-09-06 Thread Konstantin Belousov
Author: kib Date: Sun Sep 6 17:32:33 2015 New Revision: 287507 URL: https://svnweb.freebsd.org/changeset/base/287507 Log: MFC r287309: Remove single-use macros obfuscating malloc(9) and free(9) calls. Style. Modified: stable/10/sys/kern/ksched.c stable/10/sys/sys/posix4.h Directory

svn commit: r287845 - stable/10/sys/ufs/ffs

2015-09-15 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 04:15:46 2015 New Revision: 287845 URL: https://svnweb.freebsd.org/changeset/base/287845 Log: MFC r287361: Handle excess of D_NEWBLK in the same way as excess of D_INODEDEP and D_DIRREM, by scheduling ast to flush dependencies. For 32bit arches, reduce the

svn commit: r287846 - stable/10/sys/vm

2015-09-15 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 04:20:39 2015 New Revision: 287846 URL: https://svnweb.freebsd.org/changeset/base/287846 Log: MFC r287591: There is no reason in the current kernel to disallow write access to the COW wired entry if the entry permissions allow it. Remove the check. Modified:

svn commit: r288690 - stable/10/sys/kern

2015-10-04 Thread Konstantin Belousov
Author: kib Date: Mon Oct 5 05:33:30 2015 New Revision: 288690 URL: https://svnweb.freebsd.org/changeset/base/288690 Log: MFC r288068: Ensure that maxproc does not exceed pid_max, at the time of boot. Modified: stable/10/sys/kern/subr_param.c Directory Properties: stable/10/ (props

svn commit: r288282 - stable/10/sys/fs/fifofs

2015-09-26 Thread Konstantin Belousov
Author: kib Date: Sun Sep 27 01:06:45 2015 New Revision: 288282 URL: https://svnweb.freebsd.org/changeset/base/288282 Log: MFC r288044: Ensure that when a blockable open of fifo returns success, a valid file descriptor opened for complimentary access exists as well. Modified:

svn commit: r288289 - stable/10/sys/powerpc/powerpc

2015-09-26 Thread Konstantin Belousov
Author: kib Date: Sun Sep 27 01:37:30 2015 New Revision: 288289 URL: https://svnweb.freebsd.org/changeset/base/288289 Log: MFC r288001: Use tabs for indend. Modified: stable/10/sys/powerpc/powerpc/elf32_machdep.c stable/10/sys/powerpc/powerpc/elf64_machdep.c Directory Properties:

svn commit: r288287 - in stable/10/sys: amd64/amd64 arm/arm i386/i386 ia64/ia64 kern mips/mips powerpc/powerpc sparc64/sparc64 sys

2015-09-26 Thread Konstantin Belousov
Author: kib Date: Sun Sep 27 01:33:43 2015 New Revision: 288287 URL: https://svnweb.freebsd.org/changeset/base/288287 Log: MFC r288000: Add support for weak symbols to the kernel linkers. Modified: stable/10/sys/amd64/amd64/elf_machdep.c stable/10/sys/arm/arm/elf_machdep.c

svn commit: r288103 - stable/10/sys/kern

2015-09-22 Thread Konstantin Belousov
Author: kib Date: Tue Sep 22 10:31:48 2015 New Revision: 288103 URL: https://svnweb.freebsd.org/changeset/base/288103 Log: The stable/10 branch uses mutex for vfs_hash. Fix build. Submitted by: Jukka Ukkonen Modified: stable/10/sys/kern/vfs_hash.c Modified:

  1   2   3   4   >