Re: [RFC][PATCH 2/3] swsusp: Do not use page flags



Hi!

Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for other
purposes. Also, the memory needed to store the bitmaps is allocated when
necessary (ie. before the suspend) and freed after the resume which is more
reasonable.

The patch is designed to minimize the amount of changes and there are some nice
simplifications and optimizations possible on top of it. I am going to
implement them separately in the future.

Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

Looks ok, but needs to stay in -mm for a while. ACK.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/



Relevant Pages

  • Re: [PATCH 2/3] swsusp: Do not use page flags
    ... This allows us to 'recycle' two page flags that can be used for other ... purposes. ... the memory needed to store the bitmaps is allocated when ...
    (Linux-Kernel)
  • Re: Looping through listbox controls
    ... My original post said I needed to store the Value ... of the listbox. ... I thought you used the .Name for example purposes, ...
    (microsoft.public.excel.programming)
  • Re: [rfc] optimise unlock_page
    ... on the flags layout), ... A non-atomic op _could_ of course undo the movb, ... undo any other store to the word or byte. ...
    (Linux-Kernel)
  • VS 2008 source code control questions
    ... DLLs we build in other projects and we don't want to store all ... Same for bitmaps - the bitmaps are small but there ... Windward Reports -- http://www.WindwardReports.com ... Cubicle Wars - http://www.windwardreports.com/film.htm ...
    (microsoft.public.vstudio.general)
  • Re: solve my problem
    ... here is the .net solution. ... database.I hava to store the Bitmaps in the database.If anybody knows about ... how to store the bitmap in the sql server as a BLOB object & retrive ...
    (microsoft.public.dotnet.framework.adonet)