Cyrill Gorcunov fa0f281cf9 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>
2013-09-11 15:58:06 -07:00
..
2013-06-20 22:25:34 -07:00
2013-09-04 17:45:39 -07:00
2013-08-12 17:54:05 +02:00
2011-08-29 13:44:12 -07:00
2012-11-29 13:23:02 -08:00
2012-03-28 18:11:12 +01:00
2012-03-28 18:11:12 +01:00
2013-04-25 10:39:04 +02:00
2011-05-02 17:24:48 +02:00
2012-03-28 18:11:12 +01:00
2013-05-31 13:08:18 +02:00
2012-11-29 13:23:02 -08:00
2011-04-18 09:26:48 -07:00
2012-03-20 21:48:30 +08:00
2013-08-05 06:35:33 -07:00
2013-02-03 18:16:27 -05:00
2010-10-26 16:52:08 -07:00
2012-06-25 13:48:30 +02:00
2011-07-22 14:39:50 +09:30
2013-04-22 15:45:03 +09:30
2012-11-29 13:23:02 -08:00
2012-01-26 21:23:53 +01:00
2013-04-02 16:03:32 -07:00
2013-08-09 07:54:00 -07:00
2010-11-01 15:38:34 -04:00
2011-03-15 15:34:15 -07:00
2012-02-20 12:52:05 -08:00
2013-02-03 18:16:27 -05:00
2013-07-03 16:08:01 -07:00
2012-03-28 18:11:12 +01:00
2013-08-07 15:57:42 +02:00
2012-09-21 17:18:44 -07:00