Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933868AbZINU22 (ORCPT ); Mon, 14 Sep 2009 16:28:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933533AbZINU20 (ORCPT ); Mon, 14 Sep 2009 16:28:26 -0400 Received: from casper.infradead.org ([85.118.1.10]:41304 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933829AbZINU20 (ORCPT ); Mon, 14 Sep 2009 16:28:26 -0400 Date: Mon, 14 Sep 2009 22:31:58 +0200 From: Arjan van de Ven To: Andrew Morton Cc: linux-kernel@vger.kernel.org, lenb@kernel.org, mingo@elte.hu, peterz@infradead.org, yanmin_zhang@linux.intel.com, torvalds@linux-foundation.org, jens.axboe@oracle.com, Tejun Heo , David Howells , Ivan Kokshaysky Subject: Re: PATCH] cpuidle: A new variant of the menu governor to boost IO performance Message-ID: <20090914223158.60ea33f8@infradead.org> In-Reply-To: <20090914004301.105196cc.akpm@linux-foundation.org> References: <20090911174019.1ed02737@infradead.org> <20090914004301.105196cc.akpm@linux-foundation.org> Organization: Intel X-Mailer: Claws Mail 3.7.2 (GTK+ 2.14.7; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1191 Lines: 37 On Mon, 14 Sep 2009 00:43:01 -0700 Andrew Morton wrote: > > static DEFINE_PER_CPU(struct menu_device, menu_devices); > > in both menu.c and menu-tng.c. > > Despite the `static', the percpu changes in > > commit 7c756e6e19e71f0327760d8955f7077118ebb2b1 > Author: Tejun Heo > AuthorDate: Wed Jun 24 15:13:50 2009 +0900 > Commit: Tejun Heo > CommitDate: Wed Jun 24 15:13:50 2009 +0900 > > percpu: implement optional weak percpu definitions > > are emitting global symbol derived from `menu_devices' and they clash. > > > I'll rename menu_devices to fix that up, but we have a problem... I would consider "static" not working a problem... yes here it's easy to fix, but it's not nice if you can't make .c file private.. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/