[tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 3f01daecd545e818098d84fd1ad43e19a508d705 Gitweb: https://git.kernel.org/tip/3f01daecd545e818098d84fd1ad43e19a508d705 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:45 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:53 +0100 x86/entry/64: Introdu

Re: [tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro

2018-02-12 Thread Linus Torvalds
On Mon, Feb 12, 2018 at 5:29 AM, Denys Vlasenko wrote: > > xorq's are slower than xorl's on Silvermont/Knights Landing. > I propose using xorl instead. Makes sense, and matches the other 'xorl'. I suspect the only reason it uses 'xorq' for the high regs is that the register names for the high re

Re: [tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro

2018-02-12 Thread Denys Vlasenko
On 02/12/2018 02:36 PM, David Laight wrote: From: Denys Vlasenko Sent: 12 February 2018 13:29 ... x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro Those instances where ALLOC_PT_GPREGS_ON_STACK is called just before SAVE_AND_CLEAR_REGS can trivially be replaced by PUSH_AND_CLEAN_REGS. T

RE: [tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro

2018-02-12 Thread David Laight
From: Denys Vlasenko > Sent: 12 February 2018 13:29 ... > > > > x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro > > > > Those instances where ALLOC_PT_GPREGS_ON_STACK is called just before > > SAVE_AND_CLEAR_REGS can trivially be replaced by PUSH_AND_CLEAN_REGS. > > This macro uses PUSH inste

Re: [tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro

2018-02-12 Thread Denys Vlasenko
On 02/12/2018 11:17 AM, tip-bot for Dominik Brodowski wrote: Commit-ID: 7b7b09f110f06f3c006e9b3f4590f7d9ba91345b Gitweb: https://git.kernel.org/tip/7b7b09f110f06f3c006e9b3f4590f7d9ba91345b Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:45 +0100 Committer: Ingo Molnar Com

[tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro

2018-02-12 Thread tip-bot for Dominik Brodowski
Commit-ID: 7b7b09f110f06f3c006e9b3f4590f7d9ba91345b Gitweb: https://git.kernel.org/tip/7b7b09f110f06f3c006e9b3f4590f7d9ba91345b Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:45 +0100 Committer: Ingo Molnar CommitDate: Mon, 12 Feb 2018 08:06:36 +0100 x86/entry/64: Introdu