Re: [Research] Memory leak + solution (fwd)

Dr. Werner Fink (werner@suse.de)
Fri, 18 Apr 1997 16:50:20 +0200


[...]
> All comments are welcome.
>
> Krzysztof Strasburger

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

[...]