Re: [PATCH] sched/loadavg: Avoid loadavg spikes caused by delayed NO_HZ accounting

From: kbuild test robot
Date: Wed Feb 08 2017 - 12:15:56 EST


Hi Matt,

[auto build test ERROR on tip/sched/core]
[also build test ERROR on v4.10-rc7 next-20170208]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Matt-Fleming/sched-loadavg-Avoid-loadavg-spikes-caused-by-delayed-NO_HZ-accounting/20170208-224135
config: c6x-evmc6678_defconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 6.2.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=c6x

All errors (new ones prefixed by >>):

kernel/sched/loadavg.c: In function 'calc_load_exit_idle':
>> kernel/sched/loadavg.c:221:3: error: expected ')' before 'next_window'
next_window += LOAD_FREQ;
^~~~~~~~~~~
>> kernel/sched/loadavg.c:224:1: error: expected expression before '}' token
}
^

vim +221 kernel/sched/loadavg.c

215 * The next window is 'calc_load_update' if we haven't reached it yet,
216 * and 'calc_load_update + 10' if we're inside the current window.
217 */
218 next_window = calc_load_update;
219
220 if (time_in_range_open(jiffies, next_window, next_window + 10)
> 221 next_window += LOAD_FREQ;
222
223 this_rq->calc_load_update = next_window;
> 224 }
225
226 static long calc_load_fold_idle(void)
227 {

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip