mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Adam J. Richter" <adam@yggdrasil.com>
To: greg@kroah.com
Cc: linux-kernel@vger.kernel.org, maneesh@in.ibm.com, nanhai.zou@intel.com
Subject: Re: [Patch]Memory leak in sysfs
Date: Fri, 10 Dec 2004 23:15:28 +0800	[thread overview]
Message-ID: <200412101515.iBAFFSR02071@freya.yggdrasil.com> (raw)

Greg KH wrote:
>And, do you have a pointer to your stress tests?  I'd love to add stuff
>like this to an automated testing framework (I know OSDL has one, and
>IBM has one internally.)

	This is just something that Maneesh had suggested.  My
script runs the commands in separate xterms just so the output
is clearer.
                    __     ______________ 
Adam J. Richter        \ /
adam@yggdrasil.com      | g g d r a s i l


#!/bin/sh

mount -t sysfs x /sys

xterm -geometry 80x10 -title 'cat /sys/class/net/...' \
	-e 'sleep 1 ; while true ; do find /sys/class/net -type f | xargs cat ; done' &

xterm -geometry 80x10 -title '{modprobe,rmmod} dummy' \
	-e 'sleep 1 ; while true ; do modprobe dummy ; rmmod dummy ; done' &

xterm -geometry 80x10 -title 'ls -lR /sys' \
	-e 'sleep 1 ; while true ; do ls -lR /sys ; done' &

wait

             reply	other threads:[~2004-12-10 15:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-10 15:15 Adam J. Richter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-12-10 15:11 Adam J. Richter
2004-12-10  2:21 Zou, Nanhai
2004-12-10  3:53 ` Greg KH
2003-08-29 11:46 [PATCH] memory " Thomas XB Spatzier
2003-08-27 13:33 Thomas Spatzier
2003-08-28 23:39 ` Patrick Mochel
2003-08-29  0:26 ` Patrick Mochel

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=200412101515.iBAFFSR02071@freya.yggdrasil.com \
    --to=adam@yggdrasil.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maneesh@in.ibm.com \
    --cc=nanhai.zou@intel.com \
    /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

Powered by JetHome