public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "??" <kevin@gv.com.tw>
Cc: "Linux MTD mailing list" <linux-mtd@lists.infradead.org>
Subject: Re: [power-saving issue]
Date: Tue, 15 Oct 2002 13:56:42 +0100	[thread overview]
Message-ID: <10482.1034686602@passion.cambridge.redhat.com> (raw)
In-Reply-To: <00bf01c27443$37238220$b30210ac@gv.com.tw>

kevin@gv.com.tw said:
>  we want to stop gc thread manually when system goto suspend mode,
> can we simply call "jffs2_stop_garbage_collect_thread()"? and how to
> get its param: "struct jffs2_sb_info *c"

Send it a SIGSTOP from userspace, then a SIGCONT when you want it to wake 
up. Or send it a SIGKILL to kill it permanently (until the next remount).

> btw, i think gc thread wakeup only if its necessary not regularly,
> right?

Correct.

--
dwmw2

      reply	other threads:[~2002-10-15 12:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-14  8:13 Memory usage? Steve Tsai
2002-10-14 16:34 ` Russ Dill
2002-10-15  4:11   ` Steve Tsai
2002-10-15  6:28     ` David Woodhouse
2002-10-15 12:05       ` [power-saving issue] ??
2002-10-15 12:56         ` David Woodhouse [this message]

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=10482.1034686602@passion.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=kevin@gv.com.tw \
    --cc=linux-mtd@lists.infradead.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