public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Helge Hafting <helgehaf@idb.hist.no>
To: Ivan Kalvatchev <iive@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: [Patch2] Re: DoS with tmpfs #3
Date: Thu, 09 Aug 2001 08:29:56 +0200	[thread overview]
Message-ID: <3B722DE4.96DA5711@idb.hist.no> (raw)
In-Reply-To: <20010808171702.57332.qmail@web13603.mail.yahoo.com>

Ivan Kalvatchev wrote:

> I didn't look at the chages but i will say this one
> more time. Limiting tmpfs size at fixed amount of
> space will make the bug harder to reproduce but won't
> fix it. The right hack is to limit tmpfs to be with
> freepages.high less than available memory(swap+ram).
> It won't be hard to code.

The problem with this is that tmpfs may be mounted before
swap is initialized, so a little less than
swap+ram will become "a little less than just RAM" anyway.

Or do you propose a dynamic limit, changing as swap
is added/removed?  This has problems if some swap is
removed, and suddenly tmpfs usage exceeds its quota.

Helge Hafting

  reply	other threads:[~2001-08-09  6:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-03 16:34 DoS with tmpfs #3 Ivan Kalvatchev
2001-08-04  6:07 ` Rik van Riel
2001-08-04 18:36   ` Chris Wedgwood
2001-08-04 19:53     ` Rik van Riel
2001-08-06 16:28     ` [Patch] " Christoph Rohland
2001-08-06 16:29       ` [Patch-ac] " Christoph Rohland
2001-08-07  9:09       ` [Patch2] " Christoph Rohland
2001-08-08 17:17         ` Ivan Kalvatchev
2001-08-09  6:29           ` Helge Hafting [this message]
2001-08-09  7:08             ` Thoughts on tmpfs and swapfs Riley Williams
2001-08-09 10:22             ` DoS with tmpfs #dynamic Ivan Kalvatchev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B722DE4.96DA5711@idb.hist.no \
    --to=helgehaf@idb.hist.no \
    --cc=iive@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox