[lc-checkins] CVS: linux/include/linux mm.h,1.14,1.15
Status: Beta
Brought to you by:
nitin_sf
|
From: Rodrigo S. de C. <rc...@us...> - 2002-03-01 14:30:57
|
Update of /cvsroot/linuxcompressed/linux/include/linux In directory usw-pr-cvs1:/tmp/cvs-serv19251/include/linux Modified Files: mm.h Log Message: - Fixed a bug that showed up when running dbench. When we dirty a clean page which has a compressed cache fragment, we have to invalidate this fragment, since it won't be the current data present in the memory. - mark_inode_dirty_pages() is called in get_comp_cache_page() to avoid possible memory corruption if an inode is synced when we are sleeping to get an entry in compressed cache. - and, of course, still some cleanups. Index: mm.h =================================================================== RCS file: /cvsroot/linuxcompressed/linux/include/linux/mm.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** mm.h 25 Feb 2002 19:34:40 -0000 1.14 --- mm.h 1 Mar 2002 14:30:52 -0000 1.15 *************** *** 306,309 **** --- 306,312 ---- extern void FASTCALL(set_page_dirty(struct page *)); + #ifdef CONFIG_COMP_CACHE + extern void FASTCALL(__set_page_dirty(struct page *)); + #endif /* |