Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2538382rwb; Sat, 6 Aug 2022 00:45:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR7Xk71/asl/Pxz7xhpm/bn/omx/QSPTTnDfoOwYiq5nHmOF9OVsVYFTfcLOj4W/I43Gvg10 X-Received: by 2002:a17:90b:ec7:b0:1f2:fa08:44cd with SMTP id gz7-20020a17090b0ec700b001f2fa0844cdmr11241516pjb.183.1659771944147; Sat, 06 Aug 2022 00:45:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659771944; cv=pass; d=google.com; s=arc-20160816; b=loJX0wefAffyocjpPu5z+Jv1kRRLS/7wdfHXUptBA72KjQUUBHremZtJ4tjNM6lT66 HD2TdvOR5pZLcoBtoKymYqySdLUM/PJ4s7IAOZ3W6ILWP3/7HcjcHRc/fuvLvXrMAkhi y75nqaXa6n2y9v9cdfsnKK4yT+E9sbKvNiVtIudEgunTNG87znK76cv4wRY84ixEU6u/ t0lipmLMjnnuBY/NBCozOiKIX0u94crnYDAH/fxGOfoVfCD47jSJW1Eeea7Czc+pzJCM kNL3rRzPgRBY11AydReVgicpul5DSMHSKORLfmMfcx+LZ3x8D9ejkIYktU1jM6iLGObX qdNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=0zU6HW/RiKrlHjgu1JneOctBa6Vp2gRdMfIiJanVlDU=; b=No5AUrmmHSzLAJ2V6/xTx5kyZDAXDyRa2wG42XfTIa1455HB6EsqAKYW6PAypWXAyH 9gxBAC/r3BhIGxx+0Xfu39QfCdW17y6Jf5QYHF4w70/VhiY+/hiVngBMUp3k6lCe2NKT r0Y0JvYpZq+to8Kf7V+usjTOF7vWIbI+q+tQgZGfpMreqwtpUDgqIf12VnZrTeD2c+Q6 MrITCccEmgw0ymE78IMcPaq0sb/OPYpLRe6SqIGTFyBNZo3+L2LX3cINgfYERp0KmZj0 VeQSd45SBnziolTGv7sH9Z7czvwx7KIY8JpEF34eWEghw6rRUb/wlVXHs2WLUNig9TzD yM4A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=QgufDlEt; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siddh.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oc12-20020a17090b1c0c00b001f31da6b2d2si7245842pjb.154.2022.08.06.00.45.21; Sat, 06 Aug 2022 00:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=QgufDlEt; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siddh.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237969AbiHFHYH (ORCPT + 99 others); Sat, 6 Aug 2022 03:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231799AbiHFHYG (ORCPT ); Sat, 6 Aug 2022 03:24:06 -0400 Received: from sender-of-o53.zoho.in (sender-of-o53.zoho.in [103.117.158.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB0B5B70 for ; Sat, 6 Aug 2022 00:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659770601; cv=none; d=zohomail.in; s=zohoarc; b=CWDQqmcWpGcDP6YaEQwZ0h+sHqHCU2+P+vFhFIddlN6J+D1MoXIholkA6SAOB79wyDLiV3Mj1Qt8Y/mAGR12U+JpQJG55PB0RWxodnwnJiWMftdm/kDf19bU7Vs6Cu+9wyjFoaBmIbAGujFaOIFFWv4PbrGrNIQymW0/i5yZWSo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1659770601; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=0zU6HW/RiKrlHjgu1JneOctBa6Vp2gRdMfIiJanVlDU=; b=OoPKM/6mAk/M24bJnsy5N5HgNR9PR2UQcVfWJhjDbp/ckQUjYWJIJa6kvJI7I1bLj+sRQBy0HWZI6cY2yzso/nAhEPMidhLLvOp1QJh7MHqDHmxMwnPRjPUkgc51kRE+MIaAmvItX60Na/XvR8rSfCDug1MO6zR91RPLnSlWkus= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=siddh.me; spf=pass smtp.mailfrom=code@siddh.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659770601; s=zmail; d=siddh.me; i=code@siddh.me; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=0zU6HW/RiKrlHjgu1JneOctBa6Vp2gRdMfIiJanVlDU=; b=QgufDlEt+Zvvv7bokdo6S0xc41lKFFG+lMeDAFIgDzdejYprRbDhiFKCl6o3dSEG WxJsIniqBfr7bwqrxkXfLwAnOLrl9L1ilyEn5G2Ijl8IxgI4Jwd9HzJF3C8VlMzcFhy NLiuIg5HF4E5w8MT0VUnzvR81/T3GdrFmlQMSjmo= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1659770590975525.568493661557; Sat, 6 Aug 2022 12:53:10 +0530 (IST) Date: Sat, 06 Aug 2022 12:53:10 +0530 From: Siddh Raman Pant To: "Eric Biggers" Cc: "christophe.jaillet" , "corbet" , "dhowells" , "edumazet" , "linux-kernel-mentees" , "linux-kernel" , "mchehab" , "rdunlap" Message-ID: <182720956e8.796884ee174572.6157803946196818050@siddh.me> In-Reply-To: References: <20220804144152.468916-1-code@siddh.me> <1826d5c4a90.282ac4bf118702.5300662644268737477@siddh.me> Subject: Re: [PATCH v2 3/3] kernel/watch_queue: Remove wqueue->defunct and use pipe for clear check MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_RED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 06 Aug 2022 00:03:20 +0530 Eric Biggers wrote: > wqueue->pipe is only read or written while wqueue->lock is held, so that is not > an issue at all. > > - Eric Thanks for explaining. I will send the v2 now. Thanks, Siddh