[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707261414.23430.rjw@sisk.pl>
Date: Thu, 26 Jul 2007 14:14:22 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: "Parag Warudkar" <parag.warudkar@...il.com>
Cc: "Pavel Machek" <pavel@....cz>, linux-kernel@...r.kernel.org,
"Nigel Cunningham" <ncunningham@...uxmail.org>
Subject: Re: 2.6.22 - Suspend and Weird Load Averages
On Wednesday, 25 July 2007 21:40, Parag Warudkar wrote:
> Hi Pavel!
>
> On 7/25/07, Pavel Machek <pavel@....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 -
Well, I don't.
> 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.
We wanted to save the pre-suspend load averages and restore them during the
resume.
Greetings,
Rafael
--
"Premature optimization is the root of all evil." - Donald Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists