[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201701250938.9YB03ecB%fengguang.wu@intel.com>
Date: Wed, 25 Jan 2017 09:54:25 +0800
From: kbuild test robot <lkp@...el.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: kbuild-all@...org, Andrea Arcangeli <aarcange@...hat.com>,
Hugh Dickins <hughd@...gle.com>,
Rik van Riel <riel@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Subject: Re: [PATCH 12/12] mm: convert remove_migration_pte() to
page_check_walk()
Hi Kirill,
[auto build test WARNING on mmotm/master]
[also build test WARNING on v4.10-rc5 next-20170124]
[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/Kirill-A-Shutemov/Fix-few-rmap-related-THP-bugs/20170125-081918
base: git://git.cmpxchg.org/linux-mmotm.git master
config: openrisc-or1ksim_defconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
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=openrisc
All warnings (new ones prefixed by >>):
mm/migrate.c: In function 'remove_migration_pte':
>> mm/migrate.c:199:20: warning: unused variable 'mm'
arch/openrisc/include/asm/bitops/atomic.h: Assembler messages:
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:90: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:92: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/cmpxchg.h:30: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/cmpxchg.h:34: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/cmpxchg.h:30: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/cmpxchg.h:34: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/cmpxchg.h:30: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/cmpxchg.h:34: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:70: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:72: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/cmpxchg.h:30: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/cmpxchg.h:34: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/cmpxchg.h:30: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/cmpxchg.h:34: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/cmpxchg.h:30: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/cmpxchg.h:34: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:18: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:20: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/bitops/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/bitops/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
arch/openrisc/include/asm/atomic.h:37: Error: unknown opcode2 `l.swa'.
arch/openrisc/include/asm/atomic.h:35: Error: unknown opcode2 `l.lwa'.
vim +/mm +199 mm/migrate.c
bda807d44 Minchan Kim 2016-07-26 183 unlock_page(page);
bda807d44 Minchan Kim 2016-07-26 184 put_page(page);
bda807d44 Minchan Kim 2016-07-26 185 } else {
894bc3104 Lee Schermerhorn 2008-10-18 186 putback_lru_page(page);
6afcf8ef0 Ming Ling 2016-12-12 187 dec_node_page_state(page, NR_ISOLATED_ANON +
6afcf8ef0 Ming Ling 2016-12-12 188 page_is_file_cache(page));
b20a35035 Christoph Lameter 2006-03-22 189 }
b20a35035 Christoph Lameter 2006-03-22 190 }
bda807d44 Minchan Kim 2016-07-26 191 }
b20a35035 Christoph Lameter 2006-03-22 192
0697212a4 Christoph Lameter 2006-06-23 193 /*
0697212a4 Christoph Lameter 2006-06-23 194 * Restore a potential migration pte to a working pte entry
0697212a4 Christoph Lameter 2006-06-23 195 */
51b4efdf7 Kirill A. Shutemov 2017-01-24 196 static int remove_migration_pte(struct page *page, struct vm_area_struct *vma,
e9995ef97 Hugh Dickins 2009-12-14 197 unsigned long addr, void *old)
0697212a4 Christoph Lameter 2006-06-23 198 {
0697212a4 Christoph Lameter 2006-06-23 @199 struct mm_struct *mm = vma->vm_mm;
51b4efdf7 Kirill A. Shutemov 2017-01-24 200 struct page_check_walk pcw = {
51b4efdf7 Kirill A. Shutemov 2017-01-24 201 .page = old,
51b4efdf7 Kirill A. Shutemov 2017-01-24 202 .vma = vma,
51b4efdf7 Kirill A. Shutemov 2017-01-24 203 .address = addr,
51b4efdf7 Kirill A. Shutemov 2017-01-24 204 .flags = PAGE_CHECK_WALK_SYNC | PAGE_CHECK_WALK_MIGRATION,
51b4efdf7 Kirill A. Shutemov 2017-01-24 205 };
51b4efdf7 Kirill A. Shutemov 2017-01-24 206 struct page *new;
51b4efdf7 Kirill A. Shutemov 2017-01-24 207 pte_t pte;
:::::: The code at line 199 was first introduced by commit
:::::: 0697212a411c1dae03c27845f2de2f3adb32c331 [PATCH] Swapless page migration: add R/W migration entries
:::::: TO: Christoph Lameter <clameter@....com>
:::::: CC: Linus Torvalds <torvalds@...osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (7397 bytes)
Powered by blists - more mailing lists