From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755333AbZBZKzr (ORCPT ); Thu, 26 Feb 2009 05:55:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752783AbZBZKzh (ORCPT ); Thu, 26 Feb 2009 05:55:37 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:58867 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753542AbZBZKzg (ORCPT ); Thu, 26 Feb 2009 05:55:36 -0500 Message-ID: In-Reply-To: <1235645076.4645.4781.camel@laptop> References: <49A6475F.4000502@cn.fujitsu.com> <20090226170738.a982057b.kamezawa.hiroyu@jp.fujitsu.com> <49A6501B.7040604@cn.fujitsu.com> <20090226172234.a931931f.kamezawa.hiroyu@jp.fujitsu.com> <49A65455.4030204@cn.fujitsu.com> <20090226174033.094e4834.kamezawa.hiroyu@jp.fujitsu.com> <344eb09a0902260210y44c0684by9b22f041116d3f7c@mail.gmail.com> <18f6db017e5d44596e828e0753f28e75.squirrel@webmail-b.css.fujitsu.com> <1235645076.4645.4781.camel@laptop> Date: Thu, 26 Feb 2009 19:55:31 +0900 (JST) Subject: Re: [PATCH] cpuacct: add a branch prediction From: "KAMEZAWA Hiroyuki" To: "Peter Zijlstra" Cc: "KAMEZAWA Hiroyuki" , "Bharata B Rao" , "Li Zefan" , "Ingo Molnar" , "Paul Menage" , "Balbir Singh" , "LKML" User-Agent: SquirrelMail/1.4.16 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter Zijlstra wrote: > On Thu, 2009-02-26 at 19:28 +0900, KAMEZAWA Hiroyuki wrote: > >> Taking hierarchy mutex while reading will make read-side stable. > > We're talking about scheduling here, taking a mutex to stop scheduling > won't work, nor will it be acceptible to use anything that will. > I'm sorry but I thought we are talking about cpuacct subsystem and not cpu subsystem....cpuacct subsystem's information is used for schedule ? Is there a user of information gathered by cpuacct subsystem in the kernel ? I thought only user(reader) is the user who read cpuacct.usage file. Thanks, -Kame