Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751974AbeADEZ7 (ORCPT + 1 other); Wed, 3 Jan 2018 23:25:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:49068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751782AbeADEZ5 (ORCPT ); Wed, 3 Jan 2018 23:25:57 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EE48221873 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=frederic@kernel.org From: Frederic Weisbecker To: Ingo Molnar Cc: LKML , Frederic Weisbecker , Peter Zijlstra , Chris Metcalf , Thomas Gleixner , Luiz Capitulino , Christoph Lameter , "Paul E . McKenney" , Wanpeng Li , Mike Galbraith , Rik van Riel Subject: [GIT PULL] isolation: 1Hz residual tick offloading v3 Date: Thu, 4 Jan 2018 05:25:32 +0100 Message-Id: <1515039937-367-1-git-send-email-frederic@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Ingo, Please pull the sched/0hz branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git sched/0hz HEAD: 9e932b2cc707209febd130978a5eb9f4a943a3f4 -- Now that scheduler_tick() has become resilient towards the absence of ticks, current->sched_class->task_tick() is the last piece that needs at least 1Hz tick to keep scheduler stats alive. This patchset adds a flag to the isolcpus boot option to offload the residual 1Hz tick. This way the nohz_full CPUs don't have anymore tick (assuming nothing else requires it) as their residual 1Hz tick is offloaded to the housekeepers. For quick testing, say on CPUs 1-7: "isolcpus=nohz_offload,domain,1-7" Thanks, Frederic --- Frederic Weisbecker (5): sched: Rename init_rq_hrtick to hrtick_rq_init sched/isolation: Add scheduler tick offloading interface nohz: Allow to check if remote CPU tick is stopped sched/isolation: Residual 1Hz scheduler tick offload sched/isolation: Document "nohz_offload" flag Documentation/admin-guide/kernel-parameters.txt | 7 +- include/linux/sched/isolation.h | 3 +- include/linux/tick.h | 2 + kernel/sched/core.c | 94 +++++++++++++++++++++++-- kernel/sched/isolation.c | 10 +++ kernel/sched/sched.h | 2 + kernel/time/tick-sched.c | 7 ++ 7 files changed, 117 insertions(+), 8 deletions(-)