diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2006-01-06 00:13:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:40 -0800 |
commit | 72a97e08394a3b2e75481ff680ec2a0591e3cba4 (patch) | |
tree | d8ba72d6e81ad31ed10876386d3d2067921979e3 /sound/oss/ad1848.c | |
parent | 7088a5c00103ef48782d6c359cd12b13a10666e6 (diff) | |
download | op-kernel-dev-72a97e08394a3b2e75481ff680ec2a0591e3cba4.zip op-kernel-dev-72a97e08394a3b2e75481ff680ec2a0591e3cba4.tar.gz |
[PATCH] swsusp: improve freeing of memory
This patch makes swsusp free only as much memory as needed to complete the
suspend and not as much as possible. In the most of cases this should speed
up the suspend and make the system much more responsive after resume,
especially if a GUI (eg. X Windows) is used.
If needed, the old behavior (ie to free as much memory as possible during
suspend) can be restored by unsetting FAST_FREE in power.h
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/ad1848.c')
0 files changed, 0 insertions, 0 deletions