Re: local denial-of-service with file leases

From: Avi Kivity
Date: Fri Nov 11 2005 - 05:06:22 EST


Chris Wright wrote:

* Avi Kivity (avi@xxxxxxxxxx) wrote:


the following program will oom a the 2.6.14.1 kernel, running as an ordinary user:



I don't have a good mechanism for testing leases, but this should fix
the leak. Mind testing?



the test program of course passes, but now samba hangs when reading a file (mount -t cifs from the same machine). 2.6.14.1 reads the file but leaks memory.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

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