Hi,
maybe it would be a better choice to move the `#ifdef SWAP_CACHE_INFO'
linux/include/linux/swap.h for your patch.
such like:
if (entry) {
#ifdef SWAP_CACHE_INFO
swap_cache_find_success++;
#endif
nr_swap_cache_pages--;
}
Or one would get trouble on not defined SWAP_CACHE_INFO.
Let's hope this patch will go into 2.0.31 and 2.1.xx :-))
Werner
[...]