Author: kib
Date: Fri Nov 26 14:35:20 2010
New Revision: 215864
URL: http://svn.freebsd.org/changeset/base/215864
Log:
MFaesni r215427:
Only save FPU context when not executing in the context of the crypto
thread.
Tested by:Mike Tancsa
MFC after:1 week
Modified:
head/sys/cr
Author: kib
Date: Fri Nov 26 14:50:42 2010
New Revision: 215865
URL: http://svn.freebsd.org/changeset/base/215865
Log:
Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs()
functions, they are unused. Remove 'user' from npxgetuserregs()
etc. names.
For {npx,fpu}{get,set}regs(
Author: kib
Date: Fri Nov 26 15:30:02 2010
New Revision: 215866
URL: http://svn.freebsd.org/changeset/base/215866
Log:
MFC r215471:
In vm_object_page_clean(), handle the pages that might be cached
or not written by vm_pageout_flush().
MFC r215574:
The runlen returned from vm_pageout_f
Author: kib
Date: Fri Nov 26 15:33:09 2010
New Revision: 215867
URL: http://svn.freebsd.org/changeset/base/215867
Log:
MFC r215469:
Only increment object generation count when inserting the page into
object page list.
Modified:
stable/8/sys/vm/vm_object.c
stable/8/sys/vm/vm_page.c
Direc
Author: kib
Date: Sat Nov 27 15:41:44 2010
New Revision: 215942
URL: http://svn.freebsd.org/changeset/base/215942
Log:
Remove DEBUG sections.
MFC after:3 days
Modified:
head/sys/crypto/aesni/aesni_wrap.c
Modified: head/sys/crypto/aesni/aesni_wrap.c
==
Author: kib
Date: Sun Nov 28 17:56:34 2010
New Revision: 216012
URL: http://svn.freebsd.org/changeset/base/216012
Log:
Calling fill_fpregs() for curthread is legitimate, and ELF coredump
does this.
Reported and tested by: pho
MFC after:5 days
Modified:
head/sys/amd64/amd64/
Author: kib
Date: Tue Nov 30 08:39:05 2010
New Revision: 216073
URL: http://svn.freebsd.org/changeset/base/216073
Log:
MFC r215942:
Remove DEBUG sections.
Approved by: re (bz)
Modified:
stable/8/sys/crypto/aesni/aesni_wrap.c
Directory Properties:
stable/8/sys/ (props changed)
st
Author: kib
Date: Wed Dec 1 15:28:23 2010
New Revision: 216096
URL: http://svn.freebsd.org/changeset/base/216096
Log:
MFC r215797:
Allow shared-locked vnode to be passed to vunref(9).
Approved by: re (bz)
Modified:
stable/8/sys/kern/vfs_subr.c
Directory Properties:
stable/8/sys/
Author: kib
Date: Wed Dec 1 15:31:31 2010
New Revision: 216097
URL: http://svn.freebsd.org/changeset/base/216097
Log:
MFC r215798:
Remove the note about possible unlocking during vunref(9).
Approved by: re (bz)
Modified:
stable/8/share/man/man9/vrele.9
Directory Properties:
stable/
Author: kib
Date: Wed Dec 1 21:19:11 2010
New Revision: 216099
URL: http://svn.freebsd.org/changeset/base/216099
Log:
Journal start looks up .sujournal file by doing lookup on the root dvp.
As result, failed softdep_mount() might leave up to two vnodes on the
mp mountlist, preventing mnt_re
Author: kib
Date: Thu Dec 2 00:49:02 2010
New Revision: 216102
URL: http://svn.freebsd.org/changeset/base/216102
Log:
MFC r215838:
Account i/o done on cdevs.
Approved by: re (bz)
Modified:
stable/8/sys/kern/kern_physio.c
Directory Properties:
stable/8/sys/ (props changed)
stabl
Author: kib
Date: Thu Dec 2 12:44:51 2010
New Revision: 216120
URL: http://svn.freebsd.org/changeset/base/216120
Log:
For non-stopped threads, td_frame pointer is undefined. As a
consequence, fill_regs() and fill_fpregs() access random data, usually
on the thread kernel stack. Most often t
Author: kib
Date: Fri Dec 3 16:07:50 2010
New Revision: 216149
URL: http://svn.freebsd.org/changeset/base/216149
Log:
Add SLIST_SWAP() macro.
MFC after:1 week
Modified:
head/sys/sys/queue.h
Modified: head/sys/sys/queue.h
=
Author: kib
Date: Fri Dec 3 16:15:44 2010
New Revision: 216150
URL: http://svn.freebsd.org/changeset/base/216150
Log:
Reviewed by: jeff, rwatson
MFC after:1 week
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
==
Author: kib
Date: Fri Dec 3 16:17:53 2010
New Revision: 216151
URL: http://svn.freebsd.org/changeset/base/216151
Log:
Extend the unix gc regression test to cover the case of r216150.
Requested and reviewed by:rwatson
MFC after:1 week
Modified:
head/tools/regression/sockets/uni
Author: kib
Date: Fri Dec 3 16:40:47 2010
New Revision: 216155
URL: http://svn.freebsd.org/changeset/base/216155
Log:
MFC r215864:
MFaesni r215427:
Only save FPU context when not executing in the context of the crypto
thread.
Approved by: re (bz)
Modified:
stable/8/sys/crypto/via
Author: kib
Date: Fri Dec 3 20:39:06 2010
New Revision: 216158
URL: http://svn.freebsd.org/changeset/base/216158
Log:
Trim whitespaces at the end of lines. Use the commit to record
proper log message for r216150.
MFC after:1 week
If unix socket has a unix socket attached as the
Author: kib
Date: Fri Dec 3 21:52:01 2010
New Revision: 216160
URL: http://svn.freebsd.org/changeset/base/216160
Log:
MFC r216120:
For /proc//{regs,fpregs} read access, require the thread to be in
stopped state. Otherwise, return EBUSY as is done for write case.
Approved by: re (bz)
Author: kib
Date: Fri Dec 3 22:07:07 2010
New Revision: 216162
URL: http://svn.freebsd.org/changeset/base/216162
Log:
MFC r209463:
Fix bugs on pc98, use npxgetuserregs() instead of npxgetregs() for
get_fpcontext(), and npxsetuserregs() for set_fpcontext). Also,
note that usercontext is no
Author: kib
Date: Mon Dec 6 15:15:27 2010
New Revision: 216231
URL: http://svn.freebsd.org/changeset/base/216231
Log:
Do not leak %rdx value in the previous image to the new image after
execve(2). Note that ia32 binaries already handle this properly,
since ia32_setregs() resets td_retval[1]
Author: kib
Date: Tue Dec 7 12:17:43 2010
New Revision: 216253
URL: http://svn.freebsd.org/changeset/base/216253
Log:
Retire write-only PCB_FULLCTX pcb flag on amd64.
Reminded by: Petr Salinger
Tested by:pho
MFC after:1 week
Modified:
head/sys/amd64/amd64/exception.S
hea
Author: kib
Date: Tue Dec 7 12:44:33 2010
New Revision: 216255
URL: http://svn.freebsd.org/changeset/base/216255
Log:
Update some comments related to use of amd64 full context switch.
In exec_linux_setregs(), use locally cached pointer to pcb to set
pcb_full_iret.
In set_regs(), note that
Author: kib
Date: Fri Dec 10 10:37:53 2010
New Revision: 216352
URL: http://svn.freebsd.org/changeset/base/216352
Log:
MFC r216149:
Add SLIST_SWAP() macro.
Approved by: re (bz)
Modified:
stable/8/sys/sys/queue.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/am
Author: kib
Date: Fri Dec 10 10:48:54 2010
New Revision: 216353
URL: http://svn.freebsd.org/changeset/base/216353
Log:
MFC r216150, r216158:
If unix socket has a unix socket attached as the rights that has a
unix socket attached as the rights that has a unix socket attached as
the rights .
Author: kib
Date: Fri Dec 10 11:02:59 2010
New Revision: 216354
URL: http://svn.freebsd.org/changeset/base/216354
Log:
MFC r216151:
Extend the unix gc regression test to cover the case of r216150.
Approved by:re (bz)
Modified:
stable/8/tools/regression/sockets/unix_gc/unix_gc.c
Dir
Author: kib
Date: Sun Dec 12 16:16:39 2010
New Revision: 216394
URL: http://svn.freebsd.org/changeset/base/216394
Log:
In fpudna()/npxdna(), mark FPU context initialized and optionally
mark user FPU context initialized, if current context is user context.
It was reversed in r215865, by inade
Author: kib
Date: Mon Dec 13 10:40:16 2010
New Revision: 216403
URL: http://svn.freebsd.org/changeset/base/216403
Log:
MFC r216231:
Do not leak %rdx value in the previous image to the new image after
execve(2).
Approved by: re (bz)
Modified:
stable/8/sys/amd64/amd64/machdep.c
Direct
Author: kib
Date: Wed Dec 15 12:45:28 2010
New Revision: 216453
URL: http://svn.freebsd.org/changeset/base/216453
Log:
Add the missed 'p' flag to getopt() optstring argument.
MFC after:1 week
Modified:
head/sbin/newfs/newfs.c
Modified: head/sbin/newfs/newfs.c
===
Author: kib
Date: Wed Dec 15 12:46:53 2010
New Revision: 216454
URL: http://svn.freebsd.org/changeset/base/216454
Log:
VOP_ISLOCKED() should not be used to determine if the vnode is locked.
Explicitely track the locked status of the vnode.
Reviewed by: pjd
Tested by:avg
MFC after
Author: kib
Date: Wed Dec 15 15:15:42 2010
New Revision: 216455
URL: http://svn.freebsd.org/changeset/base/216455
Log:
MFC r216394:
In fpudna()/npxdna(), mark FPU context initialized and optionally
mark user FPU context initialized, if current context is user context.
It was reversed in r2
Author: kib
Date: Wed Dec 15 15:23:25 2010
New Revision: 216457
URL: http://svn.freebsd.org/changeset/base/216457
Log:
MFC r216253:
Retire write-only PCB_FULLCTX pcb flag on amd64.
Approved by: re (bz)
Modified:
stable/8/sys/amd64/amd64/exception.S
stable/8/sys/amd64/amd64/genassym.
Author: kib
Date: Wed Dec 15 15:25:56 2010
New Revision: 216458
URL: http://svn.freebsd.org/changeset/base/216458
Log:
MFC r216255:
Update some comments related to use of amd64 full context switch.
In exec_linux_setregs(), use locally cached pointer to pcb to set
pcb_full_iret.
In set_re
Author: kib
Date: Sat Dec 18 11:31:32 2010
New Revision: 216516
URL: http://svn.freebsd.org/changeset/base/216516
Log:
In pmap_extract(), unlock pmap lock earlier. The calculation does not need
the lock when operating on local variables.
Reviewed by: alc
Modified:
head/sys/i386/i386/p
Author: kib
Date: Sat Dec 18 16:41:11 2010
New Revision: 216524
URL: http://svn.freebsd.org/changeset/base/216524
Log:
Inform a compiler which asm statements in the x86 implementation of
atomics change eflags.
Reviewed by: jhb
MFC after:2 weeks
Modified:
head/sys/amd64/include/a
Author: kib
Date: Sun Dec 19 21:18:33 2010
New Revision: 216572
URL: http://svn.freebsd.org/changeset/base/216572
Log:
Restore the ABI of struct kinfo_proc32 after r213536.
MFC after:3 days
Modified:
head/sys/compat/freebsd32/freebsd32.h
Modified: head/sys/compat/freebsd32/freebsd32
Author: kib
Date: Sun Aug 23 12:44:15 2009
New Revision: 196460
URL: http://svn.freebsd.org/changeset/base/196460
Log:
Fix the conformance of poll(2) for sockets after r195423 by
returning POLLHUP instead of POLLIN for several cases. Now, the
tools/regression/poll results for FreeBSD are clo
Author: kib
Date: Wed Aug 26 14:32:37 2009
New Revision: 196560
URL: http://svn.freebsd.org/changeset/base/196560
Log:
Honor the vfs.timestamp_precision sysctl settings for utimes(path, NULL)
and similar calls.
Obtained from:Petr Salinger, Debian GNU/kFreeBSD, Debian bug #489894
Author: kib
Date: Sat Aug 29 13:28:02 2009
New Revision: 196640
URL: http://svn.freebsd.org/changeset/base/196640
Log:
Remove the altkstacks, instead instantiate threads with kernel stack
allocated with the right size from the start. For the thread that has
kernel stack cached, verify that r
Author: kib
Date: Sat Aug 29 18:01:02 2009
New Revision: 196644
URL: http://svn.freebsd.org/changeset/base/196644
Log:
Dispose the kernel stack of the proper thread.
Submitted by: alc
MFC after:1 week
Modified:
head/sys/kern/kern_fork.c
Modified: head/sys/kern/kern_fork.c
Author: kib
Date: Sat Aug 29 21:53:08 2009
New Revision: 196648
URL: http://svn.freebsd.org/changeset/base/196648
Log:
Reverse r196640 and r196644 for now.
Modified:
head/sys/arm/arm/vm_machdep.c
head/sys/kern/kern_fork.c
head/sys/kern/kern_kthread.c
head/sys/kern/kern_proc.c
head/sys
Author: kib
Date: Mon Aug 31 09:20:37 2009
New Revision: 196688
URL: http://svn.freebsd.org/changeset/base/196688
Log:
MFC r196560:
Honor the vfs.timestamp_precision sysctl settings for utimes(path, NULL)
and similar calls.
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/
Author: kib
Date: Mon Aug 31 09:26:04 2009
New Revision: 196689
URL: http://svn.freebsd.org/changeset/base/196689
Log:
Remove spurious pfs_unlock().
PR: kern/137310
Reviewed by: des
MFC after:3 days
Modified:
head/sys/fs/pseudofs/pseudofs_vnops.c
Modified: head/sys/fs/pseudof
Author: kib
Date: Mon Aug 31 09:08:14 2009
New Revision: 196687
URL: http://svn.freebsd.org/changeset/base/196687
Log:
MFC r196560:
Honor the vfs.timestamp_precision sysctl settings for utimes(path, NULL)
and similar calls.
Approved by: re (rwatson)
Modified:
stable/8/sys/ (props
Author: kib
Date: Mon Aug 31 10:20:52 2009
New Revision: 196692
URL: http://svn.freebsd.org/changeset/base/196692
Log:
Make the mnt_writeopcount and mnt_secondary_writes counters,
used by the suspension code, not greater then mnt_ref reference
counter value. Increment mnt_ref together with w
Author: kib
Date: Tue Sep 1 11:41:51 2009
New Revision: 196730
URL: http://svn.freebsd.org/changeset/base/196730
Log:
Reintroduce the r196640, after fixing the problem with my testing.
Remove the altkstacks, instead instantiate threads with kernel stack
allocated with the right size from
Author: kib
Date: Tue Sep 1 12:05:39 2009
New Revision: 196733
URL: http://svn.freebsd.org/changeset/base/196733
Log:
Fix mount reference leak when V_XSLEEP is specified to vn_start_write().
Submitted by: tegge
Modified:
head/sys/kern/vfs_vnops.c
Modified: head/sys/kern/vfs_vnops.c
===
Author: kib
Date: Fri Sep 4 14:53:12 2009
New Revision: 196829
URL: http://svn.freebsd.org/changeset/base/196829
Log:
Add missing ';'.
Modified:
head/sys/i386/i386/machdep.c
Modified: head/sys/i386/i386/machdep.c
==
Author: kib
Date: Sat Sep 5 13:10:54 2009
New Revision: 196859
URL: http://svn.freebsd.org/changeset/base/196859
Log:
MFC r196689:
Remove spurious pfs_unlock().
Approved by: re (rwatson)
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
s
Author: kib
Date: Sat Sep 5 13:32:05 2009
New Revision: 196861
URL: http://svn.freebsd.org/changeset/base/196861
Log:
Handle zero size for posix_memalign. Return NULL or unique address
according to the 'V' option.
PR: standards/138307
MFC after:1 week
Modified:
head/lib/libc/s
Author: kib
Date: Sat Sep 5 13:31:16 2009
New Revision: 196860
URL: http://svn.freebsd.org/changeset/base/196860
Log:
MFC r196689:
Remove spurious pfs_unlock().
Approved by: re (rwatson)
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
stable/7
Author: kib
Date: Sun Sep 6 11:44:46 2009
New Revision: 196887
URL: http://svn.freebsd.org/changeset/base/196887
Log:
In fhopen, vfs_ref() the mount point while vnode is unlocked, to prevent
vn_start_write(NULL, &mp) from operating on potentially freed or reused
struct mount *.
Remove
Author: kib
Date: Sun Sep 6 11:46:51 2009
New Revision: 196888
URL: http://svn.freebsd.org/changeset/base/196888
Log:
The clear_remove() and clear_inodedeps() call vn_start_write(NULL, &mp,
V_NOWAIT) on the non-busied mount point. Unmount might free ufs-specific
mp data, causing ffs_vgetf()
Author: kib
Date: Sun Sep 6 15:23:03 2009
New Revision: 196894
URL: http://svn.freebsd.org/changeset/base/196894
Log:
Partial MFC of r194459 by thompsa, without merge recording,
to allow the vm_phys_paddr_to_vm_page(9) to return NULL instead
of panicking when supplied physical address does
Author: kib
Date: Mon Sep 7 11:55:34 2009
New Revision: 196920
URL: http://svn.freebsd.org/changeset/base/196920
Log:
insmntque_stddtr() clears vp->v_data and resets vp->v_op to
dead_vnodeops before calling vgone(). Revert r189706 and corresponding
part of the r186560.
Noted and review
Author: kib
Date: Mon Sep 7 12:10:41 2009
New Revision: 196921
URL: http://svn.freebsd.org/changeset/base/196921
Log:
If a race is detected, pfs_vncache_alloc() may reclaim a vnode that had
never been inserted into the pfs_vncache list. Since pfs_vncache_free()
does not anticipate this case
Author: kib
Date: Mon Sep 7 12:39:54 2009
New Revision: 196922
URL: http://svn.freebsd.org/changeset/base/196922
Log:
MFC r196206.
Take the number of allocated freeblks into consideration for
softdep_slowdown().
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (p
Author: kib
Date: Mon Sep 7 13:58:26 2009
New Revision: 196925
URL: http://svn.freebsd.org/changeset/base/196925
Log:
MFC r196206.
Take the number of allocated freeblks into consideration for
softdep_slowdown().
Tested by:pluknet gmail com
Modified:
stable/6/sys/ (props change
Author: kib
Date: Tue Sep 8 09:17:34 2009
New Revision: 196966
URL: http://svn.freebsd.org/changeset/base/196966
Log:
Lock Giant around vn_open_cred().
Remove innocent unnecessary call to NDFREE().
Reported by: marcel
Reviewed and tested by: pjd
MFC after:3 days
Modified:
Author: kib
Date: Tue Sep 8 14:43:42 2009
New Revision: 196974
URL: http://svn.freebsd.org/changeset/base/196974
Log:
MFC r196692:
Make the mnt_writeopcount and mnt_secondary_writes counters,
used by the suspension code, not greater then mnt_ref reference
counter value.
MFC r196733:
Author: kib
Date: Tue Sep 8 15:31:23 2009
New Revision: 196977
URL: http://svn.freebsd.org/changeset/base/196977
Log:
MFC r196730:
Remove the altkstacks, instead instantiate threads with kernel stack
allocated with the right size from the start. For the thread that has
kernel stack cached
Author: kib
Date: Wed Sep 9 10:31:09 2009
New Revision: 197028
URL: http://svn.freebsd.org/changeset/base/197028
Log:
Use traditional td_unusedX names for the padding members.
Suggested by: julian
Approved by: re (kensmith)
Modified:
stable/8/sys/sys/proc.h
Modified: stable/8/sys/sy
Author: kib
Date: Wed Sep 9 10:51:50 2009
New Revision: 197030
URL: http://svn.freebsd.org/changeset/base/197030
Log:
In vfs_mark_atime(9), be resistent against reclaimed vnodes.
Assert that neccessary locks are taken, since vop might not be called.
Tested by:pho
MFC after:3 da
Author: kib
Date: Wed Sep 9 10:52:36 2009
New Revision: 197031
URL: http://svn.freebsd.org/changeset/base/197031
Log:
Unlock the image vnode around the call of pmc PMC_FN_PROCESS_EXEC hook.
The hook calls vn_fullpath(9), that should not be executed with a vnode
lock held.
Reported by:
Author: kib
Date: Wed Sep 9 13:28:18 2009
New Revision: 197041
URL: http://svn.freebsd.org/changeset/base/197041
Log:
MFC r196887:
In fhopen, vfs_ref() the mount point while vnode is unlocked, to prevent
vn_start_write(NULL, &mp) from operating on potentially freed or reused
struct mount
Author: kib
Date: Wed Sep 9 19:40:54 2009
New Revision: 197046
URL: http://svn.freebsd.org/changeset/base/197046
Log:
As was done in r196643 for i386 and amd64, swap the start/end virtual
addresses in pmap_invalidate_cache_range().
Reported by: Vincent Hoffman
Reviewed by: jhb
MFC
Author: kib
Date: Wed Sep 9 20:59:01 2009
New Revision: 197049
URL: http://svn.freebsd.org/changeset/base/197049
Log:
kern_select(9) copies fd_set in and out of userspace in quantities of
longs. Since 32bit processes longs are 4 bytes, 64bit kernel may copy in
or out 4 bytes more then the p
Author: kib
Date: Thu Sep 10 12:42:36 2009
New Revision: 197060
URL: http://svn.freebsd.org/changeset/base/197060
Log:
MFC r196920:
insmntque_stddtr() clears vp->v_data and resets vp->v_op to
dead_vnodeops before calling vgone(). Revert r189706 and corresponding
part of the r186560.
A
Author: kib
Date: Thu Sep 10 13:01:23 2009
New Revision: 197063
URL: http://svn.freebsd.org/changeset/base/197063
Log:
MFC r196920:
insmntque_stddtr() clears vp->v_data and resets vp->v_op to
dead_vnodeops before calling vgone(). Revert r189706 and corresponding
part of the r186560.
Modif
Author: kib
Date: Fri Sep 11 12:56:13 2009
New Revision: 197087
URL: http://svn.freebsd.org/changeset/base/197087
Log:
MFC r196966:
Lock Giant around vn_open_cred().
Remove innocent unnecessary call to NDFREE().
Approved by: re (kensmith)
Modified:
stable/8/sys/ (props changed)
Author: kib
Date: Sat Sep 12 18:02:57 2009
New Revision: 197123
URL: http://svn.freebsd.org/changeset/base/197123
Log:
MFC r197030:
In vfs_mark_atime(9), be resistent against reclaimed vnodes.
Assert that neccessary locks are taken, since vop might not be called.
Approved by: re (kensm
Author: kib
Date: Sat Sep 12 18:05:57 2009
New Revision: 197124
URL: http://svn.freebsd.org/changeset/base/197124
Log:
MFC r197031:
Unlock the image vnode around the call of pmc PMC_FN_PROCESS_EXEC hook.
The hook calls vn_fullpath(9), that should not be executed with a vnode
lock held.
Author: kib
Date: Sat Sep 12 18:11:48 2009
New Revision: 197126
URL: http://svn.freebsd.org/changeset/base/197126
Log:
MFC r197046:
As was done in r196643 for i386 and amd64, swap the start/end virtual
addresses in pmap_invalidate_cache_range().
Approved by: re (kensmith)
Modified:
Author: kib
Date: Sat Sep 12 18:16:46 2009
New Revision: 197127
URL: http://svn.freebsd.org/changeset/base/197127
Log:
MFC r196861:
Handle zero size for posix_memalign. Return NULL or unique address
according to the 'V' option.
Approved by: re (kensmith)
Modified:
stable/8/lib/libc/
Author: kib
Date: Mon Sep 14 11:01:15 2009
New Revision: 197188
URL: http://svn.freebsd.org/changeset/base/197188
Log:
MFC r196921:
Do not decrement pfs_vncache_entries for the vnode that was not in the
pfs_vncache list.
Approved by: re (bz)
Modified:
stable/8/sys/ (props changed)
Author: kib
Date: Tue Sep 15 12:51:22 2009
New Revision: 197222
URL: http://svn.freebsd.org/changeset/base/197222
Log:
MFC r196888:
The clear_remove() and clear_inodedeps() call vn_start_write(NULL, &mp,
V_NOWAIT) on the non-busied mount point. Unmount might free ufs-specific
mp data, caus
Author: kib
Date: Wed Sep 16 13:24:37 2009
New Revision: 197255
URL: http://svn.freebsd.org/changeset/base/197255
Log:
MFC r197049:
Calculate the amount of bytes to copy for select filedescriptor masks
taking into account size of fd_set for the current process ABI.
Approved by: re (ken
Author: kib
Date: Sun Sep 20 12:40:56 2009
New Revision: 197348
URL: http://svn.freebsd.org/changeset/base/197348
Log:
Old (a.out) rtld attempts to mmap zero-length region, e.g. when bss
of the linked object is zero-length. More old code assumes that mmap
of zero length returns success.
Author: kib
Date: Mon Sep 21 09:41:51 2009
New Revision: 197389
URL: http://svn.freebsd.org/changeset/base/197389
Log:
If CPU happens to be in usermode when a T_RESERVED trap occured,
then trapsignal is called with ksi.ksi_signo = 0. For debugging kernels,
that should end up in panic, for no
Author: kib
Date: Mon Sep 21 13:09:56 2009
New Revision: 197390
URL: http://svn.freebsd.org/changeset/base/197390
Log:
Remove forward_roundrobin(), it is unused for quite some time.
Reviewed by: jhb
MFC after:1 week
Modified:
head/sys/kern/subr_smp.c
head/sys/sys/smp.h
Modified
00 1970 (empty, because file is newly added)
+++ head/sys/fs/procfs/procfs_osrel.c Wed Sep 23 12:08:08 2009
(r197428)
@@ -0,0 +1,68 @@
+/*-
+ * Copyright (c) 2009 Konstantin Belousov
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modificatio
Author: kib
Date: Wed Sep 23 12:10:13 2009
New Revision: 197429
URL: http://svn.freebsd.org/changeset/base/197429
Log:
Document osrel node for procfs.
Approved by: des (procfs maintainer)
MFC after:3 weeks
Modified:
head/share/man/man5/procfs.5
Modified: head/share/man/man5/procf
Author: kib
Date: Wed Sep 23 13:49:41 2009
New Revision: 197431
URL: http://svn.freebsd.org/changeset/base/197431
Log:
MFC r197348:
For a.out and pre-8 ELF binaries, allow the mmap of zero length.
Approved by: re (kensmith)
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd6
Author: kib
Date: Mon Sep 28 11:31:21 2009
New Revision: 197576
URL: http://svn.freebsd.org/changeset/base/197576
Log:
MFC r197390:
Remove forward_roundrobin().
Approved by: re (kensmith)
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
s
Author: kib
Date: Thu Oct 1 12:46:58 2009
New Revision: 197660
URL: http://svn.freebsd.org/changeset/base/197660
Log:
Fix typo.
MFC after:3 days
Modified:
head/sys/kern/kern_sig.c
Modified: head/sys/kern/kern_sig.c
===
Author: kib
Date: Thu Oct 1 12:48:35 2009
New Revision: 197661
URL: http://svn.freebsd.org/changeset/base/197661
Log:
Move the annotation for vm_map_startup() immediately before the function.
MFC after:3 days
Modified:
head/sys/vm/vm_map.c
Modified: head/sys/vm/vm_map.c
===
Author: kib
Date: Thu Oct 1 12:50:26 2009
New Revision: 197662
URL: http://svn.freebsd.org/changeset/base/197662
Log:
Do not dereference vp->v_mount without holding vnode lock and checking
that the vnode is not reclaimed.
Noted by: Igor Sysoev
MFC after:1 week
Modified:
hea
Author: kib
Date: Thu Oct 1 12:52:48 2009
New Revision: 197663
URL: http://svn.freebsd.org/changeset/base/197663
Log:
As a workaround, for Intel CPUs, do not use CLFLUSH in
pmap_invalidate_cache_range() when self-snoop is apparently not reported
in cpu features. We get a reserved trap when
Author: kib
Date: Sun Oct 4 12:11:44 2009
New Revision: 197742
URL: http://svn.freebsd.org/changeset/base/197742
Log:
MFC r197660:
Fix typo.
Approved by: re (bz, kensmith)
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cdd
Author: kib
Date: Sun Oct 4 12:14:49 2009
New Revision: 197743
URL: http://svn.freebsd.org/changeset/base/197743
Log:
MFC r197661:
Move the annotation for vm_map_startup() immediately before the function.
Approved by: re (bz, kensmith)
Modified:
stable/8/sys/ (props changed)
stab
Author: kib
Date: Sun Oct 4 12:20:59 2009
New Revision: 197744
URL: http://svn.freebsd.org/changeset/base/197744
Log:
MFC r197663:
As a workaround, for Intel CPUs, do not use CLFLUSH in
pmap_invalidate_cache_range() when self-snoop is apparently not reported
in cpu features.
Approved
Author: kib
Date: Sun Oct 4 13:00:27 2009
New Revision: 197745
URL: http://svn.freebsd.org/changeset/base/197745
Log:
MFC r197660:
Fix typo.
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/kern/kern_sig.c
Modified: stable/7/sys/kern/ke
Author: kib
Date: Sun Oct 4 13:03:07 2009
New Revision: 197746
URL: http://svn.freebsd.org/changeset/base/197746
Log:
MFC r197661:
Move the annotation for vm_map_startup() immediately before the function.
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed
Author: kib
Date: Wed Oct 7 09:22:27 2009
New Revision: 197830
URL: http://svn.freebsd.org/changeset/base/197830
Log:
Free Rick Macklem from mentorship.
Discussed with: rwatson
Approved by: core (implicit)
Modified:
svnadmin/conf/mentors
Modified: svnadmin/conf/mentors
===
Author: kib
Date: Thu Oct 8 11:28:32 2009
New Revision: 197855
URL: http://svn.freebsd.org/changeset/base/197855
Log:
MFC r197662:
Do not dereference vp->v_mount without holding vnode lock and checking
that the vnode is not reclaimed.
Approved by: re (bz)
Modified:
stable/8/sys/
Author: kib
Date: Thu Oct 8 11:42:24 2009
New Revision: 197857
URL: http://svn.freebsd.org/changeset/base/197857
Log:
MFC r197662:
Do not dereference vp->v_mount without holding vnode lock and checking
that the vnode is not reclaimed.
Modified:
stable/7/sys/ (props changed)
stable/7/
Author: kib
Date: Sat Oct 10 14:56:34 2009
New Revision: 197930
URL: http://svn.freebsd.org/changeset/base/197930
Log:
Postpone dropping fp till both kq_global and kqueue mutexes are
unlocked. fdrop() closes file descriptor when reference count goes to
zero. Close method for vnodes locks the
Author: kib
Date: Sat Oct 10 15:27:10 2009
New Revision: 197931
URL: http://svn.freebsd.org/changeset/base/197931
Log:
Calculate relocation base for the main object, and apply the relocation
adjustment for all virtual addresses encoded into the ELF structures of
it. PIE binary could and shou
Author: kib
Date: Sat Oct 10 15:28:52 2009
New Revision: 197932
URL: http://svn.freebsd.org/changeset/base/197932
Log:
Do not map segments of zero length.
Discussed with: bz
Reviewed by: kan
Tested by:bz (i386, amd64), bsam (linux)
MFC after:some time
Modified:
head/
Author: kib
Date: Sat Oct 10 15:31:24 2009
New Revision: 197933
URL: http://svn.freebsd.org/changeset/base/197933
Log:
Define architectural load bases for PIE binaries. Addresses were selected
by looking at the bases used for non-relocatable executables by gnu ld(1),
and adjusting it slightl
Author: kib
Date: Sat Oct 10 15:33:01 2009
New Revision: 197934
URL: http://svn.freebsd.org/changeset/base/197934
Log:
Map PIE binaries at non-zero base address.
Discussed with: bz
Reviewed by: kan
Tested by:bz (i386, amd64), bsam (linux)
MFC after:some time
Modified:
201 - 300 of 9106 matches
Mail list logo