Re: 2.6.22 - Suspend and Weird Load Averages

From: Rafael J. Wysocki
Date: Thu Jul 26 2007 - 08:05:53 EST


On Wednesday, 25 July 2007 21:40, Parag Warudkar wrote:
> Hi Pavel!
>
> On 7/25/07, Pavel Machek <pavel@xxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/