Received: by 10.192.165.148 with SMTP id m20csp2927523imm; Sun, 22 Apr 2018 19:32:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ya5IEOCUVzr40txkpFQ2u88k8i0Eo/mO7Oz26Uazq44gXEEa5Bfiez5nke4q1rsK//DPm X-Received: by 10.98.189.14 with SMTP id a14mr17858659pff.30.1524450734436; Sun, 22 Apr 2018 19:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524450734; cv=none; d=google.com; s=arc-20160816; b=gZ1EJCElvrhInK75c3GDxo4DyJvWsPeLEl9CfACgCIT7LcyR7IZa16nB8flZQU7H0E LwIuRmUD7EsReLsa6MxJf10rlBGNzoxO28zCcj1ZL1BASgovzSst6OdtSC6gue8eNUx4 VH0tHHqmQz7PGAorgf4KIQW9r2BgmSUx38mpNlRIdXsG1yZpPLC8PiTaX7tNZN3AwEDM jFp7tDkDUfVsdgkqcEpbNkcG3sD1kut6wNicAZTot+SI52/P8xYrt/1YKROb1wvHSMQo zmb8MEksrsFAiKbtrFsvAolLk/ScploXyNqDH0eGv1HExXVk7PAX0FRKfmvunBRUaAQH 1q8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:content-disposition :mime-version:reply-to:subject:cc:to:from:date :arc-authentication-results; bh=AJNIz51Yj3RQ5vZnaJdqK/9oiaqxslPVuQLk07LhzXg=; b=KTE9BcQGqNG9JFCY9GJfLikUv18S8/jDhrzJQcr+GneXRB+HW4qrg/fXhH/X3Wl6wD jVs+iIGQbUNDJQk5daL9bwmeNwqroQ/wltZuVu/ZMmpuQTkP1itwDKsSkfC89MCoP6QF 3reRnrekTjZbPCzfFF7XX1ate7ncVinZfzqP574FS9jyjgRDZzmkBcSrZf7RdGV/z4C5 uk2fBy5T1MDAXgVjD8gP1dUUcQzyQX2pM8cSK4Ry/72rMuU5Pvg7VKbL1BrMwIXL3ixD Yszy0Em2sr5P+K7hKgI7hDJuDWWcTjgRYhKxMlBqkSAEvW7qJHlFGwF/+mhCLlqUbYh/ DnCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si9043386pge.165.2018.04.22.19.31.59; Sun, 22 Apr 2018 19:32:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753919AbeDWCar (ORCPT + 99 others); Sun, 22 Apr 2018 22:30:47 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:56018 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753867AbeDWCao (ORCPT ); Sun, 22 Apr 2018 22:30:44 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3N2T53q069026 for ; Sun, 22 Apr 2018 22:30:44 -0400 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hh3q9w4tk-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Sun, 22 Apr 2018 22:30:43 -0400 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 22 Apr 2018 22:30:42 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 22 Apr 2018 22:30:37 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3N2Ubnl57344084; Mon, 23 Apr 2018 02:30:37 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D90ECB2046; Sun, 22 Apr 2018 23:32:39 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.149.45]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 9CCC8B204D; Sun, 22 Apr 2018 23:32:39 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 9126A16C6DFB; Sun, 22 Apr 2018 19:31:50 -0700 (PDT) Date: Sun, 22 Apr 2018 19:31:50 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.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.opensrc@gmail.com Subject: [PATCH tip/core/rcu 0/22] Miscellaneous fixes for v4.18 Reply-To: paulmck@linux.vnet.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18042302-0052-0000-0000-000002E0B1B4 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008903; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000257; SDB=6.01021888; UDB=6.00521536; IPR=6.00801123; MB=3.00020719; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-23 02:30:41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042302-0053-0000-0000-00005C6D81D9 Message-Id: <20180423023150.GA21533@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-23_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804230025 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series provides miscellaneous fixes: 1. Make non-production PREEMPT cond_resched() help Tasks RCU. 2. Inline rcu_preempt_do_callback() into its sole caller, courtesy of Byungchul Park. 3. Don't allocate rcu_nocb_mask if no one needs it, for example, in the case where there are no no-CBs CPUs. 4. Call wake_nocb_leader_defer() with 'FORCE' when nocb_q_count is high, courtesy of Byungchul Park. 5. Remove deprecated RCU debugfs tracing code, courtesy of Byungchul Park. 6. Rename cond_resched_rcu_qs() to cond_resched_tasks_rcu_qs() in order to reflect its actual current use case. 7. Eliminate unused cond_resched_softirq() macro. 8. Move __rcu_read_lock() and __rcu_read_unlock() to tree_plugin.h. 9. Update rcu_bind_gp_kthread() header comment. 10. Declare rcu_eqs_special_set() in public header, courtesy of Yury Norov. 11. Add cleanup_srcu_struct_quiesced(). 12. Avoid flush dependency in delete controller flow, which is included in this series due to its need for the shiny new cleanup_srcu_struct_quiesced() function. 13. Exclude near-simultaneous RCU CPU stall warnings. 14. Add leaf-node macros to simplify code. 15. Ensure whatisRCU.txt actually says what RCU is, courtesy of Paul Gortmaker. 16-21: Debugging commits that may or may not be submitted for inclusion, depending on how helpful they prove to be. 22: Use the proper lockdep annotation in dump_blkd_tasks(), courtesy of Boqun Feng. Thanx, Paul ------------------------------------------------------------------------ Documentation/RCU/whatisRCU.txt | 2 drivers/nvme/host/core.c | 2 include/linux/rcupdate.h | 4 - include/linux/rcutree.h | 1 include/linux/sched.h | 14 ++-- include/linux/srcu.h | 36 ++++++++++++ kernel/rcu/rcu.h | 11 ++- kernel/rcu/rcuperf.c | 2 kernel/rcu/rcutorture.c | 7 ++ kernel/rcu/srcutiny.c | 9 ++- kernel/rcu/srcutree.c | 30 +++++----- kernel/rcu/tree.c | 76 ++++++++++++++------------ kernel/rcu/tree.h | 8 -- kernel/rcu/tree_exp.h | 13 +--- kernel/rcu/tree_plugin.h | 116 +++++++++++++++++++++++++++++++--------- kernel/rcu/update.c | 50 ----------------- kernel/sched/core.c | 14 ---- kernel/softirq.c | 3 - kernel/torture.c | 2 kernel/trace/trace_benchmark.c | 4 - 20 files changed, 232 insertions(+), 172 deletions(-)