From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373AbbHMJZd (ORCPT ); Thu, 13 Aug 2015 05:25:33 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:34922 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbbHMJZc (ORCPT ); Thu, 13 Aug 2015 05:25:32 -0400 Date: Thu, 13 Aug 2015 14:55:36 +0530 From: Vatika Harlalka To: mingo@redhat.com, peterz@infradead.org, tglx@linutronix.de, rafael.j.wysocki@intel.com, fweisbec@gmail.com, schwidefsky@de.ibm.com, linux-kernel@vger.kernel.org, preetium@andrew.cmu.edu Cc: preeti.murthy@gmail.com Subject: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset is for offloading task_tick() to a remote housekeeping cpu. The larger aim is to stop ticks on nohz_full cpus. For this, extra work must be done by housekeeping cpus. So, task_tick is called from a delayed workqueue for nohz_full cpus and the work is requeued every second for those nohz_full cpus whose ticks are stopped while they are busy. In the rest of the cases it will lead to redundant accounting. To facilitate this, a new function tick_nohz_remote_tick_stopped is added to indicate whether ticks are stopped on a remote cpu. Tick related code in core.c is moved to tick.c Vatika Harlalka (2): nohz_full: Move tick related code to tick.c nohz_full: Offload task_tick to remote housekeeping cpu include/linux/tick.h | 2 ++ kernel/sched/Makefile | 2 +- kernel/sched/core.c | 27 --------------- kernel/sched/tick.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++ kernel/time/tick-sched.c | 5 +++ 5 files changed, 93 insertions(+), 28 deletions(-) create mode 100644 kernel/sched/tick.c -- 2.4.2