From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934945AbcATQrc (ORCPT ); Wed, 20 Jan 2016 11:47:32 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35142 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934416AbcATQra (ORCPT ); Wed, 20 Jan 2016 11:47:30 -0500 Date: Wed, 20 Jan 2016 17:47:27 +0100 From: Frederic Weisbecker To: Christoph Lameter Cc: Thomas Gleixner , Peter Zijlstra , LKML , Byungchul Park , Chris Metcalf , Luiz Capitulino , "Paul E . McKenney" , Mike Galbraith , Rik van Riel Subject: Re: [RFC PATCH 4/4] sched: Upload nohz full CPU load on task enqueue/dequeue Message-ID: <20160120164726.GD24537@lerouge> References: <1452700891-21807-1-git-send-email-fweisbec@gmail.com> <1452700891-21807-5-git-send-email-fweisbec@gmail.com> <20160120143117.GA22723@lerouge> <20160120164015.GB24537@lerouge> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 20, 2016 at 10:42:56AM -0600, Christoph Lameter wrote: > On Wed, 20 Jan 2016, Frederic Weisbecker wrote: > > > > So we agreed long time ago, that we first fix the issues with s single task > > > running undisturbed in user space, i.e. tickless. Those issues have never been > > > resolved fully, but now you try to add more complexity of extra runnable > > > tasks, nohz tasks sleeping and whatever. > > > > Nohz tasks do sleep, really, at least we need to handle that case now. > > Sleep meaning call into the OS to be put to sleep? Indeed, when the task has finished its work, it goes to sleep, right? > Why would NOHZ be active then? It's active when the task active.