From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [BUG/PATCH] x86 mmiotrace: dynamically disable non-boot CPUs Date: Wed, 16 Apr 2008 22:47:03 +0200 Message-ID: <20080416204703.GD20762@elte.hu> References: <20080413224207.4430a09c@daedalus.pq.iki.fi> <20080413230552.33ca587a@daedalus.pq.iki.fi> <20080414065713.GB16163@elte.hu> <20080414210242.2329997d@daedalus.pq.iki.fi> <20080416114609.GA20054@elte.hu> <20080416205902.6186d349@daedalus.pq.iki.fi> <20080416183258.GA30490@elte.hu> <20080416234209.221b7fae@daedalus.pq.iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20080416234209.221b7fae-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Pekka Paalanen Cc: vegard.nossum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Steven Rostedt List-Id: nouveau.vger.kernel.org * Pekka Paalanen wrote: > > So i think we need to fix your automatic-cpudown/cpuup patch. I > > tried that and it worked very intuitively and the cpus were > > disabled/enabled without any trouble - with ftrace based mmiotrace > > we now basically have something that most distros could enable by > > default without thinking twice about it. > > Without any trouble - you didn't hit the bug I did? i did get the warning both on enable/disable but it still worked. Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765288AbYDPUrX (ORCPT ); Wed, 16 Apr 2008 16:47:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752589AbYDPUrP (ORCPT ); Wed, 16 Apr 2008 16:47:15 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:47146 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441AbYDPUrP (ORCPT ); Wed, 16 Apr 2008 16:47:15 -0400 Date: Wed, 16 Apr 2008 22:47:03 +0200 From: Ingo Molnar To: Pekka Paalanen Cc: Steven Rostedt , linux-kernel@vger.kernel.org, vegard.nossum@gmail.com, nouveau@lists.freedesktop.org Subject: Re: [BUG/PATCH] x86 mmiotrace: dynamically disable non-boot CPUs Message-ID: <20080416204703.GD20762@elte.hu> References: <20080413224207.4430a09c@daedalus.pq.iki.fi> <20080413230552.33ca587a@daedalus.pq.iki.fi> <20080414065713.GB16163@elte.hu> <20080414210242.2329997d@daedalus.pq.iki.fi> <20080416114609.GA20054@elte.hu> <20080416205902.6186d349@daedalus.pq.iki.fi> <20080416183258.GA30490@elte.hu> <20080416234209.221b7fae@daedalus.pq.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080416234209.221b7fae@daedalus.pq.iki.fi> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pekka Paalanen wrote: > > So i think we need to fix your automatic-cpudown/cpuup patch. I > > tried that and it worked very intuitively and the cpus were > > disabled/enabled without any trouble - with ftrace based mmiotrace > > we now basically have something that most distros could enable by > > default without thinking twice about it. > > Without any trouble - you didn't hit the bug I did? i did get the warning both on enable/disable but it still worked. Ingo