From: Takuya Yoshikawa Date: Thu, 1 Mar 2012 10:32:16 +0000 (+0900) Subject: KVM: Avoid checking huge page mappings in get_dirty_log() X-Git-Tag: v3.5-rc1~88^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dc99b2380d59b8aeafa98791f92b96400ed3187;p=pandora-kernel.git KVM: Avoid checking huge page mappings in get_dirty_log() Dropped such mappings when we enabled dirty logging and we will never create new ones until we stop the logging. For this we introduce a new function which can be used to write protect a range of PT level pages: although we do not need to care about a range of pages at this point, the following patch will need this feature to optimize the write protection of many pages. Signed-off-by: Takuya Yoshikawa Signed-off-by: Avi Kivity --- Reading git-diff-tree failed