Re: mmotm 2020-07-08-19-28 uploaded (mm/migrate.c)

From: Randy Dunlap
Date: Wed Jul 08 2020 - 23:48:08 EST


On 7/8/20 7:29 PM, Andrew Morton wrote:
> The mm-of-the-moment snapshot 2020-07-08-19-28 has been uploaded to
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.
>

on i386:

CONFIG_MIGRATION=y
# CONFIG_TRANSPARENT_HUGEPAGE is not set

../mm/migrate.c: In function âmigrate_pagesâ:
../mm/migrate.c:1528:19: error: âTHP_MIGRATION_SUCCESSâ undeclared (first use in this function); did you mean âPGMIGRATE_SUCCESSâ?
count_vm_events(THP_MIGRATION_SUCCESS, nr_thp_succeeded);
^~~~~~~~~~~~~~~~~~~~~
PGMIGRATE_SUCCESS
../mm/migrate.c:1528:19: note: each undeclared identifier is reported only once for each function it appears in
../mm/migrate.c:1530:19: error: âTHP_MIGRATION_FAILUREâ undeclared (first use in this function); did you mean âTHP_MIGRATION_SUCCESSâ?
count_vm_events(THP_MIGRATION_FAILURE, nr_thp_failed);
^~~~~~~~~~~~~~~~~~~~~
THP_MIGRATION_SUCCESS
../mm/migrate.c:1532:19: error: âTHP_MIGRATION_SPLITâ undeclared (first use in this function); did you mean âTHP_MIGRATION_FAILUREâ?
count_vm_events(THP_MIGRATION_SPLIT, nr_thp_split);
^~~~~~~~~~~~~~~~~~~
THP_MIGRATION_FAILURE


from: mm-vmstat-add-events-for-thp-migration-without-split.patch


--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>