Re: [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

Steven Rostedt
2015-11-23T13:43:31Z

On Mon, 23 Nov 2015 15:30:30 +0800
kbuild test robot <lkp@intel.com> wrote:

> Hi Jianchuan,
>
> [auto build test ERROR on: v4.4-rc2]
> [also build test ERROR on: next-20151120]
>
> url: https://github.com/0day-ci/linux/commits/jianchuan-wang-windriver-com/locking_selftest-Save-restore-migrate_disable_atomic-in-locking-selftest/20151123-152217
> config: x86_64-randconfig-x013-11230343 (attached as .config)
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
> lib/locking-selftest.c: In function 'dotest':
> >> lib/locking-selftest.c:981:25: error: 'struct task_struct' has no member named 'migrate_disable_atomic'
> save_migrate_atomic = p->migrate_disable_atomic;
> ^
> lib/locking-selftest.c:987:3: error: 'struct task_struct' has no member named 'migrate_disable_atomic'
> p->migrate_disable_atomic = save_migrate_atomic;
> ^

Need to add RT in the subject like "[PATCH RT]". Then perhaps Fengguang
can have his tests either ignore these or test against the -rt trees.

-- Steve

>
> vim +981 lib/locking-selftest.c
>
> 975 int save_migrate_atomic;
> 976 #endif
> 977
> 978 WARN_ON(irqs_disabled());
> 979
> 980 #ifdef CONFIG_SCHED_DEBUG
> > 981 save_migrate_atomic = p->migrate_disable_atomic;
> 982 #endif
> 983
> 984 testcase_fn();
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation