Re: [lkp] [sched] 817b8ebf33: WARNING: CPU: 0 PID: 2307 at kernel/fork.c:304 free_task+0x2f/0x4c

From: Andy Lutomirski
Date: Fri Jul 08 2016 - 11:05:08 EST


On Thu, Jul 7, 2016 at 6:17 PM, kernel test robot <xiaolong.ye@xxxxxxxxx> wrote:
>
>
> FYI, we noticed the following commit:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack
> commit 817b8ebf33c489948ee5db93ab7ed483619a53a5 ("sched: Free the stack early if CONFIG_THREAD_INFO_IN_TASK")
>
> in testcase: boot
>
> on test machine: 1 threads qemu-system-i386 -enable-kvm with 192M memory
>
> caused below changes:

I think I've tracked this down to a harmless bug in dup_task_struct
error handling. Fixed now.