diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-09-11 23:22:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:58:06 +0200 |
commit | fa0f281cf9de8e6877e6536f18a3fc77368df64d (patch) | |
tree | f542d0f6b19d56f4bfddca7d971bac6c00fca63b /mm | |
parent | mm/page-writeback.c: add strictlimit feature (diff) | |
download | linux-fa0f281cf9de8e6877e6536f18a3fc77368df64d.tar.xz linux-fa0f281cf9de8e6877e6536f18a3fc77368df64d.zip |
mm: make sure _PAGE_SWP_SOFT_DIRTY bit is not set on present pte
_PAGE_SOFT_DIRTY bit should never be set on present pte so add VM_BUG_ON
to catch any potential future abuse.
Also add a comment on _PAGE_SWP_SOFT_DIRTY definition explaining scope of
its usage.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions