Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13895984pxu; Mon, 4 Jan 2021 07:22:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOadsX3ZgSX2AaFQjNhhX6o3NEHUWQMmvCJvZflMGgNq8hQ8OjvFBzFHFutnZyW/sK3zXc X-Received: by 2002:a50:ee97:: with SMTP id f23mr68459091edr.311.1609773768087; Mon, 04 Jan 2021 07:22:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609773768; cv=none; d=google.com; s=arc-20160816; b=hyC/BkhniQ06hhlfbu/EEK0qT8YNdfMbWxFWhkTfYP/9GblCd+BHZTyspPI+vilisJ 131YDgismfMIN0/Bp2m+AADEjr4O5IB0jt6yegTrj9tR2NPST/bR6KpcZ53j/ugglY6/ z+RMrhSlUmygrGf5e9UhkUSsLa1aeuonFrsT3IR9t9UT54Aq2lDzZ/ic2oc+033JvrG8 /cwPXOEEb9ZUmVZoJwgA82GmtXrxZsP63rOdln45h2Adsevzx4/3pBlV/pcL086SRK1/ 1MJJMqg9uDB3A1NBWZ3G+G+2vAGTvFNZiNi4WDdE0vaiD2Id7abbWU03rVPhwvQtR8fX uovQ== 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:dkim-signature; bh=mP1KlPQ+/Ix0BnL6Bkh+1qh4wYkhwvDWuW9t1uUny7g=; b=Gy3PTjK9pzscVyLvgAgwAan9PrqaGAX3h2QA/5OKKRgg0J8MsE7F5o2DWox/dywLty 8j9FvjM4m/BBmU2oXTVN+ZDq4xL4P4XB/oGmXT4EulrC1Hj5AOYyUBcm2m1L1FFBERXx vIQr7WVhrDsXs3hSTx0RWrqDfQUu6lBEzNuA8ctPqKciLgQ8DSWSusyYFXgTj5QHo3fS HuabIazAZ9t80g8Q+4lEPqf8GIO/6oaTTPQz0FbTdp9bmBbYlTsZpJKaf4qG9HUlHAP/ zRtZR63/Qy7NA2HdR8aXJVJOzEQYBIesAvL1z5BwyXIRR/Hu62xPEQFlAMhcrpqMcWAT tUUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=reIzWMa9; 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 ga42si26745776ejc.552.2021.01.04.07.22.23; Mon, 04 Jan 2021 07:22:48 -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=reIzWMa9; 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 S1726733AbhADPVq (ORCPT + 99 others); Mon, 4 Jan 2021 10:21:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:54860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726396AbhADPVp (ORCPT ); Mon, 4 Jan 2021 10:21:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 81D77207BC; Mon, 4 Jan 2021 15:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609773665; bh=OEqL0DS9evxcnmHPYt2YEDY1jQaDKpzSo3PJ4f2d5vw=; h=From:To:Cc:Subject:Date:From; b=reIzWMa9qzBVfDC4mGfsBvr1MH/82px3lVg+iPTxQM/76UI7lcU+XePzmrNkSm/zg vOBHCBPU0O87aaH/3qPW3mJPzsmhEPbQBoMZGxXA5P+UQZLOKso/N5Q7esXaTj8tv4 WRabapy0plFtG8ieMxAPPeNFujZTItPJHw5IeeBLtx+pWYxuYw6F6WpyjcTpIp60Ar /jp6PRu/iFCOhni8Vbze5m2gRSDud2unvl+2WYJGLkjCeMKuUUmUOvhNA1RVSCOc/Q 8IZIEUoNVBgO8fPTVDwk0x3x5fwqm9gKeXPCR4H/MfFZ5IjnxZyVvorQROYXcWFKVx BBYXigNyiti4Q== From: Frederic Weisbecker To: Peter Zijlstra Cc: LKML , Frederic Weisbecker , "Rafael J . Wysocki" , Ingo Molnar , Fabio Estevam , stable@vger.kernel.org, Thomas Gleixner , "Paul E . McKenney" , Len Brown , Pengutronix Kernel Team , NXP Linux Team , Daniel Lezcano , Shawn Guo , Sascha Hauer Subject: [PATCH 0/4] sched/idle: Fix missing need_resched() checks after rcu_idle_enter() v2 Date: Mon, 4 Jan 2021 16:20:54 +0100 Message-Id: <20210104152058.36642-1-frederic@kernel.org> 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 The only code change in this v2 is the use of tif_need_resched() instead of need_resched() on 3/4 (build issue reported on linux-next). The rest is added Tested-by and Reviewed-by tags. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git sched/idle-v2 HEAD: c246718af0112c8624ec9c46a85bf0ef1562e050 Thanks, Frederic --- Frederic Weisbecker (4): sched/idle: Fix missing need_resched() check after rcu_idle_enter() cpuidle: Fix missing need_resched() check after rcu_idle_enter() ARM: imx6q: Fix missing need_resched() check after rcu_idle_enter() ACPI: processor: Fix missing need_resched() check after rcu_idle_enter() arch/arm/mach-imx/cpuidle-imx6q.c | 8 +++++++- drivers/acpi/processor_idle.c | 10 ++++++++-- drivers/cpuidle/cpuidle.c | 33 +++++++++++++++++++++++++-------- kernel/sched/idle.c | 18 ++++++++++++------ 4 files changed, 52 insertions(+), 17 deletions(-)