From owner-cvs-src@FreeBSD.ORG Sat Jun 28 01:29:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BCED37B401; Sat, 28 Jun 2003 01:29:06 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDF2143FF9; Sat, 28 Jun 2003 01:29:05 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5S8T50U034063; Sat, 28 Jun 2003 01:29:05 -0700 (PDT) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5S8T5ir034062; Sat, 28 Jun 2003 01:29:05 -0700 (PDT) Message-Id: <200306280829.h5S8T5ir034062@repoman.freebsd.org> From: David Xu Date: Sat, 28 Jun 2003 01:29:05 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys kse.h proc.h syscall.h syscall.mk sysproto.h src/sys/kern init_sysent.c kern_sig.c kern_synch.c kern_thread.c subr_trap.c syscalls.c syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2003 08:29:06 -0000 davidxu 2003/06/28 01:29:05 PDT FreeBSD src repository Modified files: sys/sys kse.h proc.h syscall.h syscall.mk sysproto.h sys/kern init_sysent.c kern_sig.c kern_synch.c kern_thread.c subr_trap.c syscalls.c syscalls.master Log: o Change kse_thr_interrupt to allow send a signal to a specified thread, or unblock a thread in kernel, and allow UTS to specify whether syscall should be restarted. o Add ability for UTS to monitor signal comes in and removed from process, the flag PS_SIGEVENT is used to indicate the events. o Add a KMF_WAITSIGEVENT for KSE mailbox flag, UTS call kse_release with this flag set to wait for above signal event. o For SA based thread, kernel masks all signal in its signal mask, let UTS to use kse_thr_interrupt interrupt a thread, and install a signal frame in userland for the thread. o Add a tm_syncsig in thread mailbox, when a hardware trap occurs, it is used to deliver synchronous signal to userland, and upcall is schedule, so UTS can process the synchronous signal for the thread. Reviewed by: julian (mentor) Revision Changes Path 1.154 +0 -0 src/sys/kern/init_sysent.c 1.247 +88 -8 src/sys/kern/kern_sig.c 1.228 +10 -8 src/sys/kern/kern_synch.c 1.146 +121 -56 src/sys/kern/kern_thread.c 1.258 +2 -15 src/sys/kern/subr_trap.c 1.140 +0 -0 src/sys/kern/syscalls.c 1.151 +1 -1 src/sys/kern/syscalls.master 1.16 +4 -1 src/sys/sys/kse.h 1.339 +6 -4 src/sys/sys/proc.h 1.138 +0 -0 src/sys/sys/syscall.h 1.93 +0 -0 src/sys/sys/syscall.mk 1.134 +1 -0 src/sys/sys/sysproto.h