Update of /cvsroot/linuxcompressed/linux/mm
In directory usw-pr-cvs1:/tmp/cvs-serv17101/mm
Modified Files:
vmscan.c
Log Message:
Bug fix
o Fixed bug that wouldn't allow the code to be compiled without compressed
cache enabled.
Index: vmscan.c
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/mm/vmscan.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** vmscan.c 1 Jul 2002 17:37:29 -0000 1.37
--- vmscan.c 1 Jul 2002 18:44:40 -0000 1.38
***************
*** 630,634 ****
nr_pages = shrink_caches(classzone, priority, gfp_mask, nr_pages);
if (nr_pages <= 0) {
! #ifndef CONFIG_COMP_DEMAND_RESIZE
grow_comp_cache(SWAP_CLUSTER_MAX/2);
#endif
--- 630,634 ----
nr_pages = shrink_caches(classzone, priority, gfp_mask, nr_pages);
if (nr_pages <= 0) {
! #if defined(CONFIG_COMP_CACHE) && !defined(CONFIG_COMP_DEMAND_RESIZE)
grow_comp_cache(SWAP_CLUSTER_MAX/2);
#endif
|