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

From: Rong Chen
Date: Wed Jun 02 2021 - 00:59:16 EST




On 6/1/21 6:14 AM, Andrew Morton wrote:
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?

Hi Andrew,

I have confirmed the bisection is good.


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


Hi Clang Team, could you share some experience about this kind of warning?

Best Regards,
Rong Chen