Re: [PATCH 8/8] mm: page_alloc: consolidate free page accounting

From: Johannes Weiner
Date: Wed Aug 23 2023 - 21:36:20 EST


On Thu, Aug 24, 2023 at 06:40:58AM +0800, kernel test robot wrote:
> >> mm/page_alloc.c:6702:2: error: call to undeclared function '__mod_zone_freepage_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> __mod_zone_freepage_state(zone, -MAX_ORDER_NR_PAGES, MIGRATE_MOVABLE);
> ^
> mm/page_alloc.c:6702:2: note: did you mean '__mod_zone_page_state'?
> include/linux/vmstat.h:319:20: note: '__mod_zone_page_state' declared here
> static inline void __mod_zone_page_state(struct zone *zone,
> ^
> mm/page_alloc.c:6754:2: error: call to undeclared function '__mod_zone_freepage_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> __mod_zone_freepage_state(zone, MAX_ORDER_NR_PAGES, MIGRATE_MOVABLE);
> ^
> 2 errors generated.

Ah, that's in the new unaccepted memory bits. I'll fix those up in v2.