Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760800Ab1D2SKO (ORCPT ); Fri, 29 Apr 2011 14:10:14 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:49159 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760760Ab1D2SKL convert rfc822-to-8bit (ORCPT ); Fri, 29 Apr 2011 14:10:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=eGpeTk2zLyyRndKUx20SrUrFOBqlE3N2KbhnxYb0YsMVH+ZaRNd7fxELaeEdm2Oxws AXSNvKMXolELO8yrkBXRzu2Qe/e9IGLn1FEg1veLpeYL3/R6Ag+7pQZJbTrly2YApz8H IXJ+g3i9CRX8Jl8CGyz+N5JjWOW7viuglufHc= MIME-Version: 1.0 In-Reply-To: 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> From: Mike Frysinger Date: Fri, 29 Apr 2011 14:09:50 -0400 Message-ID: Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression? To: Thomas Gleixner Cc: john stultz , =?UTF-8?Q?Bruno_Pr=C3=A9mont?= , 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 15 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 -mike -- 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/