Re: [PATCH -V6 14/21] swap: Support to move swap account for PMD swap mapping

From: Daniel Jordan
Date: Wed Oct 24 2018 - 13:28:02 EST


On Wed, Oct 10, 2018 at 03:19:17PM +0800, Huang Ying wrote:
> +static struct page *mc_handle_swap_pmd(struct vm_area_struct *vma,
> + pmd_t pmd, swp_entry_t *entry)
> +{

Got
/home/dbbench/linux/mm/memcontrol.c:4719:21: warning: âmc_handle_swap_pmdâ defined but not used [-Wunused-function]
static struct page *mc_handle_swap_pmd(struct vm_area_struct *vma,
when
# CONFIG_TRANSPARENT_HUGEPAGE is not set