From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8871E27B51C for ; Thu, 24 Apr 2025 13:25:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745501136; cv=none; b=bRTJqhk4JW/L03oWkTN047rtrp8Jc9TZ2+H6aVVqEAqcu5uCr4kjc4g75I3ycWR5Z+sn3xDe9aAJbRbySzCzvXTB3fFmAt5BVM34ahM3obmk2e8++7SvEDvbansnh8yraywRLLDC4tQxXkPKOJEiucqayc5KULNayMl25tsu7ec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745501136; c=relaxed/simple; bh=QR6Lgp6g8I4WxSKtSuW9v27j0eErgzOd2nwqrk0jWcQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hV/LNxkoXzJh3gcdwW0vN3CGW+NdEBxn+Q6Gieh+sa8pgRQqDNHN1lqT/HpsL9cL2hHMRqlirYHXsq4PTEYgFIifsc4NOGTReBlWXU3Q5uhEo/Wifby0QEJRmhUdNg47tYDCLn849+c1yJNYG/Mf4TdAF//BwLX/0GAo7ZuJ5gs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=a0CT2xx8; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="a0CT2xx8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1745501133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T8CoeYLwXY5xNUurE4zhol3ZeibZlpZ2K7VrxvLFf+I=; b=a0CT2xx8uXmJpytpAg/s0A4D2nblkLMOf45VjDtvVDzebKnuiZuRW5+kWV4VqzEHF43K38 PFfOJMffDAEmqFmXaDChKL2x7MlgwDCa22/FBzr5iRLMD9C+/n00/HtDeDaLS5cUWm5p6f E8HS4vlc8NOZua/RJPG4oCx7vgm8OLw= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-547-_al3xsiHP3ekhfK1BIj1Gw-1; Thu, 24 Apr 2025 09:25:26 -0400 X-MC-Unique: _al3xsiHP3ekhfK1BIj1Gw-1 X-Mimecast-MFC-AGG-ID: _al3xsiHP3ekhfK1BIj1Gw_1745501124 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8FDFD1956094; Thu, 24 Apr 2025 13:25:23 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.226.93]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 68C7B1956095; Thu, 24 Apr 2025 13:25:17 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 24 Apr 2025 15:24:45 +0200 (CEST) Date: Thu, 24 Apr 2025 15:24:38 +0200 From: Oleg Nesterov To: Christian Brauner Cc: Kuniyuki Iwashima , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, David Rheinsberg , Jan Kara , Alexander Mikhalitsyn , Luca Boccassi , Lennart Poettering , Daan De Meyer , Mike Yuan Subject: Re: [PATCH RFC 1/4] pidfs: register pid in pidfs Message-ID: <20250424132437.GA15583@redhat.com> References: <20250424-work-pidfs-net-v1-0-0dc97227d854@kernel.org> <20250424-work-pidfs-net-v1-1-0dc97227d854@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250424-work-pidfs-net-v1-1-0dc97227d854@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 On 04/24, Christian Brauner wrote: > > + * pidfs_register_pid - pin a struct pid through pidfs > + * @pid: pid to pin > + * > + * Pin a struct pid through pidfs. Needs to be paired with > + * pidfds_put_put() to not risk leaking the pidfs dentry and inode. ^^^^^^^^^^^^^^ pidfs_put_pid ;) Can't review 2/4, for other patches in series Reviewed-by: Oleg Nesterov