Received: by 10.223.176.5 with SMTP id f5csp2368089wra; Sun, 28 Jan 2018 19:02:53 -0800 (PST) X-Google-Smtp-Source: AH8x224A69WWOV1KpmLnEhA3Yoc+zSXp8Ajw/C5gLv6mftvbupDbp4wUi9JmHSKX6VjfHHSQ+pgi X-Received: by 10.99.173.5 with SMTP id g5mr20533941pgf.391.1517194973847; Sun, 28 Jan 2018 19:02:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517194973; cv=none; d=google.com; s=arc-20160816; b=CckBcoxqULK7I353NABoS38/fCH1u/NhHqqvMZj69R+GhlufD5dHHsnJyX7bhWglHw AVjI+q3NiQk0uJSl0JIJbzFIgZ2FpASjUiHFZm+vA50ijaDhxz6vHqqrSKDXKsKtNQjZ T9mBguKpsUVO1qm0ppPsJOtv55p0FQ8bJVC3NfKSs5ydLnwOeizuAR/JCuZjC75OFcf9 hJSb2OUAn+6Wjo9U6hCtVo+2en17yjiZ06Hpk2tW511yg4pGKlfukNAtwcNIhnyamvPL Pt4cyWxjPR+8cxc4A7GDKMmJGYGMOxTOkhHnuUm5dUdZqh9OW9bwOkWVkZC2qji8FR+g XFLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=efPeAxqd7BwM4fP0gzmjMZ+76/vPQ1J2QyUqnXhYioo=; b=yTwH+zjrqlsP04WBWtwckmghassbkyIHwk8Mo0K3rhera/hDstXkVeWayji4EKxOJE Jr5e54xx1sNffHMESw7OfE0C10Ee+loLJ1a0iN0ImfdLe0ecVOCYKiHqH9h6e2zqpKXC WMY0Q7wuleFHgR+A9CW8mGb/jC8z8e1GMU/5e3dKpVAr9/wgqNaHLwyjk1MIe/4ZX4Er cbysxYWv8CgSg8pKsjhnqVoeGbb6m0FIX+Bwek2XQzR55dcTxbJ7qt48MA8N12qER9du Iudl/IoWc8Natz2zT/roFjtruNCzDV+qFfASnbKJAhYqX7KJ+zi6LWgTqPCiHxR4JN7h vtSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8si90193pgf.480.2018.01.28.19.02.39; Sun, 28 Jan 2018 19:02:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754616AbeA2BSe (ORCPT + 99 others); Sun, 28 Jan 2018 20:18:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:57402 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753233AbeA2BSd (ORCPT ); Sun, 28 Jan 2018 20:18:33 -0500 Received: from localhost (i16-les03-th2-31-37-47-191.sfr.lns.abo.bbox.fr [31.37.47.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB4D820B80; Mon, 29 Jan 2018 01:18:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB4D820B80 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 Date: Mon, 29 Jan 2018 02:18:30 +0100 From: Frederic Weisbecker To: Ingo Molnar , Thomas Gleixner , Peter Zijlstra Cc: LKML , Chris Metcalf , Luiz Capitulino , Christoph Lameter , "Paul E . McKenney" , Wanpeng Li , Mike Galbraith , Rik van Riel Subject: (Ping?) [GIT PULL] isolation: 1Hz residual tick offloading v4 Message-ID: <20180129011829.GB2942@lerouge> References: <1516320140-13189-1-git-send-email-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516320140-13189-1-git-send-email-frederic@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Any chance this can either get pulled or declined as the merge window is starting? Thanks. On Fri, Jan 19, 2018 at 01:02:14AM +0100, Frederic Weisbecker wrote: > Ingo, > > Please pull the sched/0hz-v2 branch that can be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > sched/0hz-v2 > > HEAD: 9b14d5204490f9acd03998a5e406ecadb87cddba > > Changes in v4: > > * Remove the nohz_offload option, just stick with the existing interface, > the change is transparent. Suggested by Luiz. > > * Automatically pin workqueues to housekeepers. > > --- > 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 offloads this residual 1Hz tick to workqueues. This way > the nohz full CPUs don't have anymore tick (assuming nothing else > requires it) as their residual 1Hz tick get handled by the housekeepers. > > Nothing special is required for testing, just use the usual kernel > parameters, say on CPUs 1-7: > > "nohz_full=1-7" > or > "isolcpus=nohz_offload,domain,1-7" > > Thanks, > Frederic > --- > > Frederic Weisbecker (6): > sched: Rename init_rq_hrtick to hrtick_rq_init > nohz: Allow to check if remote CPU tick is stopped > sched/isolation: Isolate workqueues when "nohz_full=" is set > sched/isolation: Residual 1Hz scheduler tick offload > sched/nohz: Remove the 1 Hz tick code > sched/isolation: Tick offload documentation > > > Documentation/admin-guide/kernel-parameters.txt | 6 +- > include/linux/sched/isolation.h | 1 + > include/linux/sched/nohz.h | 4 - > include/linux/tick.h | 2 + > kernel/sched/core.c | 104 +++++++++++++++++------- > kernel/sched/idle_task.c | 1 - > kernel/sched/isolation.c | 8 +- > kernel/sched/sched.h | 13 +-- > kernel/time/tick-sched.c | 13 +-- > kernel/workqueue.c | 3 +- > 10 files changed, 103 insertions(+), 52 deletions(-)