[lc-checkins] CVS: linux/mm swap_state.c,1.29,1.30
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@us...> - 2002-06-20 14:28:52
|
Update of /cvsroot/linuxcompressed/linux/mm In directory usw-pr-cvs1:/tmp/cvs-serv24634/mm Modified Files: swap_state.c Log Message: Cleanup o Removed adapt_comp_cache() and all CONFIG_COMP_ADAPTIVITY related stuff. That will be replaced by growing/shrinking by demand at the moment. Index: swap_state.c =================================================================== RCS file: /cvsroot/linuxcompressed/linux/mm/swap_state.c,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** swap_state.c 13 Jun 2002 20:18:31 -0000 1.29 --- swap_state.c 20 Jun 2002 14:28:49 -0000 1.30 *************** *** 230,237 **** err = add_to_swap_cache(new_page, entry); if (!err) { ! if (!read_comp_cache(&swapper_space, entry.val, new_page, 1)) { ! add_compressed_cache_miss(); return new_page; - } /* --- 230,235 ---- err = add_to_swap_cache(new_page, entry); if (!err) { ! if (!read_comp_cache(&swapper_space, entry.val, new_page, 1)) return new_page; /* *************** *** 251,255 **** rw_swap_page(READ, new_page); - add_swap_miss(); return new_page; } --- 249,252 ---- |