Thread (21 messages) 21 messages, 6 authors, 2006-02-08

Re: [PATCH] mm: implement swap prefetching

From: Andrew Morton <hidden>
Date: 2006-02-07 01:40:05
Also in: lkml

Con Kolivas [off-list ref] 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.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help