Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1206279pxb; Thu, 4 Mar 2021 06:09:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwePdFSlHWTiVutVu2JoW5+5jyWSQZtbaD/blEujrVHjvxE9fB+3UnaKeQGJd6jwK+tSbfh X-Received: by 2002:a17:906:1956:: with SMTP id b22mr4613214eje.114.1614866987148; Thu, 04 Mar 2021 06:09:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614866987; cv=none; d=google.com; s=arc-20160816; b=y/43DfphXswPZD8dE/nhF/E1mjMHFBQ4AnhaZaXzgTTP5Aa+U30UZQoOflQFQrUY8N yrI9ses+ZSRyX2BlHBTDLqDKSRiJgvyTfom5QuinLezAIwjTEuXvJDe0RyXTpz3q1+B0 D5lqKHengTod3eDCRomGFZ5joL7ixd5cINm2g8RVazlKnGxoL1tz1CZ1NlI4W8zHIwgd IrtmJkJMgU3YnuOeq5kaFKr7VXjzD6GlEhD1Xhi+3l3JLmV9fomPY1TGkVnxm3ksFuMk 1+2b0Pm8+bKUYpB30D5vaN66H+/cZDcmrzhB5yX8VbQxQWuI36xHbvu5eskNAlU7mQdo s2NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=/rFnCu0/uC+e9lGAONaZu20QEK6rTk0y06+M5H4RdIk=; b=sswY0WszAU9vx6jdCgdDtDrc9aM+bX89/n12TKf5a/xWjD7otBACFFB2JzBWadckxC Km+LTkU4TjwjOzMqABDJgYlvoPO7g9nR16OoPwLveQ4eDaIDniUJcd09DNwJjT+WzUS8 +XX++5QoqR6yVAQDuAfJ1zijTMlKGR1VBr+35rsoQdUSB22v07MuyOAs1pBpXZ6wcZnW Z1cXY/v3yqss/RTVcdj94UEPYFBE3gzHoMdeiAZaRNIsMcSIFmnLQ+CMLgGoP/xs7OWS cXWgRkKHjW//8yXkaMIyzC7Tm9NzAAfiUL6tEzLyISXwgBNXyWL8sWDN0S30NlsDq0fp QV7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cH2xpKLr; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si18110080edm.322.2021.03.04.06.09.12; Thu, 04 Mar 2021 06:09:47 -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=@kernel.org header.s=k20201202 header.b=cH2xpKLr; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244400AbhCDBCu (ORCPT + 99 others); Wed, 3 Mar 2021 20:02:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:43904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239725AbhCDAXH (ORCPT ); Wed, 3 Mar 2021 19:23:07 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CD10564EC0; Thu, 4 Mar 2021 00:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614817345; bh=YgYHKOAqZyFPTfZ3rrgRapvoH1gN/uGd7Jh/GedCTuo=; h=Date:From:To:Cc:Subject:Reply-To:From; b=cH2xpKLrjwsWvhpv1R/+ELLco+agw59pwn99mLl83vPnsFfUT8g3GfC33yoXwXFY6 NRiH1R2BKh1LH6DFM3AQk1aLD80+ji9OSss6QIkIpyugxlewaPqs5UvKTeFTjKNMW0 lKF0PPBQCOeCb5RzKmT2OmJikjFBsv8F4hhXBUMxCt+mtqDp+W3f9S+NeOycrX+Q9u BYZJepAPN+sp8xXF0hW4QEJb3MUDMoKHXwYe0GGcADhPRA3VXkXXCa6ywR1pMRH4M8 cau+A5sdRq+XrlrcPYYjt6a0ZTRnYeBfWrMi8Ka5NCoZzvAcgQLDtjE0wFPt7NO/pr Pv471Sr3+LH6g== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 47FE33522591; Wed, 3 Mar 2021 16:22:25 -0800 (PST) Date: Wed, 3 Mar 2021 16:22:25 -0800 From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org Subject: [PATCH tip/core/rcu 0/12] NOCB updates for v5.13 Message-ID: <20210304002225.GA23492@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series contains updates for no-callbacks (NOCBs) CPUs: 1. Detect unsafe checks for offloaded rdp, courtesy of Frederic Weisbecker. 2. Report ignored local enqueue in nohz mode, courtesy of Frederic Weisbecker. 3. Comment the reason behind BH disablement on batch processing, courtesy of Frederic Weisbecker. 4. Forbid NOCB toggling on offline CPUs, courtesy of Frederic Weisbecker. 5. Avoid confusing double write of rdp->nocb_cb_sleep, courtesy of Frederic Weisbecker. 6. Only (re-)initialize segcblist when needed on CPU up, courtesy of Frederic Weisbecker. 7. Rename nocb_gp_update_state to nocb_gp_update_state_deoffloading, courtesy of Frederic Weisbecker. 8. Make nocb_nobypass_lim_per_jiffy static, courtesy of Jiapeng Chong. 9. Fix missed nocb_timer requeue, courtesy of Frederic Weisbecker. 10. Disable bypass when CPU isn't completely offloaded, courtesy of Frederic Weisbecker. 11. Remove stale comment above rcu_segcblist_offload(), courtesy of Frederic Weisbecker. 12. Move trace_rcu_nocb_wake() calls outside nocb_lock when possible, courtesy of Frederic Weisbecker. Thanx, Paul ------------------------------------------------------------------------ include/linux/rcu_segcblist.h | 7 - kernel/rcu/rcu_segcblist.c | 3 kernel/rcu/tree.c | 33 +++--- kernel/rcu/tree_plugin.h | 222 ++++++++++++++++++++++++++++-------------- kernel/sched/core.c | 24 ++++ 5 files changed, 194 insertions(+), 95 deletions(-)