From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id 6D5F3900001 for ; Fri, 29 Apr 2011 14:27:01 -0400 (EDT) Date: Fri, 29 Apr 2011 20:26:39 +0200 (CEST) From: Thomas Gleixner 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> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1972088565-1304101600=:3005" Sender: owner-linux-mm@kvack.org List-ID: 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 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] = { > > + A A A [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, > > + A A A [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, > > + A A A [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, > > +}; > > this would let us constify the array too Indeed. --8323328-1972088565-1304101600=:3005-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org