lkml.org 
[lkml]   [2011]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] teach smaps_pte_range() about THP pmds
On Mon, 21 Feb 2011, Dave Hansen wrote:

>
> v2 - used mm->page_table_lock to fix up locking bug that
> Mel pointed out. Also remove Acks since things
> got changed significantly.
>
> This adds code to explicitly detect and handle
> pmd_trans_huge() pmds. It then passes HPAGE_SIZE units
> in to the smap_pte_entry() function instead of PAGE_SIZE.
>
> This means that using /proc/$pid/smaps now will no longer
> cause THPs to be broken down in to small pages.
>
> Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>

Reviewed-and-tested-by: Eric B Munson <emunson@mgebm.net>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-02-23 16:33    [W:0.118 / U:1.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site