Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2003 01:29:05 -0700 (PDT)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
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
Message-ID:  <200306280829.h5S8T5ir034062@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306280829.h5S8T5ir034062>