Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752063Ab0LUOAk (ORCPT ); Tue, 21 Dec 2010 09:00:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29365 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828Ab0LUOAj (ORCPT ); Tue, 21 Dec 2010 09:00:39 -0500 Message-ID: <4D10B2E9.9040806@redhat.com> Date: Tue, 21 Dec 2010 16:00:09 +0200 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: Peter Zijlstra CC: Frederic Weisbecker , LKML , Thomas Gleixner , "Paul E. McKenney" , Ingo Molnar , Steven Rostedt , Lai Jiangshan , Andrew Morton , Anton Blanchard , Tim Pepper Subject: Re: [RFC PATCH 15/15] nohz_task: Procfs interface References: <1292858662-5650-1-git-send-email-fweisbec@gmail.com> <1292858662-5650-16-git-send-email-fweisbec@gmail.com> <1292859744.5021.4.camel@laptop> <20101220155737.GA1742@nowhere> <1292861799.5021.27.camel@laptop> <20101221012418.GI1715@nowhere> <1292919280.5021.203.camel@laptop> In-Reply-To: <1292919280.5021.203.camel@laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1076 Lines: 25 On 12/21/2010 10:14 AM, Peter Zijlstra wrote: > On Tue, 2010-12-21 at 02:24 +0100, Frederic Weisbecker wrote: > > > > > Also, I'm not quite happy with the pure userspace restriction, but at > > > least I see why you did that event though you didn't mention that. > > > > What do you mean? The fact that kernel threads can not be nohz task? > > No, that you key off kernel/user boundary transitions. Arguably one > could allow simply system calls and page-faults to happen without > restarting the tick, then again, RCU is very pervasive these days so I'm > not quite sure you can actually make that happen. > For an example of a per-cpu flag that is checked on every exit with zero additional overhead on the flag clear case, look at TIF_USER_RETURN_NOTIFY. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/