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

From: Mike Frysinger
Date: Fri Apr 29 2011 - 14:10:25 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/