]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Hibernate: Implement position keeping in radix tree
authorJoerg Roedel <jroedel@suse.de>
Mon, 21 Jul 2014 10:26:59 +0000 (12:26 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Jul 2014 23:47:44 +0000 (01:47 +0200)
commit38755f74af67d57eeeb27b89e27abb2c09bd5bec
treef4552ea9a73fc2f055a6f23e4926faa9bbb28c04
parent8bf6487e4335ba4e1f7a1f6d06bccf313d9c252e
PM / Hibernate: Implement position keeping in radix tree

Add code to remember the last position that was requested in
the radix tree. Use it as a cache for faster linear walking
of the bitmap in the memory_bm_rtree_next_pfn() function
which is also added with this patch.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/snapshot.c