Received: by 10.192.165.156 with SMTP id m28csp539148imm; Fri, 13 Apr 2018 03:42:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Q40a9HEquRAuG+Wr9GfNu6KoeFPVM1gV5zbZW+Rz4XNuWWVWIU5vQVe1rpm//fqkwmMnK X-Received: by 2002:a17:902:654b:: with SMTP id d11-v6mr4723417pln.196.1523616150456; Fri, 13 Apr 2018 03:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523616150; cv=none; d=google.com; s=arc-20160816; b=1F0EAMEH0XENNETbuz8yxsA8vIuDNls5ZJeohANUKzx+DW0b42AgHXwbBhLjFNSSBc PNXaa9AzoSrIIcxUk6U7A6xSVTEC9sOh42Ko+khov7/FFv3e6hrmf1vUHsXE/9wlPud+ UEdzycHYlnbgml4yimD/syWi+/+h2nT8PXRyJdPYNfJGMizbnzO5woYq0cr/HuRy7E3c mhKZb4hKhrCSbHvzcid6ue5ROjh0sukWOsRkxmSVo1fntDV8GPvtu7VPZyY5ThZyigBa gZ1WR6N95kvDEL8BL173V+I9DgMsudGfApJvjOWfMBbs1Qxe0QKZVGz6zl7rhPHZdosz tBqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=tY2ZJh6esOyaz4bWDTspmVE14h3W8Pg0d/7sD8dyVOo=; b=vTidGBiXm/gz7YS73TB1dM9/3GTaugdMWBX2O7AeQ2XbrcDxT0ranfe3rfZUZglaUZ 8VdHXWLpcrvXvuFag646umIUYx5WlMoiu4XdqpSLWgqR8lDQz7xHcy/S8mkloLUhWpii 6+GbUi+3GhriVpJI/MsXHEsagvZeWLznu9dKCAQ004yBR0zYp/mZ6JR3rNATtvJuE8bw PDXloDdWVU94+mShuPf+dOuU2rGFKbHOLc45bXqW22jg47G8MQZ4Lhp2Yogl3F5d2QtM DjdJRvjBunI/yuhfUVG6zPn2EjgxtW4I44/3gxzfnaD7k0nPoW8ennRUufteCbLrqPvI pH+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d37-v6si5178894plb.566.2018.04.13.03.42.16; Fri, 13 Apr 2018 03:42:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754158AbeDMJ3S (ORCPT + 99 others); Fri, 13 Apr 2018 05:29:18 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56754 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753588AbeDMJ3Q (ORCPT ); Fri, 13 Apr 2018 05:29:16 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 25A509BA4B; Fri, 13 Apr 2018 09:29:16 +0000 (UTC) Received: from localhost (ovpn-8-21.pek2.redhat.com [10.72.8.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 48E0319AB54; Fri, 13 Apr 2018 09:29:11 +0000 (UTC) Date: Fri, 13 Apr 2018 17:29:08 +0800 From: Baoquan He To: Bjorn Helgaas , Philipp Rudo Cc: Michael Ellerman , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Eric Biederman , Thiago Jung Bauermann , Dave Young Subject: Re: [PATCH v1 0/2] kexec: Remove "weak" annotations from headers Message-ID: <20180413092908.GB2119@localhost.localdomain> References: <152355706051.36693.9856090891621551967.stgit@bhelgaas-glaptop.roam.corp.google.com> <20180413110820.662d4879@ThinkPad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180413110820.662d4879@ThinkPad> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 13 Apr 2018 09:29:16 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 13 Apr 2018 09:29:16 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'bhe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, There are changes I have made to solve 5-level conflict with kexec/kdump and also interface unification task, they will involve x86 64 only changes on these functions, I don't think we need remove them if without any obvious impact or error reported. Thanks Baoquan On 04/13/18 at 11:08am, Philipp Rudo wrote: > Hi Bjorn, > > in recent patches AKASHI [1] and I [2] made some changes to the declarations > you are touching and already removed some of the weak statements. The patches > got accepted on linux-next and will (hopefully) be pulled for v4.17. So you > should prepare for some merge conflicts. Nevertheless three weak statements > still remain (arch_kexec_walk_mem & arch_kexec_apply_relocations*) so your > patch still makes totally sense. > > Thanks > Philipp > > [1] https://lkml.org/lkml/2018/3/6/201 > [2] https://lkml.org/lkml/2018/3/21/278 > > On Thu, 12 Apr 2018 13:23:29 -0500 > Bjorn Helgaas wrote: > > > "Weak" annotations in header files are error-prone because they make > > every definition weak. Remove them from include/linux/kexec.h. > > > > These were introduced in two separate commits, so this is in two > > patches so they can be easily backported to stable kernels (some of > > them date back to v4.3 and one only goes back to v4.10). > > > > --- > > > > Bjorn Helgaas (2): > > kexec: Remove "weak" from kexec_file function declarations > > kexec: Remove "weak" from arch_kexec_walk_mem() declaration > > > > > > include/linux/kexec.h | 24 ++++++++++++------------ > > 1 file changed, 12 insertions(+), 12 deletions(-) > > > > _______________________________________________ > > kexec mailing list > > kexec@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/kexec > > > > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec