Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3540589pxu; Tue, 15 Dec 2020 09:17:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJztyDKuYXQ5Y+WwfNIoG2Jxtvuv+jN6OLOODpMR6E44OJKjm3DIasyNPwJF5zVOPDp+WnMA X-Received: by 2002:a17:906:77ce:: with SMTP id m14mr8096543ejn.10.1608052657533; Tue, 15 Dec 2020 09:17:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608052657; cv=none; d=google.com; s=arc-20160816; b=wp1SPtLkWCT3mjTzwC+zK5cR8aN+H5Krapd3BtG8slvl1EWPhg71CP4bnb8Dshnh8v fJMhmd3qT5Ps44zYOHRW3So1qk/AiCc5fkmhEIgWXW1rcZUyFFiHxSAGYYzv1FbsrDmm aCMG3B/LlYyHPrjMsudHIfKhwR60ByOizbZgb0bUpxirXWrKVlDVxZbGo3P1H9Lov0VA 0TpopyGtPaTM27VvMpqtrUYM7Z53Wlz27xy8ll6E8H4b24W2/KGuMGZ8LnfrHgrzsjoq AH79038IkrbcT8TisseJlnMFQVh7KruH5Haynz+8Lp1W1PFpiOIxAyfZfep3NbaNrk9C txBQ== 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:cc:to:from:date:dkim-signature; bh=bamt1vhWflLJrYhbxJ6k9pb1zAhvy1g84sptwRL1GYk=; b=mUfQGH7rQ1HA6AJnlkTVkXBPVT1ttPfBYqT6VfAmfKgRiiI72ECmgE5lSAIlsIatiB qsTswZDqPNRPvVuDwDvcgHFMVzW/2O+QHlp9tPlR/aTXs71ugR9aQLIEpNiaa5LSUhvs bIbxYcqsy7iksOM/MTBZ362h5Kic/LqbgUgLCUWaFpqSRq5fAFV2nYzhu+5OIQQp7dJY 9xGZ5k1z6iYtRm1UdnnozXFvACGGQxpz7ot1V8HDZvs8dUPlK5eVx7Cl3ChF54oQGqcK 8xwIc06BNm15jEAFT79naNS8AIoqPa6NJY6eS2LYYsrWwK+xdABP99waKHg/l/fTJkQc kUrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PUZKg54K; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id us12si1187202ejb.252.2020.12.15.09.17.14; Tue, 15 Dec 2020 09:17:37 -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=@infradead.org header.s=casper.20170209 header.b=PUZKg54K; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730604AbgLOROE (ORCPT + 99 others); Tue, 15 Dec 2020 12:14:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729820AbgLORNx (ORCPT ); Tue, 15 Dec 2020 12:13:53 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32948C06179C; Tue, 15 Dec 2020 09:13:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bamt1vhWflLJrYhbxJ6k9pb1zAhvy1g84sptwRL1GYk=; b=PUZKg54KJus743ak0xZTUApmPd 6WH6ZnYi3YOjC1nUpiEPrO148SqGOj0g1s0HHuge//upi8cwb1DS1T6zQfWn8OL/OzRH+sj4CJcoG bG8D6+CEERiZZpttZfb9soa6jxkrwD+zqmLFCb8Vvyui2IjGHOP7H8mja7qO9caQidHTmGQwbc5b+ hpoAbKY9ydjAJSE14HbXJiIcVb5ptFvkrBAdhzJRBP3neGCnJ6EL6TpQKYqImR/jnQ/gO+mDIiGoz 76xG9Lohd9b5asuF0Us64GfvXIvCmb4WVjxm+SqBtIQQsX0Gj7cvWzPDuBUTxd8J/L6syyoS/i5SR hH/EpRTw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpDst-0005M1-7w; Tue, 15 Dec 2020 17:13:11 +0000 Date: Tue, 15 Dec 2020 17:13:11 +0000 From: Matthew Wilcox To: Sergey Temerkhanov Cc: Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fget: Do not loop with rcu lock held Message-ID: <20201215171311.GV2443@casper.infradead.org> References: <20201215164123.609980-1-s.temerkhanov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201215164123.609980-1-s.temerkhanov@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 15, 2020 at 07:41:23PM +0300, Sergey Temerkhanov wrote: > Unlock RCU before running another loop iteration Why?