Hi Stanislaw, [auto build test ERROR on tip/sched/core] [also build test ERROR on next-20160825] [cannot apply to v4.8-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Stanislaw-Gruszka/sched-cputime-sum_exec_runtime-fixes-for-32-bit-cpus/20160901-173835 config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): kernel/sched/core.c: In function 'update_sched_runtime': >> kernel/sched/core.c:3013:8: error: 'struct task_struct' has no member named 'on_cpu' if (!p->on_cpu || !task_on_rq_queued(p)) ^ vim +3013 kernel/sched/core.c 911b2898 Peter Zijlstra 2013-11-11 3007 * If we race with it leaving cpu, we'll take a lock. So we're correct. 911b2898 Peter Zijlstra 2013-11-11 3008 * If we race with it entering cpu, unaccounted time is 0. This is 911b2898 Peter Zijlstra 2013-11-11 3009 * indistinguishable from the read occurring a few cycles earlier. 4036ac15 Mike Galbraith 2014-06-24 3010 * If we see ->on_cpu without ->on_rq, the task is leaving, and has 4036ac15 Mike Galbraith 2014-06-24 3011 * been accounted, so we're correct here as well. 911b2898 Peter Zijlstra 2013-11-11 3012 */ da0c1e65 Kirill Tkhai 2014-08-20 @3013 if (!p->on_cpu || !task_on_rq_queued(p)) d6a8f295 Stanislaw Gruszka 2016-09-01 3014 return; 911b2898 Peter Zijlstra 2013-11-11 3015 eb580751 Peter Zijlstra 2015-07-31 3016 rq = task_rq_lock(p, &rf); :::::: The code at line 3013 was first introduced by commit :::::: da0c1e65b51a289540159663aa4b90ba2366bc21 sched: Add wrapper for checking task_struct::on_rq :::::: TO: Kirill Tkhai :::::: CC: Ingo Molnar --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation