Update of /cvsroot/linuxcompressed/linux/include/linux
In directory usw-pr-cvs1:/tmp/cvs-serv8282/include/linux
Modified Files:
comp_cache.h
Log Message:
Other
o Change the number of reserved pages for swap buffer from 128 to
32. That improves performance since a huge number of swap buffer pages
is unneeded and we end up freeing some memory that can be used more
efficiently.
o Removed the gfp_mask_buffer idea in refill_swp_buffer(). That
variable was introduced because we wanted to first free the swap
buffers that had its IO completely finished. Only in the case that
doesn't happen that we used to try to free the buffers which needed to
be synced. Unfortunally that turned out to be a bad idea since it
could change the LRU order when freeing the fragments.
Index: comp_cache.h
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/include/linux/comp_cache.h,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -r1.87 -r1.88
*** comp_cache.h 5 Jul 2002 15:21:49 -0000 1.87
--- comp_cache.h 9 Jul 2002 13:15:23 -0000 1.88
***************
*** 2,6 ****
* linux/mm/comp_cache.h
*
! * Time-stamp: <2002-07-05 11:51:59 rcastro>
*
* Linux Virtual Memory Compressed Cache
--- 2,6 ----
* linux/mm/comp_cache.h
*
! * Time-stamp: <2002-07-09 10:03:27 rcastro>
*
* Linux Virtual Memory Compressed Cache
***************
*** 29,33 ****
#include <linux/WKcommon.h>
! #define COMP_CACHE_VERSION "0.23pre9"
/* maximum compressed size of a page */
--- 29,33 ----
#include <linux/WKcommon.h>
! #define COMP_CACHE_VERSION "0.23"
/* maximum compressed size of a page */
***************
*** 177,181 ****
#define INF 0xffffffff
! #define NUM_SWP_BUFFERS 128
/* do not change the fields order */
--- 177,181 ----
#define INF 0xffffffff
! #define NUM_SWP_BUFFERS 32
/* do not change the fields order */
|