Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]