From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from out01.mta.xmission.com ([166.70.13.231]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fs5xz-00059r-9K for kexec@lists.infradead.org; Tue, 21 Aug 2018 12:41:00 +0000 From: ebiederm@xmission.com (Eric W. Biederman) References: <20180801210804.175176-1-ndesaulniers@google.com> Date: Tue, 21 Aug 2018 14:40:02 +0200 In-Reply-To: (Linus Torvalds's message of "Mon, 20 Aug 2018 16:48:38 -0700") Message-ID: <87bm9v28rh.fsf@xmission.com> MIME-Version: 1.0 Subject: Re: [PATCH] x86/kexec: prefer _THIS_IP_ to current_text_addr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Linus Torvalds Cc: Kate Stewart , Simon Horman , Philippe Ombredanne , Greg Kroah-Hartman , the arch/x86 maintainers , Nick Desaulniers , Linux Kernel Mailing List , Kexec Mailing List , natechancellor@gmail.com, Ingo Molnar , Peter Anvin , Thomas Gleixner , Andrew Morton Linus Torvalds writes: > On Mon, Aug 20, 2018 at 10:58 AM Nick Desaulniers > wrote: >> >> + akpm, Linus >> >> Bumping for review. > > Ugh. I am not personally a huge fan of this endless "fix up one at a time". > > Just do a patch that removes current_text_addr() entirely and be done > with it, if that's what we want the end result to be. > > Don't bother with these small "let's remove the remaining ones one by > one". Just get it over and done with. One is generic code the other is assembly but the both appear to do the same thing without unexpected complexity. That said the patch earlier in this thread has clearly never been compiled as it is using THIS_IP instead of _THIS_IP_ and there is not a define of THIS_IP in the kernel. Eric _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec