Author: kib
Date: Wed Nov 2 18:06:22 2011
New Revision: 227023
URL: http://svn.freebsd.org/changeset/base/227023
Log:
Make sure that stack is 16-byte aligned before calling a function,
as it is required by amd64 ABI. Add a comment for the places were
the stack is accidentally properly
Author: kib
Date: Wed Nov 2 18:08:30 2011
New Revision: 227024
URL: http://svn.freebsd.org/changeset/base/227024
Log:
Despite official i386 ABI does not mandate any stack alignment besides
the word alignment, some versions of gcc do require 16-byte alignment.
Make sure the stack is 16-byte
Author: kib
Date: Thu Nov 3 18:55:18 2011
New Revision: 227062
URL: http://svn.freebsd.org/changeset/base/227062
Log:
Fix kernel panic when d_fdopen csw method is called for NULL fp.
This may happen when kernel consumer calls VOP_OPEN().
Reported by: Tavis Ormandy taviso cmpxchg8b com
Author: kib
Date: Sat Nov 5 08:20:32 2011
New Revision: 227102
URL: http://svn.freebsd.org/changeset/base/227102
Log:
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 for 32KB page
Author: kib
Date: Sat Nov 5 09:03:18 2011
New Revision: 227103
URL: http://svn.freebsd.org/changeset/base/227103
Log:
Remove redundand definitions. The chunk was missed from r227102.
MFC after:2 weeks
Modified:
head/sys/vm/vm_page.h
Modified: head/sys/vm/vm_page.h
Author: kib
Date: Sat Nov 5 09:04:13 2011
New Revision: 227104
URL: http://svn.freebsd.org/changeset/base/227104
Log:
Fix typo.
MFC after:3 days
Modified:
head/sys/fs/procfs/procfs_status.c
Modified: head/sys/fs/procfs/procfs_status.c
Author: kib
Date: Wed Nov 9 17:13:41 2011
New Revision: 227392
URL: http://svn.freebsd.org/changeset/base/227392
Log:
Assert that _PRELE() is done for the held process.
Tested by:pho
MFC after:1 week
Modified:
head/sys/sys/proc.h
Modified: head/sys/sys/proc.h
Author: kib
Date: Wed Nov 9 17:15:51 2011
New Revision: 227393
URL: http://svn.freebsd.org/changeset/base/227393
Log:
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.
Reported and tested by:
Author: kib
Date: Wed Nov 9 17:25:43 2011
New Revision: 227394
URL: http://svn.freebsd.org/changeset/base/227394
Log:
Stopped process may legitimately have some threads sleeping and not
suspended, if the sleep is uninterruptible.
Reported and tested by: pho
MFC after:1 week
Author: kib
Date: Wed Nov 9 18:25:50 2011
New Revision: 227399
URL: http://svn.freebsd.org/changeset/base/227399
Log:
Attempt to improve formatting and content of several comments for
amd64 and i386 MD code.
Based on suggestions by: bde
MFC after:1 week
Modified:
Author: kib
Date: Fri Nov 11 04:10:36 2011
New Revision: 227442
URL: http://svn.freebsd.org/changeset/base/227442
Log:
Weaken the part of assertions added in the r227394. Only check that the
process state is stopped.
MFC after:1 week
Modified:
head/sys/amd64/amd64/machdep.c
Author: kib
Date: Fri Nov 11 04:12:58 2011
New Revision: 227443
URL: http://svn.freebsd.org/changeset/base/227443
Log:
Guard against the unlikely case of the alias path containing the '%' symbols.
Reported by: arundel
MFC after:1 week
Modified:
head/sys/kern/kern_conf.c
Author: kib
Date: Fri Nov 11 04:13:47 2011
New Revision: 227444
URL: http://svn.freebsd.org/changeset/base/227444
Log:
Style.
MFC after:1 week
Modified:
head/sys/kern/kern_conf.c
Modified: head/sys/kern/kern_conf.c
Author: kib
Date: Tue Nov 15 14:09:53 2011
New Revision: 227529
URL: http://svn.freebsd.org/changeset/base/227529
Log:
Remove the condition that is always true.
Submitted by: alc
MFC after:1 week
Modified:
head/sys/vm/vm_pager.c
Modified: head/sys/vm/vm_pager.c
Author: kib
Date: Tue Nov 15 14:40:00 2011
New Revision: 227530
URL: http://svn.freebsd.org/changeset/base/227530
Log:
Update the device pager interface, while keeping the compatibility
layer for old KPI and KBI. New interface should be used together with
d_mmap_single cdevsw method.
Author: kib
Date: Wed Nov 16 18:41:59 2011
New Revision: 227576
URL: http://svn.freebsd.org/changeset/base/227576
Log:
Fix build, use %d for int value formatting.
Modified:
head/sys/fs/pseudofs/pseudofs_vnops.c
Modified: head/sys/fs/pseudofs/pseudofs_vnops.c
Author: kib
Date: Wed Nov 16 18:42:39 2011
New Revision: 227577
URL: http://svn.freebsd.org/changeset/base/227577
Log:
The sys/sysctl.h header is needed when MFI_DEBUG is defined.
Nod from: jhb
Modified:
head/sys/dev/mfi/mfi_debug.c
Modified: head/sys/dev/mfi/mfi_debug.c
Author: kib
Date: Thu Nov 17 13:14:07 2011
New Revision: 227622
URL: http://svn.freebsd.org/changeset/base/227622
Log:
Fix typo.
Submitted by: arundel
MFC after:3 days
Modified:
head/lib/libc/sys/stat.2
Modified: head/lib/libc/sys/stat.2
Author: kib
Date: Fri Nov 18 09:05:25 2011
New Revision: 227656
URL: http://svn.freebsd.org/changeset/base/227656
Log:
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.
MFC after:1
Author: kib
Date: Fri Nov 18 09:12:26 2011
New Revision: 227657
URL: http://svn.freebsd.org/changeset/base/227657
Log:
Consistently use process spin lock for protection of the
p-p_boundary_count. Race could cause the execve(2) from the threaded
process to hung since thread boundary counter
Author: kib
Date: Fri Nov 18 09:55:47 2011
New Revision: 227660
URL: http://svn.freebsd.org/changeset/base/227660
Log:
Fix fd leak.
Reported by: slonoman2011 yandex ru
MFC after:1 week
Modified:
head/libexec/rtld-elf/rtld.c
Modified: head/libexec/rtld-elf/rtld.c
Author: kib
Date: Fri Nov 18 09:56:40 2011
New Revision: 227661
URL: http://svn.freebsd.org/changeset/base/227661
Log:
Free unused allocation on error.
Reported by: slonoman2011 yandex ru
MFC after:1 week
Modified:
head/lib/librt/timer.c
Modified: head/lib/librt/timer.c
Author: kib
Date: Sat Nov 19 07:40:13 2011
New Revision: 227695
URL: http://svn.freebsd.org/changeset/base/227695
Log:
Use the plain panic calls, without additional printing around them.
The debugger and dumping support is adequate.
Tested by:pho
MFC after:1 week
Modified:
Author: kib
Date: Sat Nov 19 07:41:37 2011
New Revision: 227696
URL: http://svn.freebsd.org/changeset/base/227696
Log:
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 instead of vnode
Author: kib
Date: Sat Nov 19 07:50:49 2011
New Revision: 227697
URL: http://svn.freebsd.org/changeset/base/227697
Log:
Existing VOP_VPTOCNP() interface has a fatal flow that is critical for
nullfs. The problem is that resulting vnode is only required to be
held on return from the
Author: kib
Date: Sat Nov 19 07:52:39 2011
New Revision: 227698
URL: http://svn.freebsd.org/changeset/base/227698
Log:
Update the manpage for r227697.
MFC after:3 weeks
Modified:
head/share/man/man9/VOP_VPTOCNP.9
Modified: head/share/man/man9/VOP_VPTOCNP.9
Author: kib
Date: Tue Nov 22 13:27:53 2011
New Revision: 227816
URL: http://svn.freebsd.org/changeset/base/227816
Log:
Remove the wrong comment about ufs not being loadable.
Note that only root filesystem module needs to be available
before root is mounted.
MFC after:1 week
Author: kib
Date: Thu Nov 24 20:34:06 2011
New Revision: 227952
URL: http://svn.freebsd.org/changeset/base/227952
Log:
Fix a race between getvnode() dereferencing half-constructed file
and dupfdopen().
Reported and tested by: pho
MFC after:3 days
Modified:
Author: kib
Date: Tue Nov 29 13:07:32 2011
New Revision: 228133
URL: http://svn.freebsd.org/changeset/base/228133
Log:
Hide the internals of vm_page_lock(9) from the loadable modules.
Since the address of vm_page lock mutex depends on the kernel options,
it is easy for module to get out of
Author: kib
Date: Wed Nov 30 17:39:00 2011
New Revision: 228156
URL: http://svn.freebsd.org/changeset/base/228156
Log:
Rename vm_page_set_valid() to vm_page_set_valid_range().
The vm_page_set_valid() is the most reasonable name for the m-valid
accessor.
Reviewed by: attilio, alc
Author: kib
Date: Thu Dec 1 11:20:25 2011
New Revision: 228177
URL: http://svn.freebsd.org/changeset/base/228177
Log:
Add a simple test for pipe inode numbers reported by fstat(2).
Submitted by: gianni
MFC after:1 week
Added:
head/tools/regression/pipe/pipe-ino.c (contents,
Author: kib
Date: Thu Dec 1 11:36:41 2011
New Revision: 228178
URL: http://svn.freebsd.org/changeset/base/228178
Log:
If alloc_unr() call in the pipe_create() failed, then pipe-pipe_ino is
-1. But, because ino_t is unsigned, this case was not covered by the
test ino 0 in pipeclose(),
Author: kib
Date: Sun Dec 4 18:43:09 2011
New Revision: 228261
URL: http://svn.freebsd.org/changeset/base/228261
Log:
Use explicit information from the kernel to detect the traps due to
syscall entry and leave.
Based on submision by:Dan Nelson dnelson allantgroup com
MFC
Author: kib
Date: Sun Dec 4 19:25:49 2011
New Revision: 228263
URL: http://svn.freebsd.org/changeset/base/228263
Log:
Initialize fifoinfo fi_wgen field on open. The only important is the
difference between fi_wgen and f_seqcount, so the change is purely
cosmetic, but it makes the code
Author: kib
Date: Tue Dec 6 11:24:03 2011
New Revision: 228306
URL: http://svn.freebsd.org/changeset/base/228306
Log:
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) time. If
Author: kib
Date: Tue Dec 6 11:28:17 2011
New Revision: 228307
URL: http://svn.freebsd.org/changeset/base/228307
Log:
Force linker error when created shared library contains a relocation
against text. Provide the override switch to turn off the strict
behaviour. Apparently, openssl
Author: kib
Date: Fri Dec 9 20:40:24 2011
New Revision: 228375
URL: http://svn.freebsd.org/changeset/base/228375
Log:
Typo.
MFC after:3 days
Modified:
head/libexec/rtld-elf/rtld.h
Modified: head/libexec/rtld-elf/rtld.h
Author: kib
Date: Fri Dec 9 20:41:54 2011
New Revision: 228376
URL: http://svn.freebsd.org/changeset/base/228376
Log:
Typo.
MFC after:3 days
Modified:
head/sys/ddb/db_thread.c
Modified: head/sys/ddb/db_thread.c
Author: kib
Date: Mon Dec 12 10:04:04 2011
New Revision: 228432
URL: http://svn.freebsd.org/changeset/base/228432
Log:
Fix printf.
Submitted by: az
MFC after:1 week
Modified:
head/sys/vm/swap_pager.c
Modified: head/sys/vm/swap_pager.c
Author: kib
Date: Mon Dec 12 10:10:49 2011
New Revision: 228434
URL: http://svn.freebsd.org/changeset/base/228434
Log:
Add definitions for GNU-specific STT_GNU_IFUNC symbol type,
and R_{386,X86_64}_IRELATIVE relocations.
MFC after:3 weeks
Modified:
head/sys/sys/elf_common.h
Author: kib
Date: Mon Dec 12 11:03:14 2011
New Revision: 228435
URL: http://svn.freebsd.org/changeset/base/228435
Log:
Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to
rtld on 386 and amd64. This adds runtime bits neccessary for the use
of the dispatch functions from
Author: kib
Date: Wed Dec 14 16:47:53 2011
New Revision: 228503
URL: http://svn.freebsd.org/changeset/base/228503
Log:
_rtld_bind() read-locks the bind lock, and possible plt resolution
from the dispatcher would also acquire bind lock in read mode, which
is the supported operation. plt is
Dec 16 10:56:16 2011
(r228567)
@@ -0,0 +1,43 @@
+/*-
+ * Copyright (c) 2009 Konstantin Belousov k...@freebsd.org
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions
Author: kib
Date: Fri Dec 16 11:44:20 2011
New Revision: 228569
URL: http://svn.freebsd.org/changeset/base/228569
Log:
Add 'findstack' ddb command to search either the thread kernel stack
or cached stack containing the specified kernel virtual address.
Discussed with: pho
MFC
Author: kib
Date: Fri Dec 16 11:52:33 2011
New Revision: 228570
URL: http://svn.freebsd.org/changeset/base/228570
Log:
Document 'findstack'.
MFC after:1 week
Modified:
head/share/man/man4/ddb.4
Modified: head/share/man/man4/ddb.4
Author: kib
Date: Tue Dec 20 20:39:00 2011
New Revision: 228751
URL: http://svn.freebsd.org/changeset/base/228751
Log:
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 targets.
Author: kib
Date: Fri Dec 23 09:09:42 2011
New Revision: 228838
URL: http://svn.freebsd.org/changeset/base/228838
Log:
Optimize the common case of msyncing the whole file mapping with
MS_SYNC flag. The system must guarantee that all writes are finished
before syscalls returned. Schedule the
Author: kib
Date: Thu Dec 29 08:27:37 2011
New Revision: 228947
URL: http://svn.freebsd.org/changeset/base/228947
Log:
Add PCI Id for the Intel AMT serial interface as found on my DQ67OW.
MFC after:1 week
Modified:
head/sys/dev/uart/uart_bus_pci.c
Modified:
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
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
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:
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
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
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
Author: kib
Date: Thu Jun 16 22:00:59 2011
New Revision: 223165
URL: http://svn.freebsd.org/changeset/base/223165
Log:
Do not trash the argv[0] pointer for an a.out process on amd64.
Found with the binary provided by joerg.
Modified:
head/sys/kern/imgact_aout.c
Modified:
Author: kib
Date: Thu Jun 16 22:05:56 2011
New Revision: 223166
URL: http://svn.freebsd.org/changeset/base/223166
Log:
Implement compat32 for old lseek, for the a.out binaries on amd64.
Modified:
head/sys/compat/freebsd32/freebsd32_misc.c
head/sys/compat/freebsd32/syscalls.master
Author: kib
Date: Thu Jun 16 22:06:35 2011
New Revision: 223167
URL: http://svn.freebsd.org/changeset/base/223167
Log:
Regen.
Modified:
head/sys/compat/freebsd32/freebsd32_proto.h
head/sys/compat/freebsd32/freebsd32_syscall.h
head/sys/compat/freebsd32/freebsd32_syscalls.c
Author: kib
Date: Sat Jun 18 12:13:28 2011
New Revision: 223254
URL: http://svn.freebsd.org/changeset/base/223254
Log:
Fix vfork. Add comments.
Modified:
head/sys/amd64/ia32/ia32_sigtramp.S
Modified: head/sys/amd64/ia32/ia32_sigtramp.S
Author: kib
Date: Sat Jun 18 22:26:58 2011
New Revision: 223277
URL: http://svn.freebsd.org/changeset/base/223277
Log:
Fix a typo in adagetattr() from r223089. In particular, this restores
the ability to use ahci(4) for kernel dumps.
Modified:
head/sys/cam/ata/ata_da.c
Modified:
Author: kib
Date: Sat Jul 9 14:29:23 2011
New Revision: 223884
URL: http://svn.freebsd.org/changeset/base/223884
Log:
Implement bitcount16.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/sys/systm.h
Modified: head/sys/sys/systm.h
Author: kib
Date: Sat Jul 9 14:30:13 2011
New Revision: 223885
URL: http://svn.freebsd.org/changeset/base/223885
Log:
Implement pci_find_class(9), the function to find a pci device by its class.
Sponsored by: The FreeBSD Foundation
Reviewed by: jhb
MFC after:1 week
Modified:
Author: kib
Date: Sat Jul 9 14:41:28 2011
New Revision: 223886
URL: http://svn.freebsd.org/changeset/base/223886
Log:
Implement a helper functions to locally set thread-private flag, and
restore it to the previous state. Note that only setting a flag locally
is supported.
Sponsored
Author: kib
Date: Sat Jul 9 14:42:45 2011
New Revision: 223887
URL: http://svn.freebsd.org/changeset/base/223887
Log:
Use helper functions instead of manually managing TDP_INBDFLUSH.
Sponsored by: The FreeBSD Foundation
Reviewed by: alc (previous version)
MFC after:1 week
Author: kib
Date: Sat Jul 9 15:16:07 2011
New Revision: 223888
URL: http://svn.freebsd.org/changeset/base/223888
Log:
Use 'curthread_pflags' instead of 'thread_pflags' to signify that only
curthread can be operated upon.
Requested by: attilio
MFC after:1 week
Modified:
Author: kib
Date: Sat Jul 9 15:21:10 2011
New Revision: 223889
URL: http://svn.freebsd.org/changeset/base/223889
Log:
Add a facility to disable processing page faults. When activated,
uiomove generates EFAULT if any accessed address is not mapped, as
opposed to handling the fault.
Author: kib
Date: Sat Jul 9 15:24:12 2011
New Revision: 223890
URL: http://svn.freebsd.org/changeset/base/223890
Log:
Document copyin_nofault, copyout_nofault, uiomove_nofault.
Submitted by: alc
Modified:
head/share/man/man9/Makefile
head/share/man/man9/copy.9
Author: kib
Date: Sun Jul 10 18:57:35 2011
New Revision: 223911
URL: http://svn.freebsd.org/changeset/base/223911
Log:
Update locking annotations for the struct vnode.
MFC after:3 days
Modified:
head/sys/sys/vnode.h
Modified: head/sys/sys/vnode.h
Author: kib
Date: Sun Jul 10 20:45:13 2011
New Revision: 223913
URL: http://svn.freebsd.org/changeset/base/223913
Log:
Style.
MFC after:3 days
Modified:
head/sys/vm/vm_mmap.c
Modified: head/sys/vm/vm_mmap.c
Author: kib
Date: Sun Jul 10 20:49:13 2011
New Revision: 223914
URL: http://svn.freebsd.org/changeset/base/223914
Log:
Extract the code to translate VM error into errno, into an exported
function vm_mmap_to_errno(). It is useful for the drivers that implement
mmap(2)-like functionality, to
Author: kib
Date: Tue Jul 12 20:37:18 2011
New Revision: 223966
URL: http://svn.freebsd.org/changeset/base/223966
Log:
Implement an RFTSIGZMB flag to rfork(2) to specify a signal that is
delivered to parent when the child exists.
Submitted by: Petr Salinger Petr.Salinger seznam cz
Author: kib
Date: Tue Jul 12 20:38:42 2011
New Revision: 223967
URL: http://svn.freebsd.org/changeset/base/223967
Log:
Document RFTSIGZMB. Fix spelling of SIGCHLD. Note that signals are
delivered, not returned.
MFC after:1 week
Modified:
head/lib/libc/sys/rfork.2
Modified:
Author: kib
Date: Wed Jul 13 21:07:41 2011
New Revision: 223988
URL: http://svn.freebsd.org/changeset/base/223988
Log:
While fixing the looping of a thread while devfs vnode is reclaimed,
r179247 introduced a possibility of devfs_allocv() returning spurious
ENOENT. If the vnode is selected
Author: kib
Date: Sat Jul 30 14:12:37 2011
New Revision: 224521
URL: http://svn.freebsd.org/changeset/base/224521
Log:
Fix the devmtx lock leak from make_dev(9) when the old device cloning
failed due to invalid or duplicated path being generated.
Reviewed by: jh
Approved by: re
Author: kib
Date: Sat Jul 30 14:13:57 2011
New Revision: 224522
URL: http://svn.freebsd.org/changeset/base/224522
Log:
Fix a race in the device pager allocation. If another thread won and
allocated the device pager for the given handle, then the object
fictitious pages list and the object
Author: kib
Date: Mon Aug 1 08:52:05 2011
New Revision: 224568
URL: http://svn.freebsd.org/changeset/base/224568
Log:
Fix markup.
Approved by: re (hrs)
Modified:
head/share/man/man9/taskqueue.9
Modified: head/share/man/man9/taskqueue.9
Author: kib
Date: Mon Aug 1 19:12:15 2011
New Revision: 224582
URL: http://svn.freebsd.org/changeset/base/224582
Log:
Implement the linprocfs swaps file, providing information about the
configured swap devices in the Linux-compatible format.
Based on the submission by: Robert Millan
Author: kib
Date: Tue Aug 2 18:12:19 2011
New Revision: 224613
URL: http://svn.freebsd.org/changeset/base/224613
Log:
Corrections for the iBCS2 support that seems to regressed from 4.x times.
In particular:
- fix format specifiers in the DPRINTFs;
- do not use kernel_map for temporal
Author: kib
Date: Tue Aug 9 20:53:33 2011
New Revision: 224743
URL: http://svn.freebsd.org/changeset/base/224743
Log:
Do not update mountpoint generation counter to the value which was not
yet acted upon by devfs_populate().
Submitted by: Kohji Okuno okuno.kohji jp panasonic com
Author: kib
Date: Tue Aug 16 20:07:47 2011
New Revision: 224914
URL: http://svn.freebsd.org/changeset/base/224914
Log:
Add the fo_chown and fo_chmod methods to struct fileops and use them
to implement fchown(2) and fchmod(2) support for several file types
that previously lacked it. Add MAC
Author: kib
Date: Tue Aug 16 20:13:17 2011
New Revision: 224915
URL: http://svn.freebsd.org/changeset/base/224915
Log:
Do not return success and a string unknown when vn_fullpath() was unable
to resolve the path of the text vnode of the process. The behaviour is
very confusing for any
Author: kib
Date: Wed Aug 17 12:37:14 2011
New Revision: 224935
URL: http://svn.freebsd.org/changeset/base/224935
Log:
Fix build breakage. Initialize error variables explicitely for !MAC case.
Pointy hat to:kib
Approved by: re (bz)
Modified:
head/sys/kern/uipc_sem.c
Author: kib
Date: Sat Aug 20 16:12:29 2011
New Revision: 225040
URL: http://svn.freebsd.org/changeset/base/225040
Log:
Prevent the hiwatermark for the unix domain socket from becoming
effectively negative. Often seen as upstream fastcgi connection timeouts
in nginx when using sendfile over
Author: kib
Date: Mon Aug 22 11:18:47 2011
New Revision: 225076
URL: http://svn.freebsd.org/changeset/base/225076
Log:
Apply the limit to avoid the overflows in the radix tree subr_blist.c
after the conversion of the swap device size to the page size units,
not before. That lifts the limit
Author: kib
Date: Mon Aug 22 20:44:18 2011
New Revision: 225089
URL: http://svn.freebsd.org/changeset/base/225089
Log:
Update some comments in swap_pager.c.
Reviewed and most wording by: alc
MFC after:1 week
Approved by: re (bz)
Modified:
head/sys/vm/swap_pager.c
Modified:
. or Unix System Laboratories, Inc. and are reproduced herein with
+ * the permission of UNIX System Laboratories, Inc.
+ * Copyright (c) 2011 Konstantin Belousov k...@freebsd.org
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided
Author: kib
Date: Thu Aug 25 10:00:38 2011
New Revision: 225172
URL: http://svn.freebsd.org/changeset/base/225172
Log:
Clarify the behaviour of sigwait() on signal interruption, and note
the difference between sigwait() and sigtimedwait()/sigwaitinfo().
Approved by: re (bz)
Modified:
Author: kib
Date: Sun Aug 28 09:26:48 2011
New Revision: 225227
URL: http://svn.freebsd.org/changeset/base/225227
Log:
Bump shared libraries version numbers in preparation for 9.0.
This time, only libraries which ABI has been changed compared to
stable/8, are bumped.
ABI analysis done
Author: kib
Date: Tue Sep 6 10:17:02 2011
New Revision: 225415
URL: http://svn.freebsd.org/changeset/base/225415
Log:
Fix for the obsolete libraries list after the 9.0 bump.
Partially noted by: pluknet
Approved by: re (bz)
Modified:
head/ObsoleteFiles.inc
Modified:
Author: kib
Date: Tue Sep 6 10:21:33 2011
New Revision: 225417
URL: http://svn.freebsd.org/changeset/base/225417
Log:
Do not use the function pointers for the internal operation of rtld_printf()
functions. The _rtld_error() function might be called early during the rtld
bootstrap, in which
Author: kib
Date: Tue Sep 6 10:30:11 2011
New Revision: 225418
URL: http://svn.freebsd.org/changeset/base/225418
Log:
Split the vm_page flags PG_WRITEABLE and PG_REFERENCED into atomic
flags field. Updates to the atomic flags are performed using the atomic
ops on the containing word, do
Author: kib
Date: Tue Sep 6 10:40:21 2011
New Revision: 225419
URL: http://svn.freebsd.org/changeset/base/225419
Log:
Document vm_page_aflag_set(9), vm_page_aflag_clear(9) and
vm_page_reference(9).
Retire vm_page_flag_set() and vm_page_flag_clear() functions.
Reviewed by: alc
/subr_syscall.cSun Sep 11 16:05:09 2011
(r225474)
@@ -2,14 +2,11 @@
* Copyright (C) 1994, David Greenman
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
- * Copyright (c) 2007 The FreeBSD Foundation
+ * Copyright (C) 2010 Konstantin
Author: kib
Date: Sun Sep 11 16:08:10 2011
New Revision: 225475
URL: http://svn.freebsd.org/changeset/base/225475
Log:
Perform amd64-specific microoptimizations for native syscall entry
sequence. The effect is ~1% on the microbenchmark.
In particular, do not restore registers which are
Author: kib
Date: Sun Sep 11 18:00:46 2011
New Revision: 225483
URL: http://svn.freebsd.org/changeset/base/225483
Log:
The jump target shall be after the padding, not into it.
Reported by: alc
Approved by: re (bz)
MFC after:2 weeks
Modified:
head/sys/amd64/amd64/exception.S
Author: kib
Date: Tue Sep 13 20:16:11 2011
New Revision: 225534
URL: http://svn.freebsd.org/changeset/base/225534
Log:
Do not try to change the mode or ownership of the root of the mountpoint
when newly established mdmfs mount is readonly.
PR: bin/128427
Tested and reviewed by:
Author: kib
Date: Thu Sep 15 09:54:07 2011
New Revision: 225576
URL: http://svn.freebsd.org/changeset/base/225576
Log:
Put amd64_syscall() prototype in md_var.h.
Requested by: jhb
Reviewed by: alc, jhb
Approved by: re (bz)
MFC after:2 weeks
Modified:
Author: kib
Date: Thu Sep 15 11:50:09 2011
New Revision: 225582
URL: http://svn.freebsd.org/changeset/base/225582
Log:
Use the proper dynamic tls block to calculate the tls variable address
in case tls data generation was updated.
PR: misc/160721
Submitted by: Thinker K.F. Li thinker
Author: kib
Date: Tue Sep 20 21:49:54 2011
New Revision: 225699
URL: http://svn.freebsd.org/changeset/base/225699
Log:
Restore the writing of the .bss sections of the dsos (not the main
executable) after r190885. The whole region for the dso is mmaped with
MAP_NOCORE flag, doing only
Author: kib
Date: Tue Sep 20 21:53:26 2011
New Revision: 225700
URL: http://svn.freebsd.org/changeset/base/225700
Log:
Use nowait sync request for a vnode when doing softdep cleanup. We possibly
own the unrelated vnode lock, doing waiting sync causes deadlocks.
Reported and tested by:
Author: kib
Date: Tue Sep 27 12:14:43 2011
New Revision: 225790
URL: http://svn.freebsd.org/changeset/base/225790
Log:
Install ciss(4) ioctl header (together with other .h files from sys/dev/ciss).
PR: kern/109813
Discussued with: Alex Samorukov samm os2 kiev ua
401 - 500 of 4863 matches
Mail list logo