Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp2313506img; Wed, 27 Feb 2019 14:26:00 -0800 (PST) X-Google-Smtp-Source: AHgI3IYRDisw1CWjFI+JWQg+rloUAwwxp+RJj54pqyAhPQ+rFZZSex7Bmi3/zaRNg5OT4ZXOcFwt X-Received: by 2002:a62:b502:: with SMTP id y2mr4020384pfe.212.1551306359998; Wed, 27 Feb 2019 14:25:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551306359; cv=none; d=google.com; s=arc-20160816; b=Qb/VDyXhOVPACre6t4qSKP3ulu4Sn/cTruqb9KEaeKWalEEmPwXk3rN0mnSXe55Xb/ UTsfn8eCdUjTNf5sBOrUUubUpAmFsfS/qVbLJlRvcPe+EHyPkkCCghXooiNbIqkPKWaM 9kdVQBkGzQ1bu8XIuYbdXR02fWRSc99U+rihsyGA87kA8hiTDHS4ZWSDZTzQg3MUfUS9 qUl1xdAsYzIHRepq/qdQDtPqNb01jCB99/02NqD6wwrqK1OivC+/zoIkrf0LqK4tmqlF +pjgcX9Db0ibHqW4zlD18CAgtXSVpHBGSseGUmiF8CVLFhcy4LXrev5j/MEy12ImbI+W XaOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=jOybWvjn6ql54S1EO+kJu7Mwd122NJQXqyUWw01HMvw=; b=gP3wVyqnYbRwifHzGEUzbNHySniMb+tUAW6uUlxU5EFDFp9xAP8JEk10/1mjnVwwG7 pWYEw/h4lm9bNNMQ5sGSEpOijKnaeve0KnSM/11ul3vy/eZS8KIX0DumeKi5A1/loeOb BGBFWDuni7djL8/nPjnD7A+FMa7tNO+FLIhmA2XqJj724gXPkEA1x1iabvIaAqKyKGus u8qJMDNPYfKPHurIiWl8XmPTT7JRN+cYFBIhn3aurTEYfuae6h9+MDmp2kRR9WbQnjOt oae3KrcJretvJLNVPIX9IwPHnUAXWIVjHDolYFvna1TBgjWxrwC+EnhM5LHUodJTxSZ/ d6Lw== 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 s7si15947273plq.61.2019.02.27.14.25.43; Wed, 27 Feb 2019 14:25:59 -0800 (PST) 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 S1730189AbfB0WZU (ORCPT + 99 others); Wed, 27 Feb 2019 17:25:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47406 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727240AbfB0WZU (ORCPT ); Wed, 27 Feb 2019 17:25:20 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DFC0C7C08A; Wed, 27 Feb 2019 22:25:19 +0000 (UTC) Received: from [10.18.17.208] (dhcp-17-208.bos.redhat.com [10.18.17.208]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 46117679DC; Wed, 27 Feb 2019 22:25:19 +0000 (UTC) Subject: Re: [PATCH] x86/stacktrace: export save_stack_trace_tsk_reliable To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, x86@kernel.org, Jiri Slaby , Josh Poimboeuf References: <20190227211748.9545-1-joe.lawrence@redhat.com> From: Joe Lawrence Message-ID: <07491738-dfdb-deb4-7e25-f1c173dda773@redhat.com> Date: Wed, 27 Feb 2019 17:25:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 27 Feb 2019 22:25:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/27/19 4:31 PM, Thomas Gleixner wrote: > On Wed, 27 Feb 2019, Joe Lawrence wrote: > >> The ppc64le implementation of save_stack_trace_tsk_reliable() is >> exported, so do the same with x86. > > And what's the in tree module user of this? I can't find one and just > because PPC has an export with no user is not a convincing argument to add > another one. The proper solution is to remove the unused PPC export. > Good point. For that matter, I do see in-tree modules making use of save_stack_trace, but who is calling save_stack_trace_tsk (exported by most arches) and save_stack_trace_regs (exported by openrisc, powerpc, s390)? -- Joe