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

Dave Hansen
2016-02-05T15:38:12Z

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.