From: torvalds@transmeta.com (Linus Torvalds)
To: linux-kernel@vger.kernel.org
Subject: Re: Memory leak in the ramfs file system
Date: 29 Mar 2001 15:48:30 -0800 [thread overview]
Message-ID: <9a0hke$p9m$1@penguin.transmeta.com> (raw)
In-Reply-To: <200103292206.f2TM6sJ10808@zero.monsters.org>
In article <200103292206.f2TM6sJ10808@zero.monsters.org>,
Stephen L Johnson <sjohnson@monsters.org> wrote:
>
>A group of us from the handhelds.org site think that we have found a memory
>leak in the ramfs file system. After a long period of create and deleting
>small files in a mounted ramfs partition we have substantially less freemem.
>The problem has been confirmed on 2.4.2 on an i386 and StormARM ports.
What does /proc/slabinfo say? The most likely leak is a dentry leak or
an inode leak, and both of those should be fairly easy to see in the
slab info (dentry_cache and inode_cache respectively).
Obviously, it could be a data page leak too, but such a leak should be
easy to see by creating a few big files and deleting them..
Linus
next prev parent reply other threads:[~2001-03-29 23:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-29 22:06 Memory leak in the ramfs file system Stephen L Johnson
2001-03-29 23:48 ` Linus Torvalds [this message]
2000-06-12 20:50 ` Jaswinder Singh
2001-03-30 9:43 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2001-03-30 19:43 Amit D Chaudhary
2001-03-30 3:10 Amit D Chaudhary
2001-03-30 9:45 ` Jeff Garzik
2001-03-30 17:29 ` Amit D Chaudhary
2001-03-13 1:03 Fw: " Jaswinder Singh
2001-03-30 1:39 ` Jaswinder Singh
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='9a0hke$p9m$1@penguin.transmeta.com' \
--to=torvalds@transmeta.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.