Re: [PATCH RFC 1/1] numa: fix /proc/<pid>/numa_maps for THP

From: Dave Hansen
Date: Fri Feb 05 2016 - 10:38:15 EST


On 02/05/2016 07:34 AM, Gerald Schaefer wrote:
> +static struct page *can_gather_numa_stats_pmd(pmd_t pmd,
> + struct vm_area_struct *vma,
> + unsigned long addr)
> +{

Is there a way to do this without making a copy of most of
can_gather_numa_stats()? Seems like the kind of thing where the pmd
version will bitrot.