lkml.org 
[lkml]   [2017]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch V2 4/5] x86/mm/debug_pagetables: Allow dumping current pagetables
From
Date
On 11/26/2017 03:14 PM, Thomas Gleixner wrote:
> -void ptdump_walk_pgd_level_debugfs(struct seq_file *m, pgd_t *pgd)
> +void ptdump_walk_pgd_level_debugfs(struct seq_file *m, pgd_t *pgd, bool shadow)
> {
> + if (shadow)
> + pgd += PTRS_PER_PGD;
> ptdump_walk_pgd_level_core(m, pgd, false, false);
> }

Same comment about calculating the shadow pgd.

\
 
 \ /
  Last update: 2017-11-27 19:18    [W:0.124 / U:4.000 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site