From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762207AbcALA0s (ORCPT ); Mon, 11 Jan 2016 19:26:48 -0500 Received: from mga04.intel.com ([192.55.52.120]:56638 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760718AbcALA0q (ORCPT ); Mon, 11 Jan 2016 19:26:46 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,555,1444719600"; d="scan'208";a="858519261" Date: Mon, 11 Jan 2016 16:26:45 -0800 From: "Luck, Tony" To: Andy Lutomirski Cc: linux-nvdimm , Dan Williams , Borislav Petkov , "linux-kernel@vger.kernel.org" , Andrew Morton , Robert , Ingo Molnar , "linux-mm@kvack.org" , X86 ML Subject: Re: [PATCH v8 3/3] x86, mce: Add __mcsafe_copy() Message-ID: <20160112002645.GA10179@agluck-desk.sc.intel.com> References: <19f6403f2b04d3448ed2ac958e656645d8b6e70c.1452297867.git.tony.luck@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 08, 2016 at 05:49:30PM -0800, Andy Lutomirski wrote: > Also, what's the sfence for? You don't seem to be using any > non-temporal operations. So I deleted the "sfence" and now I just have a comment at the 100: label. 37: shl $6,%ecx lea -48(%ecx,%edx),%edx jmp 100f 38: shl $6,%ecx lea -56(%ecx,%edx),%edx jmp 100f 39: lea (%rdx,%rcx,8),%rdx jmp 100f 40: mov %ecx,%edx 100: /* %rax set the fault number in fixup_exception() */ ret Should I just change all the "jmp 100f" into "ret"? There aren't any tools that will be confused that the function has 10 returns, are there? -Tony