Re: kernel ac2 2.2.11 SIZE & PowerMac

Andreas Tobler (toa@pop.agri.ch)
Thu, 12 Aug 1999 09:12:15 +0200


Paul Mackerras wrote:
>
> Alan Cox <alan@lxorguk.ukuu.org.uk> 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.
>
> Paul.
>
> --- 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;

Thanks to both,

This did it, great. But my book ist still kind of dead.

Andreas

-- 
| Andreas Tobler				
| CH-8004 Zuerich 							
| E-Mail: andreas.tobler@alcatel.ch	| a.tobler@schweiz.ch
-----------------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/