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=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 38B38C433E9 for ; Thu, 11 Mar 2021 12:38:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEBB964FE9 for ; Thu, 11 Mar 2021 12:38:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233119AbhCKMhb (ORCPT ); Thu, 11 Mar 2021 07:37:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:59666 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233179AbhCKMhP (ORCPT ); Thu, 11 Mar 2021 07:37:15 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4C69C64F8E; Thu, 11 Mar 2021 12:37:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615466234; bh=9RAEUsRaMheb+lyyBoNwvH8fiZ28fFkswXX/YYJj/Qc=; h=From:To:Cc:Subject:Date:From; b=SHsyKJ46coJNLN5KyTY3Av83EsbXqVCh0lxUoxFO+7a1PRE8WkvDK3wH/7kd+sElO zOBqWWBSZqWEO55Ah6wTpNBmi9HQUdMijF/oWkzJNUC8fdK0H7qdMZ6CpWIQdq9NWe NRh49p7iRJJqGXUDzSYPCN0GVSmt9or5pzPbPgqQzUK1YITprfFlpSmF0TUEbHivXa Oxigz38Hl/mILrm+aREvW7+CI6As1yTQ2ACJYGMtvLYzCPpUZKovNYsN1UfEJ+8eVq ANyA3eGPcJTgoxmQDRPTx1X0UNjFszjv/aK/fzpO0LkeZBbNXV2hm4JqK2zXL9/PKp Jb4BfgcTUB5pg== From: Frederic Weisbecker To: Peter Zijlstra , Thomas Gleixner Cc: LKML , Frederic Weisbecker , "Rafael J . Wysocki" , Ti Zhou , Yunfeng Ye , "Paul E . McKenney" , Marcelo Tosatti , Ingo Molnar Subject: [PATCH 00/10] tick/nohz updates Date: Thu, 11 Mar 2021 13:36:58 +0100 Message-Id: <20210311123708.23501-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 Various updates for the timer/nohz side. * Two fixes (maybe 01/10 deserves a stable tag, I should check) * A Kconfig help change * A debug check while enqueuing timers when the tick is stopped in idle. * The rest is noise reduction for full nohz ("tick/nohz: Kick only _queued_ task whose tick dependency is updated"). It relies on the fact that p->on_rq is never set to anything else than TASK_ON_RQ_QUEUED while the task is running on a CPU, the only relevant exception being the task dequeuing itself on schedule(). I haven't found issues in my modest reviews of deactivate_task() callers but I lost my headlamp while visiting fair's sched entity dequeuing and throttling (had to find my way back in the dark again). So please double check the last patch. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/nohz HEAD: e469edfa00f97e5ec5d31fe31d3aef0a5c9bd607 Thanks, Frederic --- Frederic Weisbecker (5): tick/nohz: Add tick_nohz_full_this_cpu() tick/nohz: Remove superflous check for CONFIG_VIRT_CPU_ACCOUNTING_NATIVE timer: Report ignored local enqueue in nohz mode tick/nohz: Update nohz_full Kconfig help tick/nohz: Only wakeup a single target cpu when kicking a task Marcelo Tosatti (2): tick/nohz: Change signal tick dependency to wakeup CPUs of member tasks tick/nohz: Kick only _queued_ task whose tick dependency is updated Yunfeng Ye (2): tick/nohz: Conditionally restart tick on idle exit tick/nohz: Update idle_exittime on actual idle exit Zhou Ti (x2019cwm) (1): tick/nohz: Prevent tick_nohz_get_sleep_length() from returning negative value include/linux/sched.h | 2 + include/linux/tick.h | 19 ++++-- kernel/sched/core.c | 25 +++++++- kernel/time/Kconfig | 11 ++-- kernel/time/posix-cpu-timers.c | 4 +- kernel/time/tick-sched.c | 134 +++++++++++++++++++++++++++++------------ 6 files changed, 142 insertions(+), 53 deletions(-)