Re: [PATCH 17/20] inflate: mark some arrays as initdata

From: Matt Mackall
Date: Mon Oct 31 2005 - 18:16:23 EST


On Mon, Oct 31, 2005 at 11:10:52PM +0000, Russell King wrote:
> That's what threading is for. 8)

What's what's threading is for?

> > I think for ARM, we can simply do -DINITDATA=const, yes?
>
> No, unless you want to make this const:
>
> -static u8 window[0x8000]; /* use a statically allocated window */
> +static u8 INITDATA window[0x8000]; /* use a statically allocated window */

Ok, that bit can just be dropped. It needn't be INITDATA anyway, as it
now gets kmalloc'ed for users in the kernel proper. Anything else?

--
Mathematics is the supreme nostalgia of our time.
-
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/