Author: kib
Date: Fri Mar 19 11:13:42 2010
New Revision: 205327
URL: http://svn.freebsd.org/changeset/base/205327
Log:
Remove empty line.
MFC after:2 weeks
Modified:
head/sys/compat/freebsd32/freebsd32_misc.c
Modified: head/sys/compat/freebsd32/freebsd32_misc.c
Author: kib
Date: Fri Mar 19 11:14:37 2010
New Revision: 205328
URL: http://svn.freebsd.org/changeset/base/205328
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: Tue Apr 6 10:43:01 2010
New Revision: 206264
URL: http://svn.freebsd.org/changeset/base/206264
Log:
When OOM searches for a process to kill, ignore the processes already
killed by OOM. When killed process waits for a page allocation, try to
satisfy the request as fast as
Author: kib
Date: Thu Apr 8 08:58:18 2010
New Revision: 206395
URL: http://svn.freebsd.org/changeset/base/206395
Log:
Do not leak master pty or ptmx vnode.
Report and test case by: Petr Salinger Petr.Salinger seznam cz
Reviewed by: ed
MFC after:1 week
Modified:
Author: kib
Date: Thu Apr 8 12:07:40 2010
New Revision: 206397
URL: http://svn.freebsd.org/changeset/base/206397
Log:
Enhance r199804 by marking the daemonised child as immune to OOM instead
of short-living parent. Only mark the master process that accepts
connections, do not protect
Author: kib
Date: Tue Apr 13 08:45:55 2010
New Revision: 206546
URL: http://svn.freebsd.org/changeset/base/206546
Log:
Remove XXX comment. Add another comment, describing why f_vnode assignment
is useful.
MFC after:3 days
Modified:
head/sys/kern/vfs_syscalls.c
Modified:
Author: kib
Date: Tue Apr 13 08:54:53 2010
New Revision: 206548
URL: http://svn.freebsd.org/changeset/base/206548
Log:
Update the list of the process flags for P_WKILLED.
MFC after:4 weeks
Modified:
head/bin/ps/ps.1
Modified: head/bin/ps/ps.1
Author: kib
Date: Wed Apr 14 20:04:55 2010
New Revision: 206623
URL: http://svn.freebsd.org/changeset/base/206623
Log:
ld_gs_base is executing with stack containing only the frame,
temporary pushed %rflags has been popped already.
Pointy hat to:kib
MFC after:3 days
Author: kib
Date: Thu Apr 15 08:32:50 2010
New Revision: 206649
URL: http://svn.freebsd.org/changeset/base/206649
Log:
Still reference struct __sigaction with clarification when this form
of argument declaration is needed.
Discussed with: bde
MFC after:3 days
Modified:
Author: kib
Date: Thu Apr 15 17:17:02 2010
New Revision: 206671
URL: http://svn.freebsd.org/changeset/base/206671
Log:
Fix typo.
MFC after:3 days
Modified:
head/sys/kern/vfs_cache.c
Modified: head/sys/kern/vfs_cache.c
Author: kib
Date: Sun Apr 18 18:23:11 2010
New Revision: 206802
URL: http://svn.freebsd.org/changeset/base/206802
Log:
Revert r206649.
Simplify the presented declaration of struct sigaction, noting the
caveat in the text. Real layout of the structure and exposed
implementation
Author: kib
Date: Tue Apr 20 10:16:44 2010
New Revision: 206893
URL: http://svn.freebsd.org/changeset/base/206893
Log:
Slightly modernize realpath(3).
SUSv4 requires that implementation returns EINVAL if supplied path is NULL,
and ENOENT if path is empty string [1].
Bring prototype in
Author: kib
Date: Tue Apr 20 14:22:29 2010
New Revision: 206898
URL: http://svn.freebsd.org/changeset/base/206898
Log:
Free() is not allowed to modify errno, remove safety brackets around it [1].
Add small optimization, do not copy a string to the buffer that is
to be freed immediately
Author: kib
Date: Wed Apr 21 11:17:16 2010
New Revision: 206992
URL: http://svn.freebsd.org/changeset/base/206992
Log:
As was done in r155238 for i386 and in r155239 for amd64, clear the carry
flag for ia32 binary executed on amd64 host in get_mcontext().
PR: kern/92110 (one more time)
Author: kib
Date: Wed Apr 21 16:38:37 2010
New Revision: 206997
URL: http://svn.freebsd.org/changeset/base/206997
Log:
Move realpath(3) prototype to a POSIX section.
Noted by: bde
MFC after:2 weeks
Modified:
head/include/stdlib.h
Modified: head/include/stdlib.h
Author: kib
Date: Wed Apr 21 16:41:02 2010
New Revision: 206998
URL: http://svn.freebsd.org/changeset/base/206998
Log:
Add standards section, improve wording, taking into account the handling
of NULL and changed type in declaration.
Suggested by: bde
MFC after:2 weeks
Modified:
Author: kib
Date: Wed Apr 21 19:28:01 2010
New Revision: 207007
URL: http://svn.freebsd.org/changeset/base/207007
Log:
Extract the code to copy-out struct rusage32 from struct rusage
into the new function.
Reviewed by: jhb
MFC after:1 week
Modified:
Author: kib
Date: Wed Apr 21 19:32:00 2010
New Revision: 207008
URL: http://svn.freebsd.org/changeset/base/207008
Log:
Provide compat32 shims for kinfo_proc sysctl. This allows 32bit ps(1) to
mostly work on 64bit host.
The work is based on an original patch submitted by emaste, obtained
Author: kib
Date: Wed Apr 21 19:35:56 2010
New Revision: 207009
URL: http://svn.freebsd.org/changeset/base/207009
Log:
C language does not has references, it provides pointers.
Suggested by: bde
MFC after:2 weeks
Modified:
head/lib/libc/stdlib/realpath.3
Modified:
Author: kib
Date: Wed Apr 21 20:04:42 2010
New Revision: 207016
URL: http://svn.freebsd.org/changeset/base/207016
Log:
Fix typo.
Submitted by: emaste
Pointy hat to:kib (who needs much bigger wardrobe)
MFC after:1 week
Modified:
head/sys/kern/kern_proc.c
Modified:
Author: kib
Date: Sat Apr 24 12:49:52 2010
New Revision: 207152
URL: http://svn.freebsd.org/changeset/base/207152
Log:
Move the constants specifying the size of struct kinfo_proc into
machine-specific header files. Add KINFO_PROC32_SIZE for struct
kinfo_proc32 for architectures providing
Author: kib
Date: Sun Apr 25 16:42:47 2010
New Revision: 207194
URL: http://svn.freebsd.org/changeset/base/207194
Log:
Provide 32bit compat shims for sysctl net.route NET_RT_IFLIST.
This allows getifaddrs(3) to work for compat32 binaries.
Submitted by: jhb (6.x version)
Reviewed by:
Author: kib
Date: Sun Apr 25 16:43:41 2010
New Revision: 207195
URL: http://svn.freebsd.org/changeset/base/207195
Log:
Provide compat32 shims for bpf(4), except zero-copy facilities.
bd_compat32 field of struct bpf_d is kept unconditionally to not
impose the requirement of including
Author: kib
Date: Tue Apr 27 09:48:43 2010
New Revision: 207269
URL: http://svn.freebsd.org/changeset/base/207269
Log:
Style: use #defineTAB instead of #defineSPACE.
Noted by: bde, pluknet gmail com
MFC after:11 days
Modified:
head/sys/amd64/include/proc.h
Author: kib
Date: Thu Apr 29 09:55:51 2010
New Revision: 207363
URL: http://svn.freebsd.org/changeset/base/207363
Log:
Remove caddr_t casts.
Requested by: bde
MFC after:10 days
Modified:
head/sys/kern/kern_proc.c
Modified: head/sys/kern/kern_proc.c
Author: kib
Date: Thu Apr 29 09:57:25 2010
New Revision: 207364
URL: http://svn.freebsd.org/changeset/base/207364
Log:
In swap pager, do not free the non-requested pages from the run if they are
wired. Kstack pages are wired, this change prepares swap pager for handling
of long runs of
Author: kib
Date: Thu Apr 29 09:59:16 2010
New Revision: 207365
URL: http://svn.freebsd.org/changeset/base/207365
Log:
When doing kstack swapin, read as much pages in one run as possible.
Suggested and reviewed by:alc (previous version)
Tested by:pho
MFC after:2 weeks
Author: kib
Date: Sat Apr 2 15:47:23 2011
New Revision: 220280
URL: http://svn.freebsd.org/changeset/base/220280
Log:
Provide the structures and ioctl number definition for handling
PCIOCGETCONF compat32.
Submitted by: John Wehle john feith com
MFC after:2 weeks
Modified:
Author: kib
Date: Sat Apr 2 16:02:25 2011
New Revision: 220281
URL: http://svn.freebsd.org/changeset/base/220281
Log:
Implement compat32 shims for PCIOCGETCONF.
There is a generic problem with the shims for ioctls that receive
pointers to the usermode data areas in the data argument. We
Author: kib
Date: Fri Apr 8 21:26:50 2011
New Revision: 220460
URL: http://svn.freebsd.org/changeset/base/220460
Log:
Disable local interrupts before testing the PCB_FULL_IRET flag.
Thread might be preempted after testing, which causes the flag to be
cleared. If ast was not delivered, we
Author: kib
Date: Fri Apr 8 21:27:31 2011
New Revision: 220461
URL: http://svn.freebsd.org/changeset/base/220461
Log:
Remove setting of PCB_FULL_IRET at the places where we are going to call
update_gdt_{f,g}sbase. The functions set the flag when td == curthread,
and sysarch is always
Author: kib
Date: Sat Apr 9 21:40:48 2011
New Revision: 220506
URL: http://svn.freebsd.org/changeset/base/220506
Log:
Linuxolator calls VOP_READDIR with ncookies pointer. Implement a
workaround for fdescfs to not panic when ncookies is not NULL, similar
to the one committed as r152254, but
Author: kib
Date: Sun Apr 10 17:07:02 2011
New Revision: 220526
URL: http://svn.freebsd.org/changeset/base/220526
Log:
Some callers of proc_reparent() already have the parent process locked.
Detect the situation and avoid process lock recursion.
Reported by: Fabian Keil freebsd-listen
Author: kib
Date: Mon Apr 18 21:24:42 2011
New Revision: 220803
URL: http://svn.freebsd.org/changeset/base/220803
Log:
Make pmap_invalidate_cache_range() available for consumption on amd64.
Add pmap_invalidate_cache_pages() method on x86. It flushes the CPU
cache for the set of pages,
Author: kib
Date: Sat Apr 23 21:38:21 2011
New Revision: 220977
URL: http://svn.freebsd.org/changeset/base/220977
Log:
Fix two bugs in r218670.
Hold the vnode around the region where object lock is dropped, until
vnode lock is acquired.
Do not drop the vnode reference for a case
Author: kib
Date: Sat Apr 23 23:11:44 2011
New Revision: 220979
URL: http://svn.freebsd.org/changeset/base/220979
Log:
Fix display of the drm sysctls.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/dev/drm/drm_sysctl.c
Modified:
Author: kib
Date: Sun Apr 24 10:47:56 2011
New Revision: 220985
URL: http://svn.freebsd.org/changeset/base/220985
Log:
VFS sometimes is unable to inactivate a vnode when vnode use count
goes to zero. E.g., the vnode might be only shared-locked at the time of
vput() call. Such vnodes are
Author: kib
Date: Sun Apr 24 13:22:14 2011
New Revision: 220987
URL: http://svn.freebsd.org/changeset/base/220987
Log:
Fix typo.
MFC after:3 days
Modified:
head/sys/sys/systm.h
Modified: head/sys/sys/systm.h
Author: kib
Date: Tue Apr 26 11:39:56 2011
New Revision: 221059
URL: http://svn.freebsd.org/changeset/base/221059
Log:
Implement the delayed task execution extension to the taskqueue
mechanism. The caller may specify a timeout in ticks after which the
task will be scheduled.
Sponsored
Author: kib
Date: Tue Apr 26 11:43:57 2011
New Revision: 221060
URL: http://svn.freebsd.org/changeset/base/221060
Log:
Document timeout_task.
While there, fix the type of the func argument of INIT_TASK macro,
and use the modern name of the analogous facility from Linux kernel.
Author: kib
Date: Sat Apr 30 13:49:03 2011
New Revision: 221261
URL: http://svn.freebsd.org/changeset/base/221261
Log:
Clarify the comment.
MFC after:1 week
Modified:
head/sys/fs/ext2fs/ext2_readwrite.c
head/sys/ufs/ffs/ffs_vnops.c
Modified: head/sys/fs/ext2fs/ext2_readwrite.c
Author: kib
Date: Sat Apr 30 22:46:02 2011
New Revision: 221281
URL: http://svn.freebsd.org/changeset/base/221281
Log:
Fix typos.
Noted by: Fabian Keil freebsd-listen fabiankeil de
Pointy hat to:kib
MFC after:1 week
Modified:
head/sys/ufs/ffs/ffs_vnops.c
Modified:
Author: kib
Date: Wed May 18 22:36:58 2011
New Revision: 222086
URL: http://svn.freebsd.org/changeset/base/222086
Log:
The CDP_ACTIVE flag is cleared at the beginning of destroy_devl(),
and destroy_devl() drops dev_mtx. The protection against the race
with dev_rel(), introduced in r163328,
Author: kib
Date: Wed Jun 1 21:00:28 2011
New Revision: 222586
URL: http://svn.freebsd.org/changeset/base/222586
Log:
In the VOP_PUTPAGES() implementations, change the default error from
VM_PAGER_AGAIN to VM_PAGER_ERROR for the uwritten pages. Return
VM_PAGER_AGAIN for the partially
Author: kib
Date: Sat Jun 11 20:13:28 2011
New Revision: 222991
URL: http://svn.freebsd.org/changeset/base/222991
Log:
Fix a bug in r222586. Lock the page owner object around the modification
of the m-dirty.
Reported and tested by: nwhitehorn
Reviewed by: alc
Modified:
Author: kib
Date: Sat Jun 11 20:15:19 2011
New Revision: 222992
URL: http://svn.freebsd.org/changeset/base/222992
Log:
Assert that page is VPO_BUSY or page owner object is locked in
vm_page_undirty(). The assert is not precise due to VPO_BUSY owner
to tracked, so assertion does not catch
Author: kib
Date: Sat Jan 7 10:33:01 2012
New Revision: 229768
URL: http://svn.freebsd.org/changeset/base/229768
Log:
Implement fdlopen(3), an rtld interface to load shared object by file
descriptor.
Requested and tested by: des (previous version)
Reviewed by: des, kan (previous
Author: kib
Date: Sat Jan 7 11:16:23 2012
New Revision: 229771
URL: http://svn.freebsd.org/changeset/base/229771
Log:
Document comconsole_port and comconsole_pcidev loader variables.
MFC after:2 weeks
Modified:
head/sys/boot/common/loader.8
Modified: head/sys/boot/common/loader.8
Author: kib
Date: Sun Jan 8 23:06:53 2012
New Revision: 229828
URL: http://svn.freebsd.org/changeset/base/229828
Log:
Avoid LOR between vfs_busy() lock and covered vnode lock on quotaon().
The vfs_busy() is after covered vnode lock in the global lock order, but
since quotaon() does
Author: kib
Date: Tue Jan 10 18:05:44 2012
New Revision: 229934
URL: http://svn.freebsd.org/changeset/base/229934
Log:
Change the type of the paging_in_progress refcounter from u_short to
u_int. With the auto-sized buffer cache on the modern machines, UFS
metadata can generate more the
Author: kib
Date: Wed Jan 11 17:46:08 2012
New Revision: 229971
URL: http://svn.freebsd.org/changeset/base/229971
Log:
Add PCI Id for the AMT SOL UART on 5 series Intel chipsets.
MFC after:1 week
Modified:
head/sys/dev/uart/uart_bus_pci.c
Modified: head/sys/dev/uart/uart_bus_pci.c
Author: kib
Date: Tue Jan 17 07:21:23 2012
New Revision: 230260
URL: http://svn.freebsd.org/changeset/base/230260
Log:
Add macro IS_BSP() to check whether the current CPU is BSP.
MFC after:1 week
Modified:
head/sys/amd64/include/pcpu.h
Modified: head/sys/amd64/include/pcpu.h
Author: kib
Date: Tue Jan 17 07:30:36 2012
New Revision: 230262
URL: http://svn.freebsd.org/changeset/base/230262
Log:
Implement xsetbv(), xsave() and xrstor() providing C access to the
similarly named CPU instructions.
Since our in-tree binutils gas is not aware of the instructions, and
Author: kib
Date: Tue Jan 17 16:53:41 2012
New Revision: 230269
URL: http://svn.freebsd.org/changeset/base/230269
Log:
Modernize the fpusave structures definitions by using uint*_t types.
MFC after:1 week
Modified:
head/sys/amd64/include/fpu.h
Modified: head/sys/amd64/include/fpu.h
Author: kib
Date: Tue Jan 17 17:07:13 2012
New Revision: 230270
URL: http://svn.freebsd.org/changeset/base/230270
Log:
Add definitions for the FPU extended state header, legacy extended
state and AVX state.
MFC after:1 week
Modified:
head/sys/amd64/include/fpu.h
Author: kib
Date: Thu Jan 19 23:03:31 2012
New Revision: 230341
URL: http://svn.freebsd.org/changeset/base/230341
Log:
Use shared lock for the executable vnode in the exec path after the
VV_TEXT changes are handled. Assert that vnode is exclusively locked at
the places that modify VV_TEXT.
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/amd64/amd64/ptrace_machdep.c Sat Jan 21 17:45:27 2012
(r230426)
@@ -0,0 +1,141 @@
+/*-
+ * Copyright (c) 2011 Konstantin Belousov k...@freebsd.org
+ * All
Author: kib
Date: Sat Jan 21 17:50:14 2012
New Revision: 230427
URL: http://svn.freebsd.org/changeset/base/230427
Log:
Adopt to new layout of struct pcb.
MFC after:1 month
Modified:
head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
Modified: head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
Author: kib
Date: Sun Jan 22 01:11:06 2012
New Revision: 230441
URL: http://svn.freebsd.org/changeset/base/230441
Log:
Remove the nc_time and nc_ticks elements from struct namecache, and
provide struct namecache_ts which is the old struct namecache. Only
allocate struct namecache_ts if
Author: kib
Date: Sun Jan 22 11:35:50 2012
New Revision: 230459
URL: http://svn.freebsd.org/changeset/base/230459
Log:
Fix typo.
Submitted by: John Marino draco marino st
MFC after:3 days
Modified:
head/sys/sys/elf_common.h
Modified: head/sys/sys/elf_common.h
Author: kib
Date: Sun Jan 22 11:58:17 2012
New Revision: 230460
URL: http://svn.freebsd.org/changeset/base/230460
Log:
Clarify the implementation-defined behaviour in case of close(2)
returning error.
MFC after:1 week
Modified:
head/lib/libc/sys/close.2
Modified:
Author: kib
Date: Mon Jan 23 17:09:23 2012
New Revision: 230489
URL: http://svn.freebsd.org/changeset/base/230489
Log:
Apparently, both nfs clients do not use cache_enter_time()
consistently, creating some namecache entries without NCF_TS flag.
This causes panic due to failed assertion.
Author: kib
Date: Wed Jan 25 12:43:27 2012
New Revision: 230538
URL: http://svn.freebsd.org/changeset/base/230538
Log:
Order newly added functions alphabetically.
Requested by: bde
MFC after:3 days
Modified:
head/sys/amd64/include/cpufunc.h
Modified:
Author: kib
Date: Wed Jan 25 20:48:20 2012
New Revision: 230552
URL: http://svn.freebsd.org/changeset/base/230552
Log:
Fix remaining calls to cache_enter() in both NFS clients to provide
appropriate timestamps. Restore the assertions which verify that
NCF_TS is set when timestamp is asked
Author: kib
Date: Wed Jan 25 20:54:09 2012
New Revision: 230553
URL: http://svn.freebsd.org/changeset/base/230553
Log:
When doing vflush(WRITECLOSE), clean vnode pages.
Unmounts do vfs_msync() before calling VFS_UNMOUNT(), but there is
still a race allowing a process to dirty pages after
Author: kib
Date: Mon Jan 30 07:51:52 2012
New Revision: 230765
URL: http://svn.freebsd.org/changeset/base/230765
Log:
Synchronize the struct sigcontext definitions on x86 with mcontext_t.
Pointed out by: bde
MFC after:1 month
Modified:
head/sys/amd64/include/signal.h
Author: kib
Date: Mon Jan 30 07:53:33 2012
New Revision: 230766
URL: http://svn.freebsd.org/changeset/base/230766
Log:
Move xrstor/xsave/xsetbv into fpu.c and reorder them.
Requested by: bde
MFC after:1 month
Modified:
head/sys/amd64/amd64/fpu.c
head/sys/amd64/include/cpufunc.h
Author: kib
Date: Mon Jan 30 07:56:00 2012
New Revision: 230767
URL: http://svn.freebsd.org/changeset/base/230767
Log:
Finally, try to enable the nxstacks on amd64 and powerpc64 for both 64bit
and 32bit ABIs. Also try to enable nxstacks for PAE/i386 when supported,
and some variants of
Author: kib
Date: Mon Jan 30 19:31:17 2012
New Revision: 230779
URL: http://svn.freebsd.org/changeset/base/230779
Log:
Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32.
MFC after:2 months
Modified:
head/sys/powerpc/aim/mmu_oea64.c
Modified:
Author: kib
Date: Mon Jan 30 19:50:13 2012
New Revision: 230783
URL: http://svn.freebsd.org/changeset/base/230783
Log:
Add definition for PT_GNU_RELRO.
MFC after:3 days
Modified:
head/sys/sys/elf_common.h
Modified: head/sys/sys/elf_common.h
Author: kib
Date: Mon Jan 30 19:52:17 2012
New Revision: 230784
URL: http://svn.freebsd.org/changeset/base/230784
Log:
Add support for GNU RELRO.
Submitted by: John Marino draco marino st
MFC after:2 weeks
Modified:
head/libexec/rtld-elf/map_object.c
head/libexec/rtld-elf/rtld.c
Author: kib
Date: Mon Jan 30 20:00:29 2012
New Revision: 230785
URL: http://svn.freebsd.org/changeset/base/230785
Log:
A debugger which requested PT_FOLLOW_FORK should get the notification
about new child not only when doing PT_TO_SCX, but also for PT_CONTINUE.
If TDB_FORK flag is set,
On Mon, Jan 30, 2012 at 02:07:03PM -0500, David Schultz wrote:
On Mon, Jan 30, 2012, Kostik Belousov wrote:
On Sun, Jan 29, 2012 at 05:39:04PM -0500, David Schultz wrote:
On Sun, Jan 29, 2012, Kostik Belousov wrote:
On Sat, Jan 28, 2012 at 07:12:25PM -0500, David Schultz wrote:
On
Author: kib
Date: Wed Feb 1 13:33:53 2012
New Revision: 230864
URL: http://svn.freebsd.org/changeset/base/230864
Log:
Make the sys/ucontext.h self-contained by changing the return type
of __getcontextx_size(3) from size_t to int.
PR: ports/164654
MFC after:1 month
Modified:
Author: kib
Date: Wed Feb 1 14:34:52 2012
New Revision: 230866
URL: http://svn.freebsd.org/changeset/base/230866
Log:
Add kqueue support to /dev/klog.
Submitted by: Mateusz Guzik mjguzik gmail com
PR: kern/156423
MFC after:1 weeks
Modified:
head/sys/kern/subr_log.c
On Tue, Jan 31, 2012 at 12:48:49PM -0500, David Schultz wrote:
On Tue, Jan 31, 2012, Konstantin Belousov wrote:
On Mon, Jan 30, 2012 at 02:07:03PM -0500, David Schultz wrote:
On Mon, Jan 30, 2012, Kostik Belousov wrote:
On Sun, Jan 29, 2012 at 05:39:04PM -0500, David Schultz wrote
Author: kib
Date: Sat Feb 4 13:12:52 2012
New Revision: 230978
URL: http://svn.freebsd.org/changeset/base/230978
Log:
Be as explicit as possible when describing relation between the -m mask
argument and slices. Adjust example for the same reason.
Submitted by: Valentin Nechayev netch
Author: kib
Date: Mon Feb 6 11:04:36 2012
New Revision: 231075
URL: http://svn.freebsd.org/changeset/base/231075
Log:
Current implementations of sync(2) and syncer vnode fsync() VOP uses
mnt_noasync counter to temporary remove MNTK_ASYNC mount option, which
is needed to guarantee a
Author: kib
Date: Mon Feb 6 11:47:24 2012
New Revision: 231077
URL: http://svn.freebsd.org/changeset/base/231077
Log:
JNEWBLK dependency may legitimately appear on the buf dependency
list. If softdep_sync_buf() discovers such dependency, it should do
nothing, which is safe as it is only
Author: kib
Date: Mon Feb 6 17:59:14 2012
New Revision: 231091
URL: http://svn.freebsd.org/changeset/base/231091
Log:
Add missing opt_quota.h include to activate #ifdef QUOTA blocks,
apparently a step in unbreaking QUOTA support.
Reported and tested by: Adam Strohl adams-freebsd
Author: kib
Date: Tue Feb 7 09:51:41 2012
New Revision: 231122
URL: http://svn.freebsd.org/changeset/base/231122
Log:
Sprinkle missed calls to asynchronous UFS_UPDATE() in attempt to
guarantee that all UFS inode metadata changes results in the dirtiness
of the inodeblock. Due to missed
On Tue, Feb 07, 2012 at 09:27:08AM +, Dimitry Andric wrote:
Author: dim
Date: Tue Feb 7 09:27:07 2012
New Revision: 231118
URL: http://svn.freebsd.org/changeset/base/231118
Log:
Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead
On Tue, Feb 07, 2012 at 04:19:22PM +0100, Dimitry Andric wrote:
On 2012-02-07 12:07, Konstantin Belousov wrote:
On Tue, Feb 07, 2012 at 09:27:08AM +, Dimitry Andric wrote:
Author: dim
Date: Tue Feb 7 09:27:07 2012
New Revision: 231118
URL: http://svn.freebsd.org/changeset/base
Author: kib
Date: Wed Feb 8 15:07:19 2012
New Revision: 231204
URL: http://svn.freebsd.org/changeset/base/231204
Log:
Unbreak detection of the async mode for clustered writes after r231075.
Submitted by: bde
MFC after:12 days
Modified:
head/sys/kern/vfs_cluster.c
Modified:
Author: kib
Date: Wed Feb 8 18:36:07 2012
New Revision: 231220
URL: http://svn.freebsd.org/changeset/base/231220
Log:
Trim 8 unused bytes from struct vnode on 64-bit architectures.
Reviewed by: alc
Modified:
head/sys/sys/vnode.h
Modified: head/sys/sys/vnode.h
On Wed, Feb 08, 2012 at 11:21:59AM -0800, m...@freebsd.org wrote:
On Wed, Feb 8, 2012 at 10:36 AM, Konstantin Belousov k...@freebsd.org wrote:
Author: kib
Date: Wed Feb 8 18:36:07 2012
New Revision: 231220
URL: http://svn.freebsd.org/changeset/base/231220
Log:
Trim 8 unused bytes
Author: kib
Date: Fri Feb 10 00:02:13 2012
New Revision: 231320
URL: http://svn.freebsd.org/changeset/base/231320
Log:
Mark the automatically attached child with PL_FLAG_CHILD in struct
lwpinfo flags, for PT_FOLLOWFORK auto-attachment.
In collaboration with:Dmitry Mikulin dmitrym
Author: kib
Date: Fri Feb 10 21:26:25 2012
New Revision: 231441
URL: http://svn.freebsd.org/changeset/base/231441
Log:
In cpu_set_user_tls(), consistently set PCB_FULL_IRET pcb flag for
both 64bit and 32bit binaries, not for 64bit only.
The set of the flag is not neccessary there,
, because file is newly added)
+++ head/tools/test/ptrace/scescx.c Fri Feb 10 21:33:12 2012
(r231443)
@@ -0,0 +1,406 @@
+/*-
+ * Copyright (c) 2011, 2012 Konstantin Belousov k...@freebsd.org
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
On Sat, Feb 11, 2012 at 01:57:31PM +, Robert Millan wrote:
El 10 de febrer de 2012 19:42, Robert Millan r...@freebsd.org ha escrit:
Here's a possible solution to this patch (untested). In case it looks
fine to everyone (and my mentors approve it), I'll definitely test
with make
Author: kib
Date: Sat Feb 11 14:49:25 2012
New Revision: 231521
URL: http://svn.freebsd.org/changeset/base/231521
Log:
The PTRACESTOP() macro is used only once. Inline the only use and remove
the macro.
MFC after:1 week
Modified:
head/sys/kern/subr_syscall.c
Author: kib
Date: Sat Feb 11 17:29:07 2012
New Revision: 231526
URL: http://svn.freebsd.org/changeset/base/231526
Log:
Close a race due to dropping of the map lock between creating map entry
for a shared mapping and marking the entry for inheritance.
Other thread might execute
(r231867)
+++ head/lib/libc/gen/aux.c Fri Feb 17 10:49:29 2012(r231868)
@@ -1,5 +1,5 @@
/*-
- * Copyright 2010 Konstantin Belousov k...@freebsd.org.
+ * Copyright 2010, 2012 Konstantin Belousov k...@freebsd.org.
* All rights reserved.
*
* Redistribution and use in source
10:51:40 2012
(r231869)
@@ -0,0 +1,115 @@
+.\ Copyright (c) 2005 Mark Kettenis
+.\ Copyright (c) 2012 Konstantin Belousov k...@freebsd.org
+.\
+.\ Permission to use, copy, modify, and distribute this software for any
+.\ purpose with or without fee is hereby granted, provided that the above
Author: kib
Date: Fri Feb 17 12:40:27 2012
New Revision: 231873
URL: http://svn.freebsd.org/changeset/base/231873
Log:
Fix cross-references.
Submitted by: pluknet
MFC after: 2 weeks
Modified:
head/lib/libc/gen/dl_iterate_phdr.3
Modified: head/lib/libc/gen/dl_iterate_phdr.3
Author: kib
Date: Fri Feb 17 23:47:16 2012
New Revision: 231885
URL: http://svn.freebsd.org/changeset/base/231885
Log:
Fix misuse of the kernel map in miscellaneous image activators.
Vnode-backed mappings cannot be put into the kernel map, since it is a
system map.
Use exec_map for
Author: kib
Date: Sat Feb 18 22:26:32 2012
New Revision: 231902
URL: http://svn.freebsd.org/changeset/base/231902
Log:
Document PL_FLAG_CHILD.
MFC after:3 days
Modified:
head/lib/libc/sys/ptrace.2
Modified: head/lib/libc/sys/ptrace.2
On Mon, Feb 20, 2012 at 09:32:33AM +, Xin LI wrote:
Author: delphij
Date: Mon Feb 20 09:32:32 2012
New Revision: 231931
URL: http://svn.freebsd.org/changeset/base/231931
Log:
Revert r231923 for now. Further work is needed to make sure that the
behavior is consistent.
You can do
Author: kib
Date: Tue Feb 21 01:05:12 2012
New Revision: 231949
URL: http://svn.freebsd.org/changeset/base/231949
Log:
Fix found places where uio_resid is truncated to int.
Add the sysctl debug.iosize_max_clamp, enabled by default. Setting the
sysctl to zero allows to perform the
Author: kib
Date: Wed Feb 22 13:01:17 2012
New Revision: 231998
URL: http://svn.freebsd.org/changeset/base/231998
Log:
Use DOINGASYNC() to test for async allowance, to honor VFS syncing requests.
Noted by: bde
MFC after:1 week
Modified:
head/sys/fs/msdosfs/msdosfs_denode.c
701 - 800 of 4863 matches
Mail list logo