[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1104292026270.3005@ionos>
Date: Fri, 29 Apr 2011 20:26:39 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Mike Frysinger <vapier.adi@...il.com>
cc: john stultz <johnstul@...ibm.com>,
Bruno Prémont <bonbons@...ux-vserver.org>,
sedat.dilek@...il.com, Mike Galbraith <efault@....de>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org,
"Paul E. McKenney" <paul.mckenney@...aro.org>,
Pekka Enberg <penberg@...nel.org>
Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning,
regression?
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.
Powered by blists - more mailing lists