From: Rafael J. Wysocki Date: Sun, 6 May 2007 21:50:47 +0000 (-0700) Subject: swsusp: use rbtree for tracking allocated swap X-Git-Tag: v2.6.22-rc1~899 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d241cc2c5feec057c370aa71637380b1b945d5;p=pandora-kernel.git swsusp: use rbtree for tracking allocated swap Make swsusp use extents instead of a bitmap to trace swap pages allocated for saving the image (the tracking is only needed in case there's an error, so that the allocated swap pages can be released). This should allow us to reduce the memory usage, practically always, and improve performance. Signed-off-by: Rafael J. Wysocki Cc: Nigel Cunningham Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed