mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: O_DIRECT leaks memory on linux-2.6.0-test9
Date: Thu, 20 Nov 2003 23:17:49 -0800	[thread overview]
Message-ID: <20031120231749.7cc3f245.akpm@osdl.org> (raw)
In-Reply-To: <20031121061806.6A65F7007C@sv1.valinux.co.jp>

IWAMOTO Toshihiro <iwamoto@valinux.co.jp> wrote:
>
>  recently I noticed that direct IO causes memory leaks with
>  linux-2.6.0-test9.
>  The program that causes memory leaks is "fsstress", which is
>  testcases/kernel/fs/fsstress in ltp-full-20031106.tgz (ftp from
>  http://sourceforge.net/projects/ltp/).
> 
>  fsstress does various file operations, and I found that the problem is
>  with the combination of write and dread (O_DIRECT read).
>  You should be able to reproduce the bug with the following command
>  line.
> 
>  $ while true; do ./fsstress -c -d /usr/src/test -z -f write=1 \
>   -f dread=1 -f creat=1 -S -n 1000 -p 32; done

It seems OK here.   Please take a copy of /proc/meminfo and /proc/slabinfo.


  reply	other threads:[~2003-11-21  7:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-21  6:18 IWAMOTO Toshihiro
2003-11-21  7:17 ` Andrew Morton [this message]
2003-11-21  7:34   ` IWAMOTO Toshihiro
2003-11-21  7:55     ` Andrew Morton
2003-11-21  8:24       ` Gene Heskett
2003-11-21  8:40         ` Andrew Morton
2003-11-21 14:02           ` Gene Heskett
2003-11-21 14:25             ` Gene Heskett
2003-11-21 14:48               ` Gene Heskett
2003-12-13 15:13   ` Oops on module insertion of 3c509/3c95x Alexander Nyberg

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=20031120231749.7cc3f245.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=iwamoto@valinux.co.jp \
    --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

all inboxes | Powered by JetHome®