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=-4.1 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 E72D8C433F2 for ; Thu, 16 Jul 2020 14:25:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9C62B206F4 for ; Thu, 16 Jul 2020 14:25:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="l3ZLmTNV"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="dBf+uBus" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C62B206F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0FF7D6B0073; Thu, 16 Jul 2020 10:25:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 089A86B0089; Thu, 16 Jul 2020 10:25:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E96788D0005; Thu, 16 Jul 2020 10:25:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0237.hostedemail.com [216.40.44.237]) by kanga.kvack.org (Postfix) with ESMTP id D23586B0073 for ; Thu, 16 Jul 2020 10:25:43 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 71A7D181AC9CB for ; Thu, 16 Jul 2020 14:25:43 +0000 (UTC) X-FDA: 77044162566.19.mouth34_4e1458426f02 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id 0370C1AD1B7 for ; Thu, 16 Jul 2020 14:25:41 +0000 (UTC) X-HE-Tag: mouth34_4e1458426f02 X-Filterd-Recvd-Size: 2839 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by imf35.hostedemail.com (Postfix) with ESMTP for ; Thu, 16 Jul 2020 14:25:40 +0000 (UTC) Date: Thu, 16 Jul 2020 16:25:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1594909539; 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=R8pGaheYTYoGZYv5r4THVryy54oNNrDJrmVoeuGswsI=; b=l3ZLmTNV4qh6x04NTEwynyxGe7l8THGdxCYUWxLqXXP3wcyXtQ0ai34niwircMYYF8zjym n26JbEiSjL3/8CT7Px7Tonm9BjWdTLBn70gx4SBN6cgOcEznP23+k8JJIdqC6xIkaRh1Bt 2/ieXp4QNjWFHe/u+SyV4++EA3CuYpsGLHE6DbSYExAKs55OA0AiZrCywdXLNlcFLfjes+ r/xohezp/WpjDi0iW/B9oeMSljCXI2g0tpR41EXvkI4vKKKadOjmyjiFJWRWJTbbI3ITAV KaoDAygyzwwTYwYRdqWyU5fuHmLBS0WmvaD2BZYbT8MEAALFrE4a6h8lL7AgBg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1594909539; 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=R8pGaheYTYoGZYv5r4THVryy54oNNrDJrmVoeuGswsI=; b=dBf+uBusIFT/L0neyYIR02FQW3BLM6sIHJtxziWYRogPfi6O6X69EPZn6QtTBtz2wgubmE GZkc3klFzBky5fCA== From: Sebastian Andrzej Siewior To: Uladzislau Rezki Cc: Joel Fernandes , LKML , RCU , linux-mm , "Paul E . McKenney" , Andrew Morton , "Theodore Y . Ts'o" , Matthew Wilcox , Oleksiy Avramchenko Subject: Re: [PATCH 1/1] rcu/tree: Drop the lock before entering to page allocator Message-ID: <20200716142537.ecp4icsq7kg6qhdx@linutronix.de> References: <20200715183537.4010-1-urezki@gmail.com> <20200715185628.7b4k3o5efp4gnbla@linutronix.de> <20200716091913.GA28595@pc636> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200716091913.GA28595@pc636> X-Rspamd-Queue-Id: 0370C1AD1B7 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 2020-07-16 11:19:13 [+0200], Uladzislau Rezki wrote: > Sebastian, could you please confirm that if that patch that is in > question fixes it? > > It would be appreciated! So that preempt disable should in terms any warnings. However I don't think that it is strictly needed and from scheduling point of view you forbid a CPU migration which might be good otherwise. Also if interrupts and everything is enabled then someone else might invoke kfree_rcu() from BH context for instance. Sebastian