From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752738AbdCHL5R (ORCPT ); Wed, 8 Mar 2017 06:57:17 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33794 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752110AbdCHL5P (ORCPT ); Wed, 8 Mar 2017 06:57:15 -0500 Date: Wed, 8 Mar 2017 11:47:37 +0100 From: Ingo Molnar To: Yinghai Lu Cc: "H. Peter Anvin" , Linux Kernel Mailing List , Denys Vlasenko , Wu Fengguang , Linus Torvalds , Borislav Petkov , Josh Poimboeuf , Borislav Petkov , Peter Zijlstra , Thomas Gleixner , Andy Lutomirski , Brian Gerst , "linux-tip-commits@vger.kernel.org" Subject: Re: [tip:x86/asm] x86/asm: Optimize clear_page() Message-ID: <20170308104737.GA13961@gmail.com> References: <20170215111927.emdgxf2pide3kwro@pd.tnic> <20170307073012.GA15693@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Yinghai Lu wrote: > On Mon, Mar 6, 2017 at 11:30 PM, Ingo Molnar wrote: > > > > * Yinghai Lu wrote: > > > >> On Wed, Mar 1, 2017 at 1:47 AM, tip-bot for Borislav Petkov > >> wrote: > >> > Commit-ID: 49ca7bb328c630dd43be626534b49e19513296fd > >> > Gitweb: http://git.kernel.org/tip/49ca7bb328c630dd43be626534b49e19513296fd > >> > Author: Borislav Petkov > >> > AuthorDate: Thu, 9 Feb 2017 01:34:49 +0100 > >> > Committer: Ingo Molnar > >> > CommitDate: Wed, 1 Mar 2017 10:18:32 +0100 > >> > > >> > x86/asm: Optimize clear_page() > >> > > >> > Currently, we CALL clear_page() which then JMPs to the proper function > >> > chosen by the alternatives. > >> > > >> > What we should do instead is CALL the proper function directly. (This > >> > was something Ingo suggested a while ago). So let's do that. > >> > >> looks like this one broke the kexec. > >> after revert it back, kexec work again. > > > > Ok, this should be fixed in the new version I just pushed out: > > > > f25d38475519 x86/asm: Optimize clear_page() > > > > Please let me know if it doesn't. > > Yes. new commit works with kexec. > > Thanks Thanks for testing! Ingo