diff options
author | Hugh Dickins <hughd@google.com> | 2014-03-19 04:38:38 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-20 03:21:49 +0400 |
commit | 887843961c4b4681ee993c36d4997bf4b4aa8253 (patch) | |
tree | edb4f2e829dbabeab258033248a5f29adaf60eb6 /.mailmap | |
parent | 7c1cfacca2083db519317f49f31e143d97fd554a (diff) | |
download | linux-887843961c4b4681ee993c36d4997bf4b4aa8253.tar.xz |
mm: fix bad rss-counter if remap_file_pages raced migration
Fix some "Bad rss-counter state" reports on exit, arising from the
interaction between page migration and remap_file_pages(): zap_pte()
must count a migration entry when zapping it.
And yes, it is possible (though very unusual) to find an anon page or
swap entry in a VM_SHARED nonlinear mapping: coming from that horrid
get_user_pages(write, force) case which COWs even in a shared mapping.
Signed-off-by: Hugh Dickins <hughd@google.com>
Tested-by: Sasha Levin sasha.levin@oracle.com>
Tested-by: Dave Jones davej@redhat.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions