diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-07-08 11:24:05 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-09-14 18:26:58 (GMT) |
commit | 64a473cb74a88cb4991edf985d55a266e65292e1 (patch) | |
tree | 173402070f904951c9ec16a55e3f96e75289f14c /fs/gfs2/glops.c | |
parent | 4bb334353ebd821bc8eeabeb019eaac33c7307df (diff) | |
download | linux-64a473cb74a88cb4991edf985d55a266e65292e1.tar.xz |
PM/Hibernate: Do not release preallocated memory unnecessarily (rev. 2)
Since the hibernation code is now going to use allocations of memory
to make enough room for the image, it can also use the page frames
allocated at this stage as image page frames. The low-level
hibernation code needs to be rearranged for this purpose, but it
allows us to avoid freeing a great number of pages and allocating
these same pages once again later, so it generally is worth doing.
[rev. 2: Take highmem into account correctly.]
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'fs/gfs2/glops.c')
0 files changed, 0 insertions, 0 deletions