From: Cyrill Gorcunov Date: Wed, 11 Sep 2013 21:22:47 +0000 (-0700) Subject: mm: make sure _PAGE_SWP_SOFT_DIRTY bit is not set on present pte X-Git-Tag: v3.12-rc1~52^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa0f281cf9de8e6877e6536f18a3fc77368df64d;p=pandora-kernel.git 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 Acked-by: Pavel Emelyanov Acked-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed