Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2800702pxy; Tue, 3 Aug 2021 15:55:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZml8gwktnqlXVUWxkl0b5owSmk/ts52fmXh9An4zrDqbRpyjcy+f4mGivLiS0I77spKRL X-Received: by 2002:a05:6e02:1a28:: with SMTP id g8mr72957ile.128.1628031348918; Tue, 03 Aug 2021 15:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628031348; cv=none; d=google.com; s=arc-20160816; b=RmuXoqQ9+b48dyd+FlOJElg+BTZ3orJbltvnwnMHHTkhrbhSvmY1S6Pc5vWp3jUfBr cbbU056B45D2QcmIC0F/6q7x08bHamGujPAyYQ0jxh4qVuEhteuRagkwaqmNXU0zlnCx zoLgegF9vHJHQbPHYD+fF7plESA5D6eYoGmDdKp6bfEaKEzcK6t180t1CDTOdeJbPvH7 ny8968Bl4pkU6dmrlvobgQoogoK8F0haRhOLHkL7p+X1q738EpEoW8yrLVQ7B1VFDaaC YgFprldxD8yoevSJ3mvHb4iz8pXkNJ0qK8XGu/a1FOC2BOjx7fGyCcit95eRrCQfTc1B 327Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=U2R5ZNc/F+oThk4UxX7q5nLcXsNbWlSTg8S2biq0IHY=; b=Fd5+tv8XFbajw1QR02xM/bHWbdZvXW/POGmSycEBby5f4NUCT6K3ibjofUrDQEnKE9 ifnpiB4IN41fV0SrER4+OEC5tOFt/Y3qtWusD6ziTMJvVxQBhe1CFZ5dcBOKH15eY15k 0brbeKpdAhm+FRb4gJEcxH83wuzPLC3dVxHrfPxHHX8gk5K1KXiNvOCYNQ4L+uED0K14 V962kVxGpF0j2ONu5gmpbxvnvRE/AkXptD+Bn1RSsGnsGcCNwtmRUoflMgeR9hjmqIuG UAlJVKjW6vJFsVfR3kUIe3IFlmPl4vrlNYW5i2o1aaM61HoiWtouqxmutVWm1kfN9Xx2 APxw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si415416ils.18.2021.08.03.15.55.36; Tue, 03 Aug 2021 15:55:48 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231222AbhHCWzC (ORCPT + 99 others); Tue, 3 Aug 2021 18:55:02 -0400 Received: from foss.arm.com ([217.140.110.172]:54912 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbhHCWzB (ORCPT ); Tue, 3 Aug 2021 18:55:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D7A5413A1; Tue, 3 Aug 2021 15:54:49 -0700 (PDT) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D252D3F66F; Tue, 3 Aug 2021 15:54:47 -0700 (PDT) From: Valentin Schneider To: linux-kernel@vger.kernel.org, rcu@vger.kernel.org, linux-rt-users@vger.kernel.org Cc: Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Steven Rostedt , Daniel Bristot de Oliveira , Frederic Weisbecker , "Paul E. McKenney" , Josh Triplett , Davidlohr Bueso , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes Subject: [PATCH 0/2] rcutorture: Some PREEMPT_RT fixlets Date: Tue, 3 Aug 2021 23:54:35 +0100 Message-Id: <20210803225437.3612591-1-valentin.schneider@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, I've been meaning to run RCU torture under v5.13-rt1 to validate my hacking around the RCU offloaded state [1], but have hit some warnings. The second patch clearly isn't a thing of beauty, but FWIW it lets me run RCU torture tests without any extra steps. As mentioned over IRC, this started as a .setup() callback for the kosftirqd threads gated behind CONFIG_RCU_BOOST && CONFIG_RCU_TORTURE_TEST, but I figured keeping RCU torture specific stuff within rcutorture.c would be a tad smarter. I hate either version, but here it is regardless. [1]: https://lore.kernel.org/lkml/20210728220137.GD293265@lothringen/ Cheers, Valentin Valentin Schneider (2): rcutorture: Don't disable softirqs with preemption disabled when PREEMPT_RT rcutorture: Nudge ksoftirqd priority for RCU boost testing kernel/rcu/rcutorture.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.25.1