Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1824486ybh; Fri, 17 Jul 2020 02:05:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysS2wngYj2NIBZENuEBkvlz/0/dZlpw8mau/UJ/uSPSccnHDZO2tOMM8T+LjsL7Q1fMiou X-Received: by 2002:aa7:c3d6:: with SMTP id l22mr8235878edr.148.1594976737861; Fri, 17 Jul 2020 02:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594976737; cv=none; d=google.com; s=arc-20160816; b=xUtJ/6udV9t+HyvZJlHqC7QkOfGat9ehqFR7ealdjirk8njA88/9a+Szcxz1Kgs5T4 tBHr7M9IcAnqYo7h+mcYxQ/gIjWYhqXAtOCqbRgq34d7gQG/HWuaT4mJpRyo7wofQSB3 g7x+VIcfu5Vxwt+a9e/JPj1VQofIqmUSKl5HPFwudH7Scgjkodc7Un7tZcm62i329Fz5 8F3BsXco/Thwc2bjsIV6ZMZAKslyakIc+ONEvn22ZBxw5O2DiMgYMnpgZlbiJXoAQhmY Snm1ZdtqxnF3kpdYihczZ/0K9EgkmNNzUdjiCbcdLKeKGVrKT1tW1n3hkA8NHFvDlEms pfkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=WjC7DkFI/yW+/Zl/VBIlzV7XyktP+n0osnL0neBUIjE=; b=LiH5PAwB5S11gBohM6nZL2iihoRI3uw9h2bSoKJlWU2tBhbBR8phiiEhOBbT2Fpoxz zonQo3IBDpIqjLwjks3mC1W3FgFKzNOMBKent6QJSJOTZOlBeovrUyZFO7Q93bUVFkEp cV/hJ/AhPTPG0a61g6quVRuhz29UDRZ/vRbazCBgMsVhAJua5civV2SZaeo4REsgnwTj cIE6dJ2ULzet/Z03pxRHgP67G5PsxfDiVFInSOnXoHjnIAWU0VpOSsxQOhzqVvyhM1zg DBsSFzysRTjaHMib9ut7cuB9ABwOjBMFiGV7pFV9KkXHiRTmBCAGNsQwQjyDtJ0So4M6 gCYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si4688551edt.483.2020.07.17.02.05.15; Fri, 17 Jul 2020 02:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726439AbgGQJEy (ORCPT + 99 others); Fri, 17 Jul 2020 05:04:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:55306 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbgGQJEy (ORCPT ); Fri, 17 Jul 2020 05:04:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1F71CB132; Fri, 17 Jul 2020 09:04:57 +0000 (UTC) Date: Fri, 17 Jul 2020 11:04:52 +0200 (CEST) From: Miroslav Benes To: Mark Brown cc: Catalin Marinas , Will Deacon , Heiko Carstens , Vasily Gorbik , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , Christian Borntraeger , Ingo Molnar , Jiri Slaby , x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] stacktrace: Remove reliable argument from arch_stack_walk() callback In-Reply-To: <20200715202821.12220-2-broonie@kernel.org> Message-ID: References: <20200715202821.12220-1-broonie@kernel.org> <20200715202821.12220-2-broonie@kernel.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 Jul 2020, Mark Brown wrote: > Currently the callback passed to arch_stack_walk() has an argument called > reliable passed to it to indicate if the stack entry is reliable, a comment > says that this is used by some printk() consumers. However in the current > kernel none of the arch_stack_walk() implementations ever set this flag to > true and the only callback implementation we have is in the generic > stacktrace code which ignores the flag. It therefore appears that this > flag is redundant so we can simplify and clarify things by removing it. Correct. I dug around and it seems it was the case even when it was introduced. So I wonder about the comment. I don't remember the details, maybe Thomas or someone else does. But the patch looks correct. Miroslav