lkml.org 
[lkml]   [2016]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] thp: rewrite freeze_page()/unfreeze_page() with generic rmap walkers
On Wed, 3 Feb 2016 07:42:01 -0800 Dave Hansen <dave.hansen@intel.com> wrote:

> On 02/03/2016 07:14 AM, Kirill A. Shutemov wrote:
> > But the new variant is somewhat slower. Current helpers iterates over
> > VMAs the compound page is mapped to, and then over ptes within this VMA.
> > New helpers iterates over small page, then over VMA the small page
> > mapped to, and only then find relevant pte.
>
> The code simplification here is really attractive. Can you quantify
> what the slowdown is? Is it noticeable, or would it be in the noise
> during all the other stuff that happens under memory pressure?

yup. And the "more testing is required" is a bit worrisome. Is this
code really ready for getting pounded upon in -next?

\
 
 \ /
  Last update: 2016-02-04 00:21    [W:0.797 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site