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. > +/** > + * 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. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm