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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 15 Jun 2014 15:16:54 +0200
From:	Peter Zijlstra <>
To:	Waiman Long <>
Cc:	Thomas Gleixner <>,
	Ingo Molnar <>,
	"H. Peter Anvin" <>,,,,,,,
	Paolo Bonzini <>,
	Konrad Rzeszutek Wilk <>,
	Boris Ostrovsky <>,
	"Paul E. McKenney" <>,
	Rik van Riel <>,
	Linus Torvalds <>,
	Raghavendra K T <>,
	David Vrabel <>,
	Oleg Nesterov <>,
	Gleb Natapov <>,
	Scott J Norton <>,
	Chegu Vinod <>
Subject: Re: [PATCH v11 14/16] pvqspinlock: Add qspinlock para-virtualization

On Thu, Jun 12, 2014 at 04:48:41PM -0400, Waiman Long wrote:
> I don't have a good understanding of the kernel alternatives mechanism.

I didn't either; I do now, cost me a whole day reading up on
alternative/paravirt code patching.

See the patches I just send out; I got the 'native' case with paravirt
enabled to be one NOP worse than the native case without paravirt -- for

The lock slowpath is several nops and some pointless movs more expensive.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists