lkml.org 
[lkml]   [2014]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm v5 12/13] mm: /proc/pid/clear_refs: avoid split_huge_page()
On Fri, Jul 11, 2014 at 02:35:48PM -0400, Naoya Horiguchi wrote:
> From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
>
> Currently pagewalker splits all THP pages on any clear_refs request. It's
> not necessary. We can handle this on PMD level.
>
> One side effect is that soft dirty will potentially see more dirty memory,
> since we will mark whole THP page dirty at once.
>
> Sanity checked with CRIU test suite. More testing is required.
>
> ChangeLog:
> - move code for thp to clear_refs_pte_range()
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> Cc: Pavel Emelyanov <xemul@parallels.com>
> Cc: Andrea Arcangeli <aarcange@redhat.com>
> Cc: Dave Hansen <dave.hansen@intel.com>
> Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
> Cc: Cyrill Gorcunov <gorcunov@gmail.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>


\
 
 \ /
  Last update: 2014-07-14 09:21    [W:0.078 / U:1.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site