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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24AFEC4361B for ; Tue, 15 Dec 2020 17:14:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE4D122475 for ; Tue, 15 Dec 2020 17:14:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729897AbgLORN5 (ORCPT ); Tue, 15 Dec 2020 12:13:57 -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-fsdevel@vger.kernel.org On Tue, Dec 15, 2020 at 07:41:23PM +0300, Sergey Temerkhanov wrote: > Unlock RCU before running another loop iteration Why?