lkml.org 
[lkml]   [2005]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 17/20] inflate: mark some arrays as initdata
    On Mon, Oct 31, 2005 at 03:11:21PM -0800, Matt Mackall wrote:
    > 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?

    I didn't notice anything else, but it will need testing on ARM in
    this configuration.

    Basically, for the decompressor to work in this mode, we have to
    ensure:

    1. no static data
    2. no initialised non-const data

    gets placed into the decompressor.

    --
    Russell King
    Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
    maintainer of: 2.6 Serial core
    -
    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/

    \
     
     \ /
      Last update: 2005-11-01 00:39    [W:0.023 / U:1.080 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site