Update of /cvsroot/linuxcompressed/linux/mm/comp_cache
In directory usw-pr-cvs1:/tmp/cvs-serv4035/mm/comp_cache
Modified Files:
proc.c swapout.c
Log Message:
Cleanup:
o Remove a warning due to an unused variable
Other:
o Make LZO the default compression algorithm
Index: proc.c
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/mm/comp_cache/proc.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** proc.c 10 Sep 2002 20:19:06 -0000 1.27
--- proc.c 12 Sep 2002 15:11:31 -0000 1.28
***************
*** 2,6 ****
* linux/mm/comp_cache/proc.c
*
! * Time-stamp: <2002-09-10 16:57:22 rcastro>
*
* Linux Virtual Memory Compressed Cache
--- 2,6 ----
* linux/mm/comp_cache/proc.c
*
! * Time-stamp: <2002-09-12 11:42:20 rcastro>
*
* Linux Virtual Memory Compressed Cache
***************
*** 262,266 ****
{
if (!algorithm_idx || algorithm_idx < algorithm_min || algorithm_idx > algorithm_max)
! algorithm_idx = WKDM_IDX;
/* data structure for compression algorithms */
--- 262,266 ----
{
if (!algorithm_idx || algorithm_idx < algorithm_min || algorithm_idx > algorithm_max)
! algorithm_idx = LZO_IDX;
/* data structure for compression algorithms */
Index: swapout.c
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/mm/comp_cache/swapout.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -r1.71 -r1.72
*** swapout.c 10 Sep 2002 16:43:25 -0000 1.71
--- swapout.c 12 Sep 2002 15:11:31 -0000 1.72
***************
*** 2,6 ****
* /mm/comp_cache/swapout.c
*
! * Time-stamp: <2002-09-10 10:37:03 rcastro>
*
* Linux Virtual Memory Compressed Cache
--- 2,6 ----
* /mm/comp_cache/swapout.c
*
! * Time-stamp: <2002-09-12 11:42:33 rcastro>
*
* Linux Virtual Memory Compressed Cache
***************
*** 315,319 ****
struct page * buffer_page;
struct swp_buffer * swp_buffer;
- swp_entry_t entry;
swp_buffer = find_free_swp_buffer(fragment, gfp_mask);
--- 315,318 ----
|