lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 30 May 2016 14:30:12 +0200
From:	Paolo Bonzini <pbonzini@...hat.com>
To:	linux-kernel@...r.kernel.org, x86@...nel.org
Cc:	Andy Lutomirski <luto@...nel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Rik van Riel <riel@...hat.com>,
	"H . Peter Anvin" <hpa@...or.com>,
	Ingo Molnar <mingo@...nel.org.com>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH 0/2] x86/entry: speed up context-tracking system calls by 150 clock cycles

Two simple optimizations to the system call entry/exit code.
The first matches what commit d0e536d8939 ("context_tracking:
avoid irq_save/irq_restore on guest entry and exit", 2015-10-28)
did for guest entry and exit.  The second is just adding an
inline annotation.

Thanks,

Paolo

Paolo Bonzini (2):
  x86/entry: Avoid interrupt flag save and restore
  x86/entry: Inline enter_from_user_mode

 arch/x86/entry/common.c          |  6 +++---
 include/linux/context_tracking.h | 15 +++++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

-- 
2.4.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ