public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Rohland <cr@sap.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: tmpfs accounting (was: losetuping files in tmpfs fails?)
Date: Mon, 14 Jan 2002 13:43:09 +0100	[thread overview]
Message-ID: <m3pu4daysi.fsf_-_@linux.local> (raw)
In-Reply-To: <3C35F8B2.98763627@sltnet.lk> <a181kp$tl4$1@cesium.transmeta.com>
In-Reply-To: <a181kp$tl4$1@cesium.transmeta.com> ("H. Peter Anvin"'s message of "5 Jan 2002 15:18:49 -0800")

Hi Peter,

On 5 Jan 2002, H. Peter Anvin wrote:
> P.S. On kernel.org, I was forced to hack tmpfs so that it returns a
> nonzero size for directories; otherwise "make distclean" breaks for
> older Linux kernels, and the incdiff robot that runs on kernel.org
> relies on this operation working correctly.  It would be a good
> thing if tmpfs could account for the amount of memory consumed by
> directories, etc.

I would not like to add the real size without a bigger goal (I would
not see a problem with a fake size).

On the other side I could imagine that we make the directories tmpfs
files which hold the swap vectors of the real tmpfs files of this
directory. With this we would gain swappable meta data for tmpfs and
had a real size for the directories for free.

Greetings
		Christoph



  reply	other threads:[~2002-01-14 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04 18:47 losetuping files in tmpfs fails? Ishan Oshadi Jayawardena
2002-01-05 23:18 ` H. Peter Anvin
2002-01-14 12:43   ` Christoph Rohland [this message]
2002-01-14 15:44     ` tmpfs accounting (was: losetuping files in tmpfs fails?) H. Peter Anvin

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=m3pu4daysi.fsf_-_@linux.local \
    --to=cr@sap.com \
    --cc=hpa@zytor.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