From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755589AbdGXVoh (ORCPT ); Mon, 24 Jul 2017 17:44:37 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:39091 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754166AbdGXVo2 (ORCPT ); Mon, 24 Jul 2017 17:44:28 -0400 Date: Mon, 24 Jul 2017 14:44:25 -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 Subject: [PATCH tip/core/rcu 0/15] General fixes 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: 17072421-2213-0000-0000-000001FF06B8 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007419; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000214; SDB=6.00892372; UDB=6.00446022; IPR=6.00672536; BA=6.00005489; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016356; XFM=3.00000015; UTC=2017-07-24 21:44:26 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17072421-2214-0000-0000-000056FC8B26 Message-Id: <20170724214425.GA9665@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-24_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1707240332 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series contains general fixes: 1. Make cond_resched() provide RCU quiescent state, which finally avoids degrading performance. 2. Use timer as backstop for NOCB deferred wakeups. 3. Simplify RCU Kconfig by driving TASKS_RCU directly off of PREEMPT. 4. Create reasonable API for do_exit() TASKS_RCU processing. 5. Add TPS() to event-traced strings. 6. Move rcu.h to new trivial-function style. 7. Add event tracing to ->gp_tasks update at GP start. 8. Add idle swait variants which don't contribute to load average, courtesy of Luis R. Rodriguez. 9. Use idle versions of swait to make idle-hack clear, courtesy of Luis R. Rodriguez. 10. Add TPS() protection for _rcu_barrier_trace strings. 11. Set disable_rcu_irq_enter on rcu_eqs_exit(), courtesy of Masami Hiramatsu. 12. Add assertions verifying blocked-tasks list. 13. Make rcu_idle_enter() rely on callers disabling irqs, courtesy of Peter Zijlstra. 14. Add warning to rcu_idle_enter() for irqs enabled. 15. Remove exports from rcu_idle_exit() and rcu_idle_enter(). Thanx, Paul ------------------------------------------------------------------------ include/linux/rcupdate.h | 13 include/linux/sched.h | 8 include/linux/swait.h | 55 +++ kernel/exit.c | 7 kernel/rcu/Kconfig | 3 kernel/rcu/rcu.h | 128 +------ kernel/rcu/rcutorture.c | 17 kernel/rcu/tree.c | 75 +--- kernel/rcu/tree.h | 2 kernel/rcu/tree_plugin.h | 211 +++++++----- kernel/rcu/update.c | 18 - kernel/sched/core.c | 1 tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | 2 13 files changed, 276 insertions(+), 264 deletions(-)