cvs commit: src/sys/i386/i386 trap.c

David Xu davidxu at FreeBSD.org
Tue Apr 22 00:45:49 PDT 2003


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


More information about the cvs-src mailing list