Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760840Ab1D2S1B (ORCPT ); Fri, 29 Apr 2011 14:27:01 -0400 Received: from www.linutronix.de ([62.245.132.108]:53513 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754891Ab1D2S07 (ORCPT ); Fri, 29 Apr 2011 14:26:59 -0400 Date: Fri, 29 Apr 2011 20:26:39 +0200 (CEST) From: Thomas Gleixner To: Mike Frysinger cc: john stultz , =?ISO-8859-15?Q?Bruno_Pr=E9mont?= , sedat.dilek@gmail.com, Mike Galbraith , "Paul E. McKenney" , Linus Torvalds , Ingo Molnar , Peter Zijlstra , KOSAKI Motohiro , LKML , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, "Paul E. McKenney" , Pekka Enberg Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression? In-Reply-To: Message-ID: References: <20110426112756.GF4308@linux.vnet.ibm.com> <20110426183859.6ff6279b@neptune.home> <20110426190918.01660ccf@neptune.home> <20110427081501.5ba28155@pluto.restena.lu> <20110427204139.1b0ea23b@neptune.home> <20110428102609.GJ2135@linux.vnet.ibm.com> <1303997401.7819.5.camel@marge.simson.net> <20110428222301.0b745a0a@neptune.home> <20110428224444.43107883@neptune.home> <1304027480.2971.121.camel@work-vm> User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1972088565-1304101600=:3005" X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 26 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1972088565-1304101600=:3005 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Fri, 29 Apr 2011, Mike Frysinger wrote: > On Thu, Apr 28, 2011 at 18:02, Thomas Gleixner wrote: > > -static int hrtimer_clock_to_base_table[MAX_CLOCKS]; > > +static int hrtimer_clock_to_base_table[MAX_CLOCKS] = { > > +       [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, > > +       [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, > > +       [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, > > +}; > > this would let us constify the array too Indeed. --8323328-1972088565-1304101600=:3005-- -- 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/