From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC727C433EF for ; Wed, 8 Dec 2021 10:27:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:MIME-Version: Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iNTktyOwFJsqeKBei5pHXlrmeEI4lq14lx45OPzChes=; b=YDpqa2pmk3GhK8HiIl9aKsi/qK xAc28dtd7iek0mZEV5SjIZoBMWTiFeewr05bUU2yrLkKPIdMYeaRAmBemlsPoG/9Hg+Gx9XvVtavZ ZmTBJgl95n4gc+xlSjW7f9ae/a9hrm1fLLxl1uTHyeqraT0AyzM6fh4+StWXqY43oKVxCpI3rNY8h 3q6b7/Mdk8VfiUWk0r2ddLBJno1IC19NqS72R9f9ZyGdfdtappsKgtSoWij4lnfN7O5bNbcw+viFq lZpFynZ4FnxVaW0ChMcv9dsyGufvdNubn9LY5Fpxf7Sey4DWnSVK7cOT4Rl9iKooku65UPF44ZTfN qkGto21w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muu9U-00C63q-7G; Wed, 08 Dec 2021 10:26:20 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muu9Q-00C62m-1z for linux-arm-kernel@lists.infradead.org; Wed, 08 Dec 2021 10:26:17 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 292521042; Wed, 8 Dec 2021 02:26:15 -0800 (PST) Received: from [10.57.82.128] (unknown [10.57.82.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D8CA3F5A1; Wed, 8 Dec 2021 02:26:12 -0800 (PST) Message-ID: <5f5648e5-d425-8b6f-a6c2-2fc1252f0c79@arm.com> Date: Wed, 8 Dec 2021 10:26:11 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH v2 2/7] coresight: etm3x: Use task_is_in_init_pid_ns() To: Leo Yan , "David S. Miller" , Jakub Kicinski , Leon Romanovsky , Mathieu Poirier , Mike Leach , Alexander Shishkin , Jan Harkes , coda@cs.cmu.edu, Paul Moore , Eric Paris , Balbir Singh , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, codalist@coda.cs.cmu.edu, linux-audit@redhat.com References: <20211208083320.472503-1-leo.yan@linaro.org> <20211208083320.472503-3-leo.yan@linaro.org> From: Suzuki K Poulose In-Reply-To: <20211208083320.472503-3-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_022616_183117_A10173C7 X-CRM114-Status: UNSURE ( 5.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 08/12/2021 08:33, Leo Yan wrote: > This patch replaces open code with task_is_in_init_pid_ns() to check if > a task is in root PID namespace. > > Signed-off-by: Leo Yan > --- Reviewed-by: Suzuki K Poulose _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel