Revision f623f0db8e6aa86a37be86167e4ff478821a9f4f authored by Rafael J. Wysocki on 26 September 2006, 06:32:49 UTC, committed by Linus Torvalds on 26 September 2006, 15:48:59 UTC
Clean up mm/page_alloc.c#mark_free_pages() and make it avoid clearing
PageNosaveFree for PageNosave pages.  This allows us to get rid of an ugly
hack in kernel/power/snapshot.c#copy_data_pages().

Additionally, the page-copying loop in copy_data_pages() is moved to an
inline function.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent e3920fb
History
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 17.3 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.8 KB
msg.c -rw-r--r-- 18.7 KB
msgutil.c -rw-r--r-- 2.4 KB
sem.c -rw-r--r-- 33.2 KB
shm.c -rw-r--r-- 21.6 KB
util.c -rw-r--r-- 17.0 KB
util.h -rw-r--r-- 2.6 KB

back to top