Skip to content
Commit ae52a2ad authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds
Browse files

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: default avatarAndrea Arcangeli <aarcange@redhat.com>
Signed-off-by: default avatarHugh Dickins <hughd@google.com>
Signed-off-by: default avatarAndrea Arcangeli <aarcange@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 240c879f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment