The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Parag Warudkar" <parag.warudkar@gmail.com>
To: "Pavel Machek" <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
	"Nigel Cunningham" <ncunningham@linuxmail.org>
Subject: Re: 2.6.22 - Suspend and Weird Load Averages
Date: Wed, 25 Jul 2007 15:40:11 -0400	[thread overview]
Message-ID: <82e4877d0707251240t4c5dcff7wb3c7523e577ddb76@mail.gmail.com> (raw)
In-Reply-To: <20070725133919.GA9256@ucw.cz>

Hi Pavel!

On 7/25/07, Pavel Machek <pavel@ucw.cz> wrote:

> Known, and Rafael/Nigel have patches to fix that.

Thanks for the info - Rafael/Nigel do you have any patches for me to
try/modify - I am just curious to see what approach the patches take
to fix this - I had started thinking about TASK_SUSPENDED which would
be equivalent to TASK_UNINTERRUPTIBLE for all purposes except load
calculation (not counted in nr_uninterruptible) but somehow I think
there might be a less intrusive / more correct way to do this.

>
> OTOH I'm not sure it is a problem -- lets just say that suspend is
> hard work and therefore it raises load avg?
>                                                        Pavel

Hehe, nope - that would be inefficient suspend for me! Any way I
understand it's purely a cosmetic problem but if we could be
cosmetically correct to report the right uptime after suspend sans the
sleep time (unlike other OSes which include sleep time when reporting
it) I think we should also fix this one to report correct load
averages.

Cheers

Parag

  reply	other threads:[~2007-07-25 19:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-18 13:51 2.6.22 - Suspend and Weird Load Averages Parag Warudkar
2007-07-18 14:50 ` Rafael J. Wysocki
2007-07-18 14:52   ` Rafael J. Wysocki
2007-07-25 13:39 ` Pavel Machek
2007-07-25 19:40   ` Parag Warudkar [this message]
2007-07-26 12:14     ` Rafael J. Wysocki
2007-07-26 14:25       ` Pavel Machek

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=82e4877d0707251240t4c5dcff7wb3c7523e577ddb76@mail.gmail.com \
    --to=parag.warudkar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncunningham@linuxmail.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@sisk.pl \
    /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