Re: [PATCH] mm: implement swap prefetching

Andrew Morton
2006-02-07T01:39:36Z

Con Kolivas <kernel@kolivas.org> wrote:
>
> > > +/* Last total free pages */
> > > +static unsigned long last_free = 0;
> > > +static unsigned long temp_free = 0;
> >
> > Unneeded initialisation.
>
> Very first use of both of these variables depends on them being initialised.

All bss is initialised to zero at bootup. So all the `= 0' is doing here
is moving these variables from .bss to .data, and taking up extra space in
vmlinux.