Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6991438ybc; Thu, 28 Nov 2019 08:56:01 -0800 (PST) X-Google-Smtp-Source: APXvYqzUCUAtqXmBGw0RmHzxKnPn6E3LLFr0+E0h7DS6fkggnujFumxrKArqHTpXGt9WhFcnEARx X-Received: by 2002:a17:906:5211:: with SMTP id g17mr56405194ejm.60.1574960161202; Thu, 28 Nov 2019 08:56:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574960161; cv=none; d=google.com; s=arc-20160816; b=MX/Q0weMJ4QTQsAtMRdFy83DmDvxsCuckBnw9uPhuwn5oBAGk6pS//N+8wbb4oYJnN kqOHYslTkEN/N+oV3A1QMYKNp2iC/VBhWIu7wv4mcUDD48ClFkpXP0TFZJcal/6I2mzy 9+uiToX4fDlJsgqimFYP5AqM13s3lh2R5MnLPCQyZ63911H2FJAY3iw62JDb/u+Oql4q Wa+zN86IEJdts10DVjxVNchIdUrCPn3GLm23LQK39Z5wKGzNuvnmB45bbrWRG2pzpWFV yOU0ZRrWHNILwwjH6AiAB0Y3R/McKDHco1hFGcL9wRvFoFdtn+C9E80yGQ5jFJHK1RhV Fveg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=ClUeB95CCutP9qqS0kZuTgu9U5L5L0k1/b9jQAZdRCc=; b=Qp3fZTITyn6H17njxsH1yTcna4kb1cInbiQju9h4WdNPVRmAwIfK85bD4SRzXUTl7G wlrs5OJ3Etm5KEEhnWUIJonjMDjCOVofRLNAsen6RrRgjmTYfzFwnkwX+L8xwvF+Jn6d HbpMQqt0x/RC6y51mqT7DE9dxqfMYo2D0DraN4kalHpZRCKEDjjamv9dO+7MGBf+iCPT UlWetyf+zTaThXgmN7BXuNBG0FNm73g/wGE5DfuRELCIVvt59SITQpVf6ExfVD7dj+ZS rQNyk367omztPZj3vLDtRZ3bYbwbWgUKmVQZXRS/b4hkFYGjKjSsbnLRs+i96gAFJLlo sUUQ== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si507050edi.372.2019.11.28.08.55.37; Thu, 28 Nov 2019 08:56:01 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727316AbfK1QwA (ORCPT + 99 others); Thu, 28 Nov 2019 11:52:00 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:54890 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726582AbfK1Qv7 (ORCPT ); Thu, 28 Nov 2019 11:51:59 -0500 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xASGlPqA042046 for ; Thu, 28 Nov 2019 11:51:58 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2wjah6qy4k-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 28 Nov 2019 11:51:58 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 28 Nov 2019 16:51:54 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 28 Nov 2019 16:51:50 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xASGpmKa46006438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Nov 2019 16:51:48 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A437E52050; Thu, 28 Nov 2019 16:51:48 +0000 (GMT) Received: from localhost (unknown [9.152.212.112]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 4B1C052057; Thu, 28 Nov 2019 16:51:48 +0000 (GMT) Date: Thu, 28 Nov 2019 17:51:47 +0100 From: Vasily Gorbik To: Miroslav Benes Cc: heiko.carstens@de.ibm.com, borntraeger@de.ibm.com, jpoimboe@redhat.com, joe.lawrence@redhat.com, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, jikos@kernel.org, pmladek@suse.com, nstange@suse.de, live-patching@vger.kernel.org Subject: Re: [PATCH v3 1/4] s390/unwind: drop unnecessary code around calling ftrace_graph_ret_addr() References: <20191106095601.29986-1-mbenes@suse.cz> <20191106095601.29986-2-mbenes@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191106095601.29986-2-mbenes@suse.cz> X-TM-AS-GCONF: 00 x-cbid: 19112816-0028-0000-0000-000003C135A0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19112816-0029-0000-0000-00002484414C Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-28_05:2019-11-28,2019-11-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 mlxscore=0 suspectscore=1 impostorscore=0 clxscore=1015 bulkscore=0 adultscore=0 priorityscore=1501 mlxlogscore=731 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911280142 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 06, 2019 at 10:55:58AM +0100, Miroslav Benes wrote: > The current code around calling ftrace_graph_ret_addr() is ifdeffed and > also tests if ftrace redirection is present on stack. > ftrace_graph_ret_addr() however performs the test internally and there > is a version for !CONFIG_FUNCTION_GRAPH_TRACER as well. The unnecessary > code can thus be dropped. > > Signed-off-by: Miroslav Benes > --- > arch/s390/kernel/unwind_bc.c | 16 ++++------------ > 1 file changed, 4 insertions(+), 12 deletions(-) This patch has been picked up from v2 already. It's in Linus tree.