Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp577922pxb; Thu, 21 Oct 2021 05:35:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUmOKVS7mCphjBEDnaRNec72ZNfFR8q/m2/SV2/Et4kEF5zIKlbHn4Tk9sOKkYJAYsepiO X-Received: by 2002:a17:907:1627:: with SMTP id hb39mr6898999ejc.161.1634819711417; Thu, 21 Oct 2021 05:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634819711; cv=none; d=google.com; s=arc-20160816; b=HsQmk2B0+09yOLI/WH0bw10W7Lj7Pk7bgHDHhkwSmJ1Kn4w7HBg4teE/WeQZymNVbH FuyA3eYH2pGYTFQBH3I9BEe9WP3IyPVTgWU0ERlh2FTj9HIg8SDc9aDlTp1k8qWeTSiU WoG9SPPsuYesTZX0FPk3F4GHslLnb/ISnfbYYDnsMBMkkgWJXa7iaol67nsqRQNenT+B vWHOn0ZdMq9sN3AB0PQ1GUdq2GHAjVsU6CL0aqbeVbTnKrPPzReB50xKLtTGQVOBQQwq AtMBcL1aOwdlquCbnUdHH6/sFaifJk7BLmcX/GHLA15S2oFTL+OAW3M7ZuvQRHF1gbzt x5aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=wRzipucQUyVGORKzBSV+cC6ghm4C4V7AbKJUpxlcZEU=; b=T6RAGyaaH+yCPPs14tJlpYk500LazKvYDzDJWUyPjjhLX6xtgEGjaHTSjwEZKujfvV KfMVNC3oN+vOBcbhP/yHLAiF1YT8VGaObbs5Y5CTRKJqDOvRR6kiEfduUgLoz2/IeU7r jAPtzMVyho4JuyGCMIHVNrJo+a2mURavOsvmtc/zYfQ4Mm+oKDjLJbwE/czvaF+288Sd ftS+O7srbF5seeudsqPl+cBUdG3P8MxKwK33BDDZ4dnL9VL4s8Kq5/Eago6sX9MjJCTz GRkuQYwxzHa/ICHANJEJk27D3grfP74KDTSv99mEB7gbAtbm4PXz/M93RQmt7WdiOGsc pZTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=NukQe+Xc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si7645355edc.581.2021.10.21.05.34.45; Thu, 21 Oct 2021 05:35:11 -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; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=NukQe+Xc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231530AbhJUMc7 (ORCPT + 99 others); Thu, 21 Oct 2021 08:32:59 -0400 Received: from linux.microsoft.com ([13.77.154.182]:50080 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbhJUMcq (ORCPT ); Thu, 21 Oct 2021 08:32:46 -0400 Received: from [192.168.254.32] (unknown [47.187.212.181]) by linux.microsoft.com (Postfix) with ESMTPSA id 8107020B7179; Thu, 21 Oct 2021 05:30:29 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8107020B7179 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1634819430; bh=wRzipucQUyVGORKzBSV+cC6ghm4C4V7AbKJUpxlcZEU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=NukQe+XcjzleY5DL6QhasbvKGYNgtpTDRM7oU48W0bR3dmTAyotVkE/6XObRyY73t gbYaTv6zx3BE/2nR4YIOG4KUE7cmvAWxuQ6U54fzMMbRDQDOowkqqWOiBwMvtXsSZV CDREQxgUirptxKHYe/0SxEJwCSi1gUq+o6fTU4AM= Subject: Re: [PATCH v10 03/11] arm64: Make get_wchan() use arch_stack_walk() To: Mark Brown Cc: mark.rutland@arm.com, jpoimboe@redhat.com, ardb@kernel.org, nobuta.keiya@fujitsu.com, sjitindarsingh@gmail.com, catalin.marinas@arm.com, will@kernel.org, jmorris@namei.org, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211015025847.17694-1-madvenka@linux.microsoft.com> <20211015025847.17694-4-madvenka@linux.microsoft.com> From: "Madhavan T. Venkataraman" Message-ID: <217ce31e-222b-cc10-f5e1-027e00a49cd4@linux.microsoft.com> Date: Thu, 21 Oct 2021 07:30:28 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I will take a look at what Peter has done and will coordinate with him. Thanks. Madhavan On 10/20/21 11:10 AM, Mark Brown wrote: > On Thu, Oct 14, 2021 at 09:58:39PM -0500, madvenka@linux.microsoft.com wrote: >> From: "Madhavan T. Venkataraman" >> >> Currently, get_wchan() in ARM64 code walks the stack using start_backtrace() >> and unwind_frame(). Make it use arch_stack_walk() instead. This makes >> maintenance easier. > > This overlaps with some very similar updates that Peter Zijlstra is > working on which addresses some existing problems with wchan: > > https://lore.kernel.org/all/20211008111527.438276127@infradead.org/ > > It probably makes sense for you to coordinate with Peter here, some of > that series is already merged up to his patch 6 which looks very > similar to what you've got here. In that thread you'll see that Mark > Rutland spotted an issue with the handling of __switch_to() on arm64 > which probably also applies to your change. > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >