Re: DoS with tmpfs #3

Alan Cox
2001-08-03T17:00:42Z

> The same horrible think happens to ramfs, but this
> could be expected. Ramfs don't have size check so that
> hack cannot be used for it. In this case ramfs must
> be marked as dangerous.

Ramfs and tmpfs in the -ac tree should behave a lot better. The
fact you see high pages being a factor sounds to me like a VM rather than
a tmpfs bug. Specifically you should have seen KDE apps terminating with
out of memory kills.

In paticular in the -ac tree ramfs supports setting limits on the max fs
size, which is essential if you want to use it on something like an iPAQ
where ramfs is a real useful fs to have.

tmpfs would I suspect also benefit immensely from quota support

Alan