Re: [PATCH] vmscan: fix memcg_kmem build failure

From: Arnd Bergmann
Date: Mon Jul 08 2019 - 09:28:06 EST


On Mon, Jul 8, 2019 at 2:42 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> When CONFIG_MEMCG_KMEM is disabled, we get a build failure
> for calling a nonexisting memcg_expand_shrinker_maps():
>
> mm/vmscan.c:220:7: error: implicit declaration of function 'memcg_expand_shrinker_maps' [-Werror,-Wimplicit-function-declaration]
> if (memcg_expand_shrinker_maps(id)) {
> ^

I see now that a fix for this is already in today's linux-next, please ignore
my patch.

Arnd