tree: git://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git thp/refcounting/v10 head: 7ec7b9d4c6c23fa0c624c06703fbd3f5cc8447e9 commit: 2e97677d9b21c642707d7220fa540f16d87aeb1c [10/199] page-flags: define PG_locked behavior on compound pages config: avr32-atngw100_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 git checkout 2e97677d9b21c642707d7220fa540f16d87aeb1c # save the attached .config to linux build tree make.cross ARCH=avr32 All warnings (new ones prefixed by >>): In file included from include/linux/mm.h:317, from arch/avr32/kernel/asm-offsets.c:7: >> include/linux/page-flags.h:226: warning: 'compound_head' declared inline after being called include/linux/page-flags.h:226: warning: previous declaration of 'compound_head' was here -- kernel/time/Kconfig:157:warning: range is invalid In file included from include/linux/mm.h:317, from arch/avr32/kernel/asm-offsets.c:7: >> include/linux/page-flags.h:226: warning: 'compound_head' declared inline after being called include/linux/page-flags.h:226: warning: previous declaration of 'compound_head' was here :1253:2: warning: #warning syscall userfaultfd not implemented :1256:2: warning: #warning syscall mlock2 not implemented vim +/compound_head +226 include/linux/page-flags.h 8a7a8544 Lee Schermerhorn 2008-10-18 210 #define TESTCLEARFLAG_FALSE(uname) \ 8a7a8544 Lee Schermerhorn 2008-10-18 211 static inline int TestClearPage##uname(struct page *page) { return 0; } 8a7a8544 Lee Schermerhorn 2008-10-18 212 451ea25d Johannes Weiner 2009-09-21 213 #define __TESTCLEARFLAG_FALSE(uname) \ 451ea25d Johannes Weiner 2009-09-21 214 static inline int __TestClearPage##uname(struct page *page) { return 0; } 451ea25d Johannes Weiner 2009-09-21 215 2f3e442c Johannes Weiner 2014-08-06 216 #define PAGEFLAG_FALSE(uname) TESTPAGEFLAG_FALSE(uname) \ 2f3e442c Johannes Weiner 2014-08-06 217 SETPAGEFLAG_NOOP(uname) CLEARPAGEFLAG_NOOP(uname) 2f3e442c Johannes Weiner 2014-08-06 218 2f3e442c Johannes Weiner 2014-08-06 219 #define TESTSCFLAG_FALSE(uname) \ 2f3e442c Johannes Weiner 2014-08-06 220 TESTSETFLAG_FALSE(uname) TESTCLEARFLAG_FALSE(uname) 2f3e442c Johannes Weiner 2014-08-06 221 18b3ca4b Kirill A. Shutemov 2015-08-18 222 /* Forward declarations */ 18b3ca4b Kirill A. Shutemov 2015-08-18 223 struct page; 18b3ca4b Kirill A. Shutemov 2015-08-18 224 static inline int PageCompound(struct page *page); 18b3ca4b Kirill A. Shutemov 2015-08-18 225 static inline int PageTail(struct page *page); 18b3ca4b Kirill A. Shutemov 2015-08-18 @226 static struct page *compound_head(struct page *page); 18b3ca4b Kirill A. Shutemov 2015-08-18 227 2e97677d Kirill A. Shutemov 2015-08-25 228 __PAGEFLAG(Locked, locked, NO_TAIL) 18b3ca4b Kirill A. Shutemov 2015-08-18 229 PAGEFLAG(Error, error, ANY) TESTCLEARFLAG(Error, error, ANY) 18b3ca4b Kirill A. Shutemov 2015-08-18 230 PAGEFLAG(Referenced, referenced, ANY) TESTCLEARFLAG(Referenced, referenced, ANY) 18b3ca4b Kirill A. Shutemov 2015-08-18 231 __SETPAGEFLAG(Referenced, referenced, ANY) 18b3ca4b Kirill A. Shutemov 2015-08-18 232 PAGEFLAG(Dirty, dirty, ANY) TESTSCFLAG(Dirty, dirty, ANY) 18b3ca4b Kirill A. Shutemov 2015-08-18 233 __CLEARPAGEFLAG(Dirty, dirty, ANY) 18b3ca4b Kirill A. Shutemov 2015-08-18 234 PAGEFLAG(LRU, lru, ANY) __CLEARPAGEFLAG(LRU, lru, ANY) :::::: The code at line 226 was first introduced by commit :::::: 18b3ca4bd66b29ba2291b2b4a593798779c0c356 page-flags: introduce page flags policies wrt compound pages :::::: TO: Kirill A. Shutemov :::::: CC: Kirill A. Shutemov --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation