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

David Xu davidxu at FreeBSD.org
Tue Aug 5 05:00:58 PDT 2003


davidxu     2003/08/05 05:00:56 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              kse.h 
    sys/kern             kern_thread.c 
  Log:
  Introduce a thread mailbox flag TMF_NOUPCALL. On some architectures other
  than i386 or AMD64, TP register points to thread mailbox, and they can not
  atomically clear km_curthread in kse mailbox, in this case, thread retrieves
  its thread pointer from TP register and sets flag TMF_NOUPCALL in its thread
  mailbox to indicate a critical region.
  
  Revision  Changes    Path
  1.155     +18 -7     src/sys/kern/kern_thread.c
  1.19      +4 -0      src/sys/sys/kse.h


More information about the cvs-src mailing list