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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 C3C50C31E5B for ; Wed, 19 Jun 2019 01:19:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9DDC02085A for ; Wed, 19 Jun 2019 01:19:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729398AbfFSBTN (ORCPT ); Tue, 18 Jun 2019 21:19:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42120 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfFSBTM (ORCPT ); Tue, 18 Jun 2019 21:19:12 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CCB123082133; Wed, 19 Jun 2019 01:19:12 +0000 (UTC) Received: from t460p.redhat.com (ovpn-117-83.phx2.redhat.com [10.3.117.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id 984F617C41; Wed, 19 Jun 2019 01:19:08 +0000 (UTC) From: Scott Wood To: Sebastian Andrzej Siewior Cc: "Paul E. McKenney" , Peter Zijlstra , Steven Rostedt , Thomas Gleixner , Juri Lelli , Clark Williams , linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RT 0/4] Address rcutorture issues Date: Tue, 18 Jun 2019 20:19:04 -0500 Message-Id: <20190619011908.25026-1-swood@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Wed, 19 Jun 2019 01:19:12 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With these patches, rcutorture mostly works on PREEMPT_RT_FULL. I still once in a while get forward progress complaints (particularly, rcu_torture_fwd_prog_cr) when a grace period is held up for a few seconds after which point so many callbacks have been enqueued that even making reasonable progress isn't going to beat the timeout. I believe I've only seen this when running heavy loads in addition to rcutorture (though I've done more testing under load than without); I don't know whether the forward progress tests are expected to work under such load. Scott Wood (4): rcu: Acquire RCU lock when disabling BHs sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep rcu: unlock special: Treat irq and preempt disabled the same rcutorture: Avoid problematic critical section nesting include/linux/rcupdate.h | 4 +++ include/linux/sched.h | 4 +-- kernel/rcu/rcutorture.c | 92 ++++++++++++++++++++++++++++++++++++++++-------- kernel/rcu/tree_plugin.h | 12 ++----- kernel/rcu/update.c | 4 +++ kernel/sched/core.c | 2 ++ kernel/softirq.c | 12 +++++-- 7 files changed, 102 insertions(+), 28 deletions(-) -- 1.8.3.1