All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@linuxmail.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [Patch] Per kthread freezer flags
Date: Thu, 29 Jul 2004 08:25:01 +1000	[thread overview]
Message-ID: <1091053501.8867.18.camel@laptop.cunninghams> (raw)
In-Reply-To: <20040728142026.79860177.akpm@osdl.org>

Hi.

On Thu, 2004-07-29 at 07:20, Andrew Morton wrote:
> hm.  In some ways I'd prefer to see new
> create_singlethread_workqueue_freezer(char *) or whatever, rather than
> adding an extra argument.  That's neater, smaller code and
> forward-compatible.
> 
> But then again, the advantage of breaking the build for unconverted code is
> that it makes people think about what their threads should be doing, so
> let's go your way.
> 
> The one concern I'd have is that $RANDOM_KERNEL_DEVELOPER probably doesn't
> have a clue whether or not his kernel thread should be setting PF_NOFREEZE.
> What are the guidelines here?

If a process might be/is needed to get the image to the storage device,
it should be NOFREEZE. (Thus, USB threads might be NOFREEZE to allow for
USB storage, likewise for SCSI). When I get an NFS writer done, the
threads for network cards could probably be made NOFREEZE too. Things
like kjournald don't need to run during suspend (even if we're writing
to a swapfile in an ext3 partition), so can be 0 for now (SYNCTHREAD
later).

> wrt your "Add missing refrigerator support" patch: I'll suck that up, but
> be aware that there's a big i2o patch in -mm which basically rips out the
> driver which you just fixed up.  Perhaps you can send Markus Lidel
> <Markus.Lidel@shadowconnect.com> and I a fix for that version of the driver
> sometime?

I've just started following your mm patches, and will do updates for
last nights release shortly.

Regards,

Nigel


  reply	other threads:[~2004-07-28 22:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28  7:22 [Patch] Per kthread freezer flags Nigel Cunningham
2004-07-28 21:20 ` Andrew Morton
2004-07-28 22:25   ` Nigel Cunningham [this message]
2004-07-28 22:30   ` Felipe Alfaro Solana
2004-07-28 22:27     ` Nigel Cunningham
2004-07-28 22:36     ` Nigel Cunningham
2004-07-28 23:21       ` Felipe Alfaro Solana
2004-07-29  0:46         ` Nigel Cunningham
2004-07-29 10:02           ` Felipe Alfaro Solana
2004-07-29 12:11             ` Nigel Cunningham
2004-07-29 16:10               ` Felipe Alfaro Solana
2004-07-29 22:39                 ` Nigel Cunningham
2004-07-30  8:12                   ` Felipe Alfaro Solana
2004-07-29 22:57           ` Felipe Alfaro Solana
2004-07-29 23:01             ` Nigel Cunningham
2004-07-29 19:04 ` Pavel Machek
2004-07-29 22:24   ` Nigel Cunningham
2004-07-29 22:44     ` Pavel Machek
2004-07-29 22:46       ` Nigel Cunningham
2004-07-29 23:25       ` [Patch] Per kthread freezer flags (Version 2) Nigel Cunningham
2004-07-30  9:18         ` Pavel Machek
2004-07-31 16:53         ` Felipe Alfaro Solana
2004-07-30 12:11       ` [Patch] Per kthread freezer flags Peter Osterlund
2004-07-30 22:15         ` Nigel Cunningham

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=1091053501.8867.18.camel@laptop.cunninghams \
    --to=ncunningham@linuxmail.org \
    --cc=akpm@osdl.org \
    --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.