Date: Tue, 22 Apr 2003 00:45:47 -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/i386/i386 trap.c Message-ID: <200304220745.h3M7jljW086690@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2003/04/22 00:45:47 PDT FreeBSD src repository Modified files: sys/i386/i386 trap.c Log: Fix some problems for cpu_switch_load_gs. when fault address is at cpu_switch_load_gs, cpu is in context switch, so don't enable interrupt. because it is in context switch, it is expected sched_lock was held, so don't PROC_LOCK(p) and psignal, it is LOR, probably we can set a P_XSIGBUS like flag in p_sflags, and set TDF_ASTPENDING in td_flags, in ast(), post a SIGBUS to process if P_XSIGBUS was set. Revision Changes Path 1.248 +7 -1 src/sys/i386/i386/trap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304220745.h3M7jljW086690>