Re: mm/migrate.c:1406:5: warning: stack frame size of 2096 bytes in function 'migrate_pages'

From: Andrew Morton
Date: Mon May 31 2021 - 18:14:17 EST


On Sun, 30 May 2021 17:46:48 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:

> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: b90e90f40b4ff23c753126008bf4713a42353af6
> commit: dd4ae78a21fc05d91d841e499dddd057ad64a4df mm: migrate: simplify the logic for handling permanent failure

migrate_pages() isn't a good place to be using lots of stack.

Am I correct in assuming that this is a bisection result?

I don't immediately see why dd4ae78a21fc05d91d would be the main cause
of this.