cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c

Konstantin Belousov kib at
Fri Aug 15 09:08:57 UTC 2008

kib         2008-08-15 09:08:35 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/amd64/amd64      cpu_switch.S genassym.c 
    sys/amd64/ia32       ia32_signal.c 
    sys/amd64/include    pcb.h 
    sys/amd64/linux32    linux32_machdep.c 
  SVN rev 181752 on 2008-08-15 09:08:35Z by kib
  MFC r177535 by peter:
  (Micro)optimization of cpu_switch for amd64.
  Because r173004 (pure kernel threads) is not MFCed to stable/7, I use
  P_KTHREAD flag from curthread->td_proc->p_flag instead of TDP_KTHREAD
  flag from curthread->td_pflags to test whether the fs/gs bases need to
  be restored [1].
  No objections for MFC from:     peter
  Suggested by:   jhb [1]
  MFC r180992:
  Bring back the save/restore of the %ds, %es, %fs and %gs registers for
  the 32bit images on amd64.
  The end result is almost complete syncronization of the
  amd64/amd64/cpu_switch.S between head and stable/7, besides TDP_KTHREAD
  Revision   Changes    Path  +132 -80   src/sys/amd64/amd64/cpu_switch.S  +4 -0      src/sys/amd64/amd64/genassym.c   +1 -1      src/sys/amd64/ia32/ia32_signal.c   +1 -0      src/sys/amd64/include/pcb.h   +1 -1      src/sys/amd64/linux32/linux32_machdep.c

More information about the cvs-all mailing list