]> git.baikalelectronics.ru Git - kernel.git/commit
mm: softdirty: don't forget to save file map softdiry bit on unmap
authorCyrill Gorcunov <gorcunov@openvz.org>
Wed, 4 Jun 2014 23:06:42 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:53:56 +0000 (16:53 -0700)
commitc5b8129a7c2696f9d8b383e16b95ece7c613d6e0
tree0f4d6ec0924004f7fd924b2f248d9256af0807aa
parentd95860f87605089633b6ec30f6b8e3529be6f64a
mm: softdirty: don't forget to save file map softdiry bit on unmap

pte_file_mksoft_dirty operates with argument passed by a value and
returns modified result thus we need to assign @ptfile here, otherwise
itis a no-op which may lead to loss of the softdirty bit.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c