Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2010 00:18:42 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 cpu_switch.S exception.S fpu.c genassym.c machdep.c sys_machdep.c vm_machdep.c src/sys/amd64/ia32 ia32_reg.c ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c linux32_sysvec.c
Message-ID:  <201012220019.oBM0J2Ha097773@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkim        2010-12-22 00:18:42 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      cpu_switch.S exception.S fpu.c genassym.c 
                         machdep.c sys_machdep.c vm_machdep.c 
    sys/amd64/ia32       ia32_reg.c ia32_signal.c 
    sys/amd64/include    pcb.h 
    sys/amd64/linux32    linux32_machdep.c linux32_sysvec.c 
  Log:
  SVN rev 216634 on 2010-12-22 00:18:42Z by jkim
  
  Improve PCB flags handling and make it more robust.  Add two new functions
  for manipulating pcb_flags.  These inline functions are very similar to
  atomic_set_char(9) and atomic_clear_char(9) but without unnecessary LOCK
  prefix for SMP.  Add comments about the rationale[1].  Use these functions
  wherever possible.  Although there are some places where it is not strictly
  necessary (e.g., a PCB is copied to create a new PCB), it is done across
  the board for sake of consistency.  Turn pcb_full_iret into a PCB flag as
  it is safe now.  Move rarely used fields before pcb_flags and reduce size
  of pcb_flags to one byte.  Fix some style(9) nits in pcb.h while I am in
  the neighborhood.
  
  Reviewed by:    kib
  Submitted by:   kib[1]
  MFC after:      2 months
  
  Revision  Changes    Path
  1.180     +3 -3      src/sys/amd64/amd64/cpu_switch.S
  1.150     +7 -7      src/sys/amd64/amd64/exception.S
  1.178     +20 -16    src/sys/amd64/amd64/fpu.c
  1.184     +6 -6      src/sys/amd64/amd64/genassym.c
  1.736     +29 -19    src/sys/amd64/amd64/machdep.c
  1.96      +8 -8      src/sys/amd64/amd64/sys_machdep.c
  1.274     +9 -7      src/sys/amd64/amd64/vm_machdep.c
  1.9       +1 -1      src/sys/amd64/ia32/ia32_reg.c
  1.34      +12 -11    src/sys/amd64/ia32/ia32_signal.c
  1.77      +42 -10    src/sys/amd64/include/pcb.h
  1.59      +9 -5      src/sys/amd64/linux32/linux32_machdep.c
  1.62      +6 -7      src/sys/amd64/linux32/linux32_sysvec.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012220019.oBM0J2Ha097773>