Date: Tue, 5 Aug 2003 05:00:56 -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 src/sys/kern kern_thread.c Message-ID: <200308051200.h75C0u0M024485@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308051200.h75C0u0M024485>
