Re: [PATCH 1/4] sched,time: remove non-power-of-two divides from __acct_update_integrals

From: kbuild test robot
Date: Sun Jan 31 2016 - 23:48:30 EST


Hi Rik,

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

url: https://github.com/0day-ci/linux/commits/riel-redhat-com/sched-time-reduce-nohz_full-syscall-overhead-40/20160201-101609
config: sh-sh7757lcr_defconfig (attached as .config)
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=sh

All errors (new ones prefixed by >>):

kernel/built-in.o: In function `get_mm_hiwater_vm':
>> include/linux/mm.h:1377: undefined reference to `__udivdi3'

vim +1377 include/linux/mm.h

172703b0 Matt Fleming 2011-05-24 1361 atomic_long_dec(&mm->rss_stat.count[member]);
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1362 }
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1363
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1364 static inline unsigned long get_mm_rss(struct mm_struct *mm)
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1365 {
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1366 return get_mm_counter(mm, MM_FILEPAGES) +
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1367 get_mm_counter(mm, MM_ANONPAGES);
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1368 }
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1369
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1370 static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm)
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1371 {
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1372 return max(mm->hiwater_rss, get_mm_rss(mm));
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1373 }
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1374
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1375 static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm)
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1376 {
d559db08 KAMEZAWA Hiroyuki 2010-03-05 @1377 return max(mm->hiwater_vm, mm->total_vm);
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1378 }
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1379
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1380 static inline void update_hiwater_rss(struct mm_struct *mm)
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1381 {
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1382 unsigned long _rss = get_mm_rss(mm);
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1383
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1384 if ((mm)->hiwater_rss < _rss)
d559db08 KAMEZAWA Hiroyuki 2010-03-05 1385 (mm)->hiwater_rss = _rss;

:::::: The code at line 1377 was first introduced by commit
:::::: d559db086ff5be9bcc259e5aa50bf3d881eaf1d1 mm: clean up mm_counter

:::::: TO: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data