Re: DoS with tmpfs #3

Rik van Riel (riel@conectiva.com.br)
Sat, 4 Aug 2001 16:53:42 -0300 (BRST)


On Sun, 5 Aug 2001, Chris Wedgwood wrote:
> On Sat, Aug 04, 2001 at 03:07:31AM -0300, Rik van Riel wrote:
>
> 1) you create a tmpfs with a high limit, such that
> (max size tmpfs) + (user memory) > ram + swap
>
> maybe, by default, tmpfs should choose a limit of 1/2 ram available or
> something? if this is too small, people can change it

I guess this would be a decent default; good enough to
keep most people out of trouble and big enough to be
useful.

regards,

Rik

--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

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