Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965351AbbD1KGG (ORCPT ); Tue, 28 Apr 2015 06:06:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51850 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965131AbbD1KGC (ORCPT ); Tue, 28 Apr 2015 06:06:02 -0400 Message-ID: <553F5B6E.4040307@redhat.com> Date: Tue, 28 Apr 2015 12:05:34 +0200 From: Denys Vlasenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "H. Peter Anvin" , Ingo Molnar CC: Linus Torvalds , Steven Rostedt , Borislav Petkov , Andy Lutomirski , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] x86/asm/entry/64: Tidy up JZ insns after TESTs References: <1430140912-7960-1-git-send-email-dvlasenk@redhat.com> <553EB536.8020404@zytor.com> In-Reply-To: <553EB536.8020404@zytor.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 27 On 04/28/2015 12:16 AM, H. Peter Anvin wrote: > On 04/27/2015 06:21 AM, Denys Vlasenko wrote: >> >> diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S >> index e952f6b..8f8b22a 100644 >> --- a/arch/x86/kernel/entry_64.S >> +++ b/arch/x86/kernel/entry_64.S >> @@ -666,7 +666,7 @@ END(irq_entries_start) >> leaq -RBP(%rsp),%rdi /* arg1 for \func (pointer to pt_regs) */ >> >> testl $3, CS-RBP(%rsp) >> - je 1f >> + jz 1f >> SWAPGS >> 1: > > Please don't insert tabs between opcode and operand unless that is the > style of the surrounding code. The next patch inserts tab in the preceding TEST insn too, converting entire mini-block of code to "tab" style. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/