From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Stern Subject: Re: [linux-pm] [RFC][PATCH 0/2] PM: Rearrange core suspend code Date: Sun, 7 Jun 2009 16:51:41 -0400 (EDT) Message-ID: References: <200906070054.19207.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from netrider.rowland.org ([192.131.102.5]:42474 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754957AbZFGUvk (ORCPT ); Sun, 7 Jun 2009 16:51:40 -0400 In-Reply-To: <200906070054.19207.rjw@sisk.pl> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: pm list , ACPI Devel Maling List , LKML 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