From: Rafael J. Wysocki Date: Tue, 26 Sep 2006 06:32:46 +0000 (-0700) Subject: [PATCH] Make swsusp avoid memory holes and reserved memory regions on x86_64 X-Git-Tag: v2.6.19-rc1~1108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8eff5ac294e12531c4195e0c15a222d3c9015e5;p=pandora-kernel.git [PATCH] Make swsusp avoid memory holes and reserved memory regions on x86_64 On x86_64 machines with more than 2 GB of RAM there are large memory gaps (with no corresponding kernel virtual addresses) and reserved memory regions between areas of usable physical RAM. Moreover, if CONFIG_FLATMEM is set, they appear within the normal zone. swsusp should not try to save them, so the corresponding page structs have to be marked as 'nosave'. Signed-off-by: Rafael J. Wysocki Cc: Mel Gorman Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed