Date: Mon, 4 Jun 2007 23:52:25 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.c kern_thread.c Message-ID: <200706042352.l54NqPUZ074768@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2007-06-04 23:52:25 UTC FreeBSD src repository Modified files: sys/kern kern_sig.c kern_thread.c Log: Commit 4/14 of sched_lock decomposition. - Use thread_lock() rather than sched_lock for per-thread scheduling sychronization. - Use the per-process spinlock rather than the sched_lock for per-process scheduling synchronization. - Move some common code into thread_suspend_switch() to handle the mechanics of suspending a thread. The locking here is incredibly convoluted and should be simplified. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.346 +66 -56 src/sys/kern/kern_sig.c 1.247 +97 -73 src/sys/kern/kern_thread.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706042352.l54NqPUZ074768>