Re: mmotm 2021-07-23-15-03 uploaded (mm/memory_hotplug.c)

From: Randy Dunlap
Date: Sat Jul 24 2021 - 14:49:52 EST


On 7/23/21 3:04 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> The mm-of-the-moment snapshot 2021-07-23-15-03 has been uploaded to
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.
>
> You will need quilt to apply these patches to the latest Linus release (5.x
> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
> https://ozlabs.org/~akpm/mmotm/series
>
> The file broken-out.tar.gz contains two datestamp files: .DATE and
> .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss,
> followed by the base kernel version against which this patch series is to
> be applied.
>

on x86_64:
# CONFIG_CMA is not set

mm-memory_hotplug-memory-group-aware-auto-movable-online-policy.patch



../mm/memory_hotplug.c: In function ‘auto_movable_stats_account_zone’:
../mm/memory_hotplug.c:748:33: error: ‘struct zone’ has no member named ‘cma_pages’; did you mean ‘managed_pages’?
stats->movable_pages += zone->cma_pages;
^~~~~~~~~
managed_pages
../mm/memory_hotplug.c:750:38: error: ‘struct zone’ has no member named ‘cma_pages’; did you mean ‘managed_pages’?
stats->kernel_early_pages -= zone->cma_pages;
^~~~~~~~~
managed_pages


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