SVNews r327403

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-31 02:48:16 - r327403 by mjg (Mateusz Guzik)

Complete list of files affected by revision r327403:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/amd64/amd64/trap.c  

Commit message:

MFC r321922:
  amd64: annotate the syscall return address check with __predict_false

  before:
  0xffffffff80b03ebb <+2059>: mov 0x460(%r14),%rax
  0xffffffff80b03ec2 <+2066>: mov 0x98(%rax),%rax
  0xffffffff80b03ec9 <+2073>: shr $0x2f,%rax
  0xffffffff80b03ecd <+2077>: je 0xffffffff80b03edd
<amd64_syscall+2093>
  0xffffffff80b03ecf <+2079>: mov 0x3f8(%r14),%rax
  0xffffffff80b03ed6 <+2086>: orl $0x1,0xc8(%rax)
  0xffffffff80b03edd <+2093>: add $0xf8,%rsp

  after:
  0xffffffff80b03ebb <+2059>: mov 0x460(%r14),%rax
  0xffffffff80b03ec2 <+2066>: mov 0x98(%rax),%rax
  0xffffffff80b03ec9 <+2073>: shr $0x2f,%rax
  0xffffffff80b03ecd <+2077>: jne 0xffffffff80b03eef
<amd64_syscall+2111>
  0xffffffff80b03ecf <+2079>: add $0xf8,%rsp

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 38 ms, 2 files printed. Current time is 2018-01-21 22:31:13. All times are in UTC/GMT.