diff options
author | Hugh Dickins <hughd@google.com> | 2011-01-14 00:46:28 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-14 02:32:38 +0100 |
commit | ae52a2adb5afa5ac5ec5fb5c7b24777f84b6c926 (patch) | |
tree | fb02d8fb1699c85cc278e2333ce25916835bf341 /mm/util.c | |
parent | writeback: avoid unnecessary determine_dirtyable_memory call (diff) | |
download | linux-ae52a2adb5afa5ac5ec5fb5c7b24777f84b6c926.tar.xz linux-ae52a2adb5afa5ac5ec5fb5c7b24777f84b6c926.zip |
thp: ksm: free swap when swapcache page is replaced
When a swapcache page is replaced by a ksm page, it's best to free that
swap immediately.
Reported-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions