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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09A76C433EF for ; Mon, 24 Jan 2022 09:29:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233761AbiAXJ3y (ORCPT ); Mon, 24 Jan 2022 04:29:54 -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-Google-Smtp-Source: ABdhPJz/dWRJH3zsAQEGgsKWGUG7d9kYAfxghvUOyOChDrjndARlY2TJM66H2aMRp2nhXORS1trhmA== 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/