cvs commit: src/sys/kern kern_thread.c src/sys/sys proc.h

2008-08-22 Thread John Baldwin
jhb 2008-08-22 16:15:58 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c sys/sys proc.h Log: SVN rev 182011 on 2008-08-22 16:15:58Z by jhb A suspended thread can, in fact, be swapped out. Thus, thread_unsuspend_one() need

Re: cvs commit: src/sys/kern kern_thread.c subr_witness.c src/sys/sys lock.h

2008-08-19 Thread Marius Strobl
On Wed, Aug 13, 2008 at 06:24:22PM +, Attilio Rao wrote: > attilio 2008-08-13 18:24:22 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_thread.c subr_witness.c > sys/sys lock.h > Log: > SVN rev 181695 on 2008-08-13 18:24:22Z by

cvs commit: src/sys/kern kern_thread.c subr_witness.c src/sys/sys lock.h

2008-08-13 Thread Attilio Rao
attilio 2008-08-13 18:24:22 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c subr_witness.c sys/sys lock.h Log: SVN rev 181695 on 2008-08-13 18:24:22Z by attilio Introduce some WITNESS improvements: - Speedup the lock ordering

Re: cvs commit: src/sys/kern kern_thread.c

2008-07-28 Thread John Baldwin
On Saturday 26 July 2008 02:58:50 pm Konstantin Belousov wrote: > kib 2008-07-26 18:58:50 UTC > > FreeBSD src repository > > Modified files:(Branch: RELENG_7) > sys/kern kern_thread.c > Log: > SVN rev 180830 on 2008-07-26 18:58:50Z by kib > > Although

cvs commit: src/sys/kern kern_thread.c

2008-07-26 Thread Konstantin Belousov
kib 2008-07-26 18:58:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/kern kern_thread.c Log: SVN rev 180830 on 2008-07-26 18:58:50Z by kib Although being recorded as MFC of the r177369, this change was introduced for the KSE case

cvs commit: src/sys/kern kern_thread.c

2008-03-19 Thread Jeff Roberson
jeff2008-03-20 03:07:57 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: - There is no sense in calling sched_newthread() at thread_init() and thread_fini(). The schedulers initialize themselves properly during sched_fork_thread()

cvs commit: src/sys/kern kern_thread.c

2008-03-18 Thread Jeff Roberson
jeff2008-03-19 06:20:22 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: - Restore the NULL check for td_cpuset. This can happen if a partially constructed thread was torn down as is the case when we fail to allocate a kernel stac

cvs commit: src/sys/kern kern_thread.c

2008-03-11 Thread Jeff Roberson
jeff2008-03-12 05:01:14 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: - KSE may free a thread that was never actually forked. This will leave td_cpuset NULL. Check for this condition before dereferencing the cpuset. Repor

Re: cvs commit: src/sys/kern kern_thread.c src/sys/sys eventhandler.h

2007-11-24 Thread Pawel Jakub Dawidek
On Thu, Nov 15, 2007 at 02:20:07PM +, Randall Stewart wrote: > rrs 2007-11-15 14:20:07 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_thread.c > sys/sys eventhandler.h > Log: > - Adds event handlers for process_ctor,proces

cvs commit: src/sys/kern kern_thread.c src/sys/sys eventhandler.h

2007-11-15 Thread Randall Stewart
rrs 2007-11-15 14:20:07 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c sys/sys eventhandler.h Log: - Adds event handlers for process_ctor,process_dtor, process_init, process_fini, thread_ctor, thread_dtor, thread_init, thre

Re: cvs commit: src/sys/kern kern_thread.c src/sys/sys eventhandler.h

2007-11-15 Thread Robert Watson
On Thu, 15 Nov 2007, Randall Stewart wrote: - Adds event handlers for process_ctor,process_dtor, process_init, process_fini, thread_ctor, thread_dtor, thread_init, thread_fini. This will allow us to extend dynamically areas in proc/thread for dtrace ;-) ... and use these hooks instead

cvs commit: src/sys/kern kern_thread.c

2007-10-16 Thread Olivier Houchard
cognet 2007-10-16 21:32:19 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_thread.c Log: Oops. Remove a debug printf. Spotted out by: delphij Revision ChangesPath 1.216.2.9 +0 -1 src/sys/kern/kern_thread.c __

cvs commit: src/sys/kern kern_thread.c

2007-10-16 Thread Olivier Houchard
cognet 2007-10-16 21:10:26 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_thread.c Log: Use 16 - 1 instead of 16 as the align argument of uma_zcreate(), as it's what is expected. Revision ChangesPath 1.216.2.8 +3 -2

cvs commit: src/sys/kern kern_thread.c

2007-09-20 Thread Jeff Roberson
jeff2007-09-21 04:04:22 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: - Call sched_sleep() before we suspend threads. sched_wakeup() is already called via setrunnable(). This allows time slept while suspended to be accounted f

cvs commit: src/sys/kern kern_thread.c

2006-12-19 Thread David Xu
davidxu 2006-12-19 13:06:01 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: Remove unused sysctls. Revision ChangesPath 1.239 +0 -8 src/sys/kern/kern_thread.c ___ cvs-all@freebsd.o

cvs commit: src/sys/kern kern_thread.c

2006-06-30 Thread Maxim Konovalov
maxim 2006-06-30 08:10:55 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: o Fix typo in the comment. PR: kern/99632 Submitted by: clsung Revision ChangesPath 1.234 +1 -1 src/sys/kern/kern_thread.c

cvs commit: src/sys/kern kern_thread.c

2006-03-25 Thread David Xu
davidxu 2006-03-26 01:29:55 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_thread.c Log: MFC revision 1.232, 1.233, fix thread suspension race. Approved by: re (kensmith) Revision ChangesPath 1.216.2.4 +4 -0

cvs commit: src/sys/kern kern_thread.c

2006-03-21 Thread David Xu
davidxu 2006-03-21 10:05:15 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: Rethink it a bit, if there is a STOP flag, don't bother to resume other threads. Revision ChangesPath 1.233 +3 -0 src/sys/kern/kern_thread.c _

cvs commit: src/sys/kern kern_thread.c

2006-03-21 Thread David Xu
davidxu 2006-03-21 08:41:15 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: Because JOB control has higher priority than single threading in thread_suspend_check(), call thread_stopped() to report SIGCHLD if there is JOB control in progress.

Re: cvs commit: src/sys/kern kern_thread.c

2006-02-05 Thread David Xu
Robert Watson wrote: rwatson 2006-02-06 01:51:08 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: When exiting a thread, submit any pending record. Today, we don't audit thread exit, but should that happen, this will prevent unhappiness,

cvs commit: src/sys/kern kern_thread.c

2006-02-05 Thread Robert Watson
rwatson 2006-02-06 01:51:08 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: When exiting a thread, submit any pending record. Today, we don't audit thread exit, but should that happen, this will prevent unhappiness, as the thread exit syste

cvs commit: src/sys/kern kern_thread.c src/sys/security/audit audit.c audit.h

2006-02-05 Thread Robert Watson
rwatson 2006-02-05 21:06:09 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c sys/security/audit audit.c audit.h Log: When GC'ing a thread, assert that it has no active audit record. This should not happen, but with this assert, brueffer and I

Re: cvs commit: src/sys/kern kern_thread.c src/sys/security/audit audit.c audit.h src/sys/sys proc.h

2006-02-02 Thread John Baldwin
On Thursday 02 February 2006 14:03, Robert Watson wrote: > On Thu, 2 Feb 2006, John Baldwin wrote: > > Have you considered putting td_ar in the logical place in HEAD and only > > doing the ABI-friendly "hack" for RELENG_6? Maybe you could do the ABI > > thing in HEAD to make the MFC easier and the

Re: cvs commit: src/sys/kern kern_thread.c src/sys/security/audit audit.c audit.h src/sys/sys proc.h

2006-02-02 Thread Robert Watson
On Thu, 2 Feb 2006, John Baldwin wrote: Have you considered putting td_ar in the logical place in HEAD and only doing the ABI-friendly "hack" for RELENG_6? Maybe you could do the ABI thing in HEAD to make the MFC easier and then update HEAD after the MFC to be more intuitive? Yes -- I was

Re: cvs commit: src/sys/kern kern_thread.c src/sys/security/audit audit.c audit.h src/sys/sys proc.h

2006-02-02 Thread John Baldwin
On Wednesday 01 February 2006 19:37, Robert Watson wrote: > rwatson 2006-02-02 00:37:06 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_thread.c > sys/security/audit audit.c audit.h > sys/sys proc.h > Log: > Add new fields to pro

cvs commit: src/sys/kern kern_thread.c src/sys/security/audit audit.c audit.h src/sys/sys proc.h

2006-02-01 Thread Robert Watson
rwatson 2006-02-02 00:37:06 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c sys/security/audit audit.c audit.h sys/sys proc.h Log: Add new fields to process-related data structures: - td_ar to struct thread, which holds

cvs commit: src/sys/kern kern_thread.c

2005-12-08 Thread David Xu
davidxu 2005-12-09 02:27:55 UTC FreeBSD src repository Modified files: sys/kern kern_thread.c Log: Now SIGCHLD is always queued. Revision ChangesPath 1.224 +4 -14 src/sys/kern/kern_thread.c ___ cvs-all@fr