Update of /cvsroot/linuxcompressed/linux/fs
In directory usw-pr-cvs1:/tmp/cvs-serv26754/fs
Modified Files:
inode.c
Log Message:
This version fixes some bugs regarding the clean pages support. And
fixes many other bugs with the page cache support, besides code
cleanups. The improvement done in this version is the replacement of
the slab cache by Rik van Riel's rmap allocation for pte lists.
- now address space have two lists for compressed pages: dirty and
clean lists.
- some static inline functions that were in comp_cache.h have been
moved to the c file that uses it.
- all vswap functions that are often called are now compiled with
FASTCALL option.
- all vswap functions have been documented and cleaned up.
- since our pte_list struct is smaller than the minimum size needed
for slab cache, slab cache has been replaced by Rik's allocation,
that's pretty simple.
- failed fragment allocations are handled now.
- shared memory _broken_ support removed, since it was broken and only
bothering us.
Index: inode.c
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/fs/inode.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** inode.c 21 Feb 2002 15:14:11 -0000 1.1
--- inode.c 25 Feb 2002 19:34:40 -0000 1.2
***************
*** 104,108 ****
INIT_LIST_HEAD(&inode->i_data.dirty_pages);
#ifdef CONFIG_COMP_CACHE
! INIT_LIST_HEAD(&inode->i_data.comp_pages);
#endif
INIT_LIST_HEAD(&inode->i_data.locked_pages);
--- 104,109 ----
INIT_LIST_HEAD(&inode->i_data.dirty_pages);
#ifdef CONFIG_COMP_CACHE
! INIT_LIST_HEAD(&inode->i_data.clean_comp_pages);
! INIT_LIST_HEAD(&inode->i_data.dirty_comp_pages);
#endif
INIT_LIST_HEAD(&inode->i_data.locked_pages);
|