cvs commit: src/sys/conf files src/sys/kern kern_sysmsg.c init_main.c kern_exit.c kern_fork.c kern_time.c lwkt_msgport.c src/sys/i386/i386 trap.c src/sys/sys msgport.h msgport2.h proc.h sysent.h sysmsg.h

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 4 13:36:16 PDT 2004


dillon      2004/06/04 13:35:39 PDT

DragonFly src repository

  Modified files:
    sys/conf             files 
    sys/kern             init_main.c kern_exit.c kern_fork.c 
                         kern_time.c lwkt_msgport.c 
    sys/i386/i386        trap.c 
    sys/sys              msgport.h msgport2.h proc.h sysent.h 
                         sysmsg.h 
  Added files:
    sys/kern             kern_sysmsg.c 
  Log:
  async syscall work: The async syscall code got dated by recent LWKT
  changes, set mp_abort_port and clear MSGF_DONE as appropriate.
  
  If a system call returns EASYNC, record the message in p->p_sysmsgq so we
  can run them down in exit1().
  
  In exit1(), run down any asynch system calls that are still running.  Note
  that this commit does not implement abort support (yet).
  
  Get rid of lwkt_port->mp_refs, it was not being used and it is likely never
  going to be used (reference counting LWKT is hazzardous anyway since it
  doesn't really fit the access model).
  
  Add lwkt_checkmsg() to support some of the rearranged async syscall code.
  
  Revision  Changes    Path
  1.62      +1 -0      src/sys/conf/files
  1.33      +1 -0      src/sys/kern/init_main.c
  1.35      +1 -1      src/sys/kern/kern_exit.c
  1.25      +1 -0      src/sys/kern/kern_fork.c
  1.16      +3 -1      src/sys/kern/kern_time.c
  1.22      +14 -0     src/sys/kern/lwkt_msgport.c
  1.52      +14 -13    src/sys/i386/i386/trap.c
  1.18      +1 -1      src/sys/sys/msgport.h
  1.10      +10 -0     src/sys/sys/msgport2.h
  1.50      +1 -0      src/sys/sys/proc.h
  1.7       +2 -1      src/sys/sys/sysent.h
  1.5       +11 -1     src/sys/sys/sysmsg.h


http://www.dragonflybsd.org/cvsweb/src/sys/conf/files.diff?r1=1.61&r2=1.62&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.34&r2=1.35&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_time.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_msgport.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/trap.c.diff?r1=1.51&r2=1.52&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msgport.h.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msgport2.h.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.49&r2=1.50&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/sysent.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/sysmsg.h.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list