[lkml]   [1999]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: kernel ac2 2.2.11 SIZE & PowerMac
    Alan Cox <> wrote:

    > > Alans ac's. But today I got the ac2 of 2.2.11 to compile on my Book, it
    > > went ok as far the process was concerned. Thanks Alan for merging all
    > > the ppc stuff. One thing I don't understand, why the heck has the
    > > vmlinux size grown from two to 6.2MB with the default config??? Can
    > > anybody tell me?
    > That sounds like a bad build or something deeply nasty in the PPC merge.
    > It shouldnt have grown

    It wasn't all that nasty, just that init_fd_array got left in, adding
    4MB to the data segment. :-) I assume that it should get removed as
    part of the large-number-of-fds patch.

    Here's a patch.


    --- arch/ppc/kernel/process.c~ Thu Aug 12 11:04:30 1999
    +++ arch/ppc/kernel/process.c Thu Aug 12 12:47:29 1999
    @@ -47,7 +47,6 @@
    struct task_struct *last_task_used_math = NULL;
    static struct vm_area_struct init_mmap = INIT_MMAP;
    static struct fs_struct init_fs = INIT_FS;
    -static struct file * init_fd_array[NR_OPEN] = { NULL, };
    static struct files_struct init_files = INIT_FILES;
    static struct signal_struct init_signals = INIT_SIGNALS;
    struct mm_struct init_mm = INIT_MM;
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:53    [W:0.022 / U:15.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site