Re: [linux-pm] [RFC][PATCH 0/2] PM: Rearrange core suspend code

From: Alan Stern
Date: Sun Jun 07 2009 - 16:51:53 EST


On Sun, 7 Jun 2009, Rafael J. Wysocki wrote:

> Hi,
>
> Here's something I wanted to do quite some time ago.
>
> kernel/power/main.c becomes more and more difficult to maintain over time,
> since it contains both the suspend to RAM core code and some common PM code
> that is also used for hibernation. For this reason [1/2] separates the suspend
> to RAM code from main.c and puts it into two new files (the test facility is,
> again, separated from the core code for clarity).
>
> [2/2] renames kernel/power/disk.c to kernel/power/hibernate.c, because the role
> of this file is analogous to kernel/power/suspend.c (introduced by [1/2]).
>
> Comments welcome.

Looks like a good idea to me.

Alan Stern

--
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/