Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3504953pxb; Mon, 24 Jan 2022 10:58:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjV1Q/k1I+GoLwcQ188JXTyrhp69myoLWn5HxL9xGU1cA92o0o3gUH3pC1BNLEB+RVIMKW X-Received: by 2002:a17:90b:2248:: with SMTP id hk8mr2278896pjb.242.1643050697748; Mon, 24 Jan 2022 10:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643050697; cv=none; d=google.com; s=arc-20160816; b=MBdSCnTD2SzuP9DvrKnRrzsCkqdT/lB0t942q8qadgQat+IuPPNT050T/wexIdvGct 6mkVddLTxfYqu3fuD2u5jvoboy9o+y7NvrxgCLnlmIRt732ByZpC+fbADPfXJkE1HsCN nhRscMHMLdRYAdqkIkJCgc2ehhC+UD47c4sPXiL6tkz22yAmW7B9BT/Zk9DTf/fLNVfZ kKEv/z7yFopgWdIO4wqzYWK7yyy+tbVwIQnuB7PnSFyJjfLsNlyd/SOKuh8gtK5spmdM d8GFV4FtMU97oo17xpphuerAg19W4GvaKqLlMAbPsTxx0oAcyfroWzNyT0bYA96/LDBs KOxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=oC9HNsvbmipJaI7/3GLC383YFKywT6rDBqGjOn8JyvI=; b=m/A0Sio1nI2YddWi7Se2FbNpFyeLW/286FkINp+ternUZSTk6WSj+TsxAaBfpOvbAP Xihr/e2ByCswglTCH3S9rI58zTMNTM5C26+cLiihrfdpm/ZOSxKL4QlWpGGds8DwaI0r YPxXWrsb67Ms8FSp7zunF1/ErbCMBhp6jb/U9RP3SPg/4PljYvqBD6Xb2l2/4ekXmiPw sAwoCYsEEDtmCIWBWRdBUlQV7pfJwUMeMlmAXXRqhCI/z8taTlG5qfU6s7vHBto4blg0 /4KQjE7yz4j4TDTBbWkkW/3A5t3oTQfgXTXoMklavS0k1ow49fnRlcFYMxw6v7yDkAIg UiQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nZAt5N2J; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a2si15115160pgk.61.2022.01.24.10.58.05; Mon, 24 Jan 2022 10:58:17 -0800 (PST) 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=@linaro.org header.s=google header.b=nZAt5N2J; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233757AbiAXJ3x (ORCPT + 99 others); Mon, 24 Jan 2022 04:29:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233884AbiAXJ3i (ORCPT ); Mon, 24 Jan 2022 04:29:38 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9015C06173B for ; Mon, 24 Jan 2022 01:29:37 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id z22so55207239edd.12 for ; Mon, 24 Jan 2022 01:29:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=oC9HNsvbmipJaI7/3GLC383YFKywT6rDBqGjOn8JyvI=; b=nZAt5N2Jo6rWor+1/pb5P5RoORYE/ctNCULwQTr5Jjvv+zSvAW7uxDnILVSXZZ1RaV a7Zy/arNWBNllHfyoR5RmOie573vjoA5hzkuGzzAxYPu3wZbBDiOA7YW6TWgiKpmvDT9 fOI3Abq7XW7NvzAxv1QQ6uK9+BHwo4vCTQqhteysaA6oyqT9BINS2i04Iac888Ul7vuC 0zk2zmKiviRk6ZPAitr5GBCsEueY3KylmDSsiwlvrYOfUZKZHgrIT/xEWgxIwhdBDTQO 7ROp5m5paj9moyiPbYXY3PY6yL0y6inwtFEmNSOb7nMkmbeVMy6i1+OSkLgt7IQH5+En sKqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=oC9HNsvbmipJaI7/3GLC383YFKywT6rDBqGjOn8JyvI=; b=feJRQ0HRnNqZqU9nT4XrF75awMY4/PuESCwDTKNEC6Z2aa5XTZDqbEYbkFL8sjuBwz KWBWNLyvYrijTYc4dom/VRk0kQM8ZRuGVNAUMJgUMe8y1zmB49Aw8NcBTdy50wCTE50l IOsi1vowCyvanIt1sB5dpZrDYGUi04wl+yJS2X/YRgVheSdZNQU+6HSPnDKBHuPAhsrg psW6eXh6YW29eV35WZ99qK+9QC1yv3v9n60vElQPUL7Z4sAgqw+2ZoBSnQTKAtJzMWZm YI1678HaOtKr53z5nPqlHc4KjrVzu9vMwJPgVIhtqs/sXhlpGuW+qEkPJekv6FrJlnQt Q9SQ== X-Gm-Message-State: AOAM533FOifAnJI+4YIdCqNWqKTehtt+DEYfyuYDgM+8Dk+LZyIuRQEi LOnzMnbuuESbuW9uLNbL5jX8bA== X-Received: by 2002:a05:6402:5190:: with SMTP id q16mr15192181edd.157.1643016576173; Mon, 24 Jan 2022 01:29:36 -0800 (PST) Received: from leoy-ThinkPad-X240s ([104.245.96.239]) by smtp.gmail.com with ESMTPSA id cf25sm3175786edb.63.2022.01.24.01.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 01:29:35 -0800 (PST) Date: Mon, 24 Jan 2022 17:29:28 +0800 From: Leo Yan To: "David S. Miller" , Jakub Kicinski , Leon Romanovsky , Mathieu Poirier , Suzuki K Poulose , 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 Subject: Re: [PATCH v2 0/7] pid: Introduce helper task_is_in_root_ns() Message-ID: <20220124092928.GA1167041@leoy-ThinkPad-X240s> References: <20211208083320.472503-1-leo.yan@linaro.org> <20220112064046.GA3316542@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220112064046.GA3316542@leoy-ThinkPad-X240s> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 12, 2022 at 02:40:47PM +0800, Leo Yan wrote: > Hi David, > > On Wed, Dec 08, 2021 at 04:33:13PM +0800, Leo Yan wrote: > > The kernel uses open code to check if a process is in root PID namespace > > or not in several places. > > > > Suggested by Suzuki, this patch set is to create a helper function > > task_is_in_init_pid_ns() to replace open code. > > > > This patch set has been applied on the mainline kernel and built for > > Arm64 kernel with enabling all relevant modules. > > I'd like sync for how to merging this patch set. Except patch 05/07, > all of other patches in this patch set have been received the reviewed > or acked tags. So could you pick up this patch set? > > Furthermore, we have another patch set "coresight: etm: Correct PID > tracing for non-root namespace" [1], which is dependent on the current > patch set and it has been Acked by Suzuki. > > I'd like to get opinions from David and CoreSight maintainers Mathieu > and Suzuki, should we merge the patch set [1] via David's tree as well > to avoid dependency issue, or prefer to merge it via CoreSight tree? > If David prefers the prior option, I can resend the patch set [1] with > looping David. Gentle ping, Dave. I verified the current patch set and CoreSight patch set, both can apply clearly on the latest mainline kernel (with last commit dd81e1c7d5fb "Merge tag 'powerpc-5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux"). Thanks, Leo > [1] https://lore.kernel.org/lkml/20211213121323.1887180-1-leo.yan@linaro.org/