From: kbuild test robot <lkp@intel.com>
To: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: kbuild-all@01.org, Andrea Arcangeli <aarcange@redhat.com>,
Hugh Dickins <hughd@google.com>, Rik van Riel <riel@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCHv2 07/12] mm: convert try_to_unmap_one() to page_vma_mapped_walk()
Date: Thu, 26 Jan 2017 03:02:17 +0800 [thread overview]
Message-ID: <201701260306.GNicLGMK%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170125182538.86249-8-kirill.shutemov@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2612 bytes --]
Hi Kirill,
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.10-rc5 next-20170125]
[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/20170126-023339
base: git://git.cmpxchg.org/linux-mmotm.git master
config: parisc-c3000_defconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=parisc
All error/warnings (new ones prefixed by >>):
In file included from include/linux/mmzone.h:20:0,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from mm/rmap.c:48:
mm/rmap.c: In function 'try_to_unmap_one':
>> arch/parisc/include/asm/page.h:48:24: error: 'pvmw.pte' is a pointer; did you mean to use '->'?
#define pte_val(x) ((x).pte)
^
->
>> arch/parisc/include/asm/pgtable.h:410:22: note: in expansion of macro 'pte_val'
#define pte_pfn(x) (pte_val(x) >> PFN_PTE_SHIFT)
^~~~~~~
>> mm/rmap.c:1520:34: note: in expansion of macro 'pte_pfn'
flush_cache_page(vma, address, pte_pfn(pvmw.pte));
^~~~~~~
vim +/pte_pfn +1520 mm/rmap.c
1504 break;
1505 }
1506 if (flags & TTU_MUNLOCK)
1507 continue;
1508 }
1509
1510 if (!(flags & TTU_IGNORE_ACCESS)) {
1511 if (ptep_clear_flush_young_notify(vma, address,
1512 pvmw.pte)) {
1513 ret = SWAP_FAIL;
1514 page_vma_mapped_walk_done(&pvmw);
1515 break;
1516 }
1517 }
1518
1519 /* Nuke the page table entry. */
> 1520 flush_cache_page(vma, address, pte_pfn(pvmw.pte));
1521 if (should_defer_flush(mm, flags)) {
1522 /*
1523 * We clear the PTE but do not flush so potentially
1524 * a remote CPU could still be writing to the page.
1525 * If the entry was previously clean then the
1526 * architecture must guarantee that a clear->dirty
1527 * transition on a cached TLB entry is written through
1528 * and traps if the PTE is unmapped.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 14692 bytes --]
next prev parent reply other threads:[~2017-01-25 19:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-25 18:25 [PATCHv2 00/12] Fix few rmap-related THP bugs Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 01/12] uprobes: split THPs before trying replace them Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 02/12] mm: introduce page_vma_mapped_walk() Kirill A. Shutemov
2017-01-25 20:38 ` Kirill A. Shutemov
2017-01-25 22:42 ` Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 03/12] mm: fix handling PTE-mapped THPs in page_referenced() Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 04/12] mm: fix handling PTE-mapped THPs in page_idle_clear_pte_refs() Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 05/12] mm, rmap: check all VMAs that PTE-mapped THP can be part of Kirill A. Shutemov
2017-01-26 6:56 ` Hillf Danton
2017-01-25 18:25 ` [PATCHv2 06/12] mm: convert page_mkclean_one() to page_vma_mapped_walk() Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 07/12] mm: convert try_to_unmap_one() " Kirill A. Shutemov
2017-01-25 19:02 ` kbuild test robot [this message]
2017-01-25 19:05 ` kbuild test robot
2017-01-25 22:46 ` Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 08/12] mm, ksm: convert write_protect_page() " Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 09/12] mm, uprobes: convert __replace_page() " Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 10/12] mm: convert page_mapped_in_vma() " Kirill A. Shutemov
2017-01-26 7:31 ` Hillf Danton
2017-01-25 18:25 ` [PATCHv2 11/12] mm: drop page_check_address{,_transhuge} Kirill A. Shutemov
2017-01-25 18:25 ` [PATCHv2 12/12] mm: convert remove_migration_pte() to page_vma_mapped_walk() Kirill A. Shutemov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201701260306.GNicLGMK%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=hughd@google.com \
--cc=kbuild-all@01.org \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=riel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).