NFS memory leak 2.1.128

Mike Galbraith (mikeg@weiden.de)
Sat, 14 Nov 1998 09:27:51 +0100 (CET)


Hi,

The thrashing I reported is caused by a leak in generic_file_write()
when using KNFS on a local mount. Doing a series of 1M iozones and
checking with memleak shows..
filemap.c:1573: 256 256 256 256 256 256 256 256 256 DELTA: 2048
that none of the memory is being freed after an NFS write completes.

I placed a diagnostic printk in fs/nfs/write.c and found that page->count
is always 3 at the time that nfs_wback_result() tries to __free_page().

nfs_wback_result: freeing.. page->count is 3

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/