diff options
author | Hugh Dickins <hughd@google.com> | 2012-01-10 15:08:33 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-01 12:27:19 -0700 |
commit | d2b02236b85226c9f2cd28e32a9fdf197584e448 (patch) | |
tree | a371d062f94c33d409b583c6a6964ce44f5ab4e9 /net/core/netevent.c | |
parent | 503e973ce4a57bc949ddbf35d4b4ecd1a90263f8 (diff) | |
download | kernel_samsung_smdk4412-d2b02236b85226c9f2cd28e32a9fdf197584e448.zip kernel_samsung_smdk4412-d2b02236b85226c9f2cd28e32a9fdf197584e448.tar.gz kernel_samsung_smdk4412-d2b02236b85226c9f2cd28e32a9fdf197584e448.tar.bz2 |
mm: test PageSwapBacked in lumpy reclaim
commit 043bcbe5ec51e0478ef2b44acef17193e01d7f70 upstream.
Stable note: Not tracked in Bugzilla. There were reports of shared
mapped pages being unfairly reclaimed in comparison to older kernels.
This is being addressed over time. Even though the subject
refers to lumpy reclaim, it impacts compaction as well.
Lumpy reclaim does well to stop at a PageAnon when there's no swap, but
better is to stop at any PageSwapBacked, which includes shmem/tmpfs too.
Signed-off-by: Hugh Dickins <hughd@google.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'net/core/netevent.c')
0 files changed, 0 insertions, 0 deletions