SVNews r327472

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

2018-01-01 20:47:03 - r327472 by kib (Konstantin Belousov)

Complete list of files affected by revision r327472:

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

  History   Contents   Diff   MODIFY   /head/sys/amd64/amd64/trap.c  
  History   Contents   Diff   MODIFY   /head/sys/i386/i386/trap.c  

Commit message:

Avoid re-check of usermode condition.

It does not change anything in the behavior of trap_pfault(), while
eliminating obfuscation of jumping to the code which checks for the
condition reversed of the goto cause. Also avoid force initialize the
rv variable, since it is now only accessed after storing vm_fault()
return value.

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision:


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

Page generated in 1 ms, 2 files printed. Current time is 2018-03-22 17:59:47. All times are in UTC/GMT.