Re: [linux-pm] [PATCH 08/23] Hibernation: Generic extents support.

From: Nigel Cunningham
Date: Tue Oct 05 2010 - 21:21:38 EST


Hi.

On 05/10/10 04:51, Pavel Machek wrote:
Hi!

Separate out the extent storage and manipulation into a separate
file and make them more generic, so we can also use extents for
recording what sectors are used and (later) support multiple
storage devices more easily.

Signed-off-by: Nigel Cunningham<nigel@xxxxxxxxxxxx>

@@ -0,0 +1,125 @@
+/*
+ * linux/kernel/power/extents.c
+ *
+ * This file provides functions for storing and using a series of
+ * extents.
+ *
+ * Copyright (C) 1998,2001-2005 Pavel Machek<pavel@xxxxxxx>

That address is no longer valid :-(. Jiri Kosina should already have
patches to remove it elsewhere in the tree.

Okay. You want ucw.cz or something else?

+/**
+ * free_all_swap_pages - free swap pages allocated for saving image data.
+ * It also frees the extents used to register which swap entres had been
+ * allocated.
+ */
+
+void hib_extents_clear(struct hib_extent_state *pos)

Comment does not match function.

Thanks.

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