Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2011 13:33:57 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 exception.S
Message-ID:  <201104081334.p38DY9EV068146@repoman.freebsd.org>

index | next in thread | raw e-mail

jhb         2011-04-08 13:33:57 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      exception.S 
  Log:
  SVN rev 220452 on 2011-04-08 13:33:57Z by jhb
  
  Fix a bug in the previous change to restore the fast path for syscall
  return.  The ast() function may cause a context switch in which case
  PCB_FULL_IRET would be set in the pcb.  However, the code was not
  rechecking the flag after ast() returned and would not properly restore
  the FSBASE and GSBASE MSRs.  To fix, recheck the PCB_FULL_IRET flag after
  ast() returns.
  
  While here, trim an instruction (and memory access) from the doreti path
  and fix a typo in a comment.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.154     +5 -6      src/sys/amd64/amd64/exception.S


help

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