Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1259676ybh; Thu, 16 Jul 2020 07:27:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymLSIQRMDVFftkXvj3GFRFV/CpeBYm9mGHmDLuesvwLrug3r1dspzbRC+vgHdfGwEnNht/ X-Received: by 2002:a17:906:c78f:: with SMTP id cw15mr3895883ejb.58.1594909660858; Thu, 16 Jul 2020 07:27:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594909660; cv=none; d=google.com; s=arc-20160816; b=adbG/HdvGRv0tUXMp5iiv13Ypfq+9G/KVeuOUpqO2Qi++uf20n05djtHEd1v/KSzoO 0ctOTM0x3HnsO34GNKflDj0iv117d8tVKjHqI9OVjmsDCMBM53vVC0/hYLG04ESrkaxP g2W/kOnPLjVHTgZsn+gUrv0yq82zNR4lRa0VsOztIf7mz3zv4TxiCGcrogwLP/qfvRLm UbvxkTmuBa4bJXaLD7OEhBXaVIhhwWkWZv58sT06qtnYZCCodS+pPxFxVE5cwHcLgJpP XRNvlwpRWxpqlmN/QN5RSAYC/rfbNB/Eb6Lq9PJzOc9Jer8zXNf+oq53Z9Fqt3etDCvp u1Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from :dkim-signature:dkim-signature:date; bh=R8pGaheYTYoGZYv5r4THVryy54oNNrDJrmVoeuGswsI=; b=Szfr2Wh/EdC/gL73j5weC6UAVMECzgK67lxzPNd0ZELijtQE7wnlEdV2vX5ov1OvWF 2TVDLQEjoMrLEmyD8zj4nARUTgYKeDSUEhw1sIyU/XbBdNOn4TVD8LFIv49lnyWNX2LG w75FMuqcTB60nHo6iMeTG4ihfCxcObP4LdZUu3a26zJZZfO9+sh0N+3gaIgynw3V4NII wcjskQHWUmMqYtZ0U0xMps6m4Yl9dPENtZX4RXqcGi+XzjfM0hSdgxctA6Z95NOhLlwm Vf1qNvR403bJirv0BiTL3FaWzuGXSsW3vvuYdZmC4WIGNTPTU70FUiOdd1Wt+mLbwK01 XiLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=l3ZLmTNV; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si3390639edv.74.2020.07.16.07.27.18; Thu, 16 Jul 2020 07:27:40 -0700 (PDT) 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=@linutronix.de header.s=2020 header.b=l3ZLmTNV; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729084AbgGPOZm (ORCPT + 99 others); Thu, 16 Jul 2020 10:25:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729066AbgGPOZl (ORCPT ); Thu, 16 Jul 2020 10:25:41 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BEE9C08C5C0; Thu, 16 Jul 2020 07:25:40 -0700 (PDT) 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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