Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1566277

Re: [PATCH 02/12] mm: introduce page_check_walk()

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 02/12] mm: introduce page_check_walk()
Date 2017-01-25 03:10 +0100
Message-ID <t3lc5-401-17@gated-at.bofh.it> (permalink)
References <t3ciu-6CQ-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Kirill,

[auto build test ERROR on mmotm/master]
[also build test ERROR 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: sparc64-allnoconfig (attached as .config)
compiler: sparc64-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=sparc64 

All error/warnings (new ones prefixed by >>):

   mm/page_check.c: In function 'check_pte':
>> mm/page_check.c:48:38: error: invalid operands to binary - (have 'void *' and 'struct page *')
      if (migration_entry_to_page(entry) - pcw->page >=
                                         ^ ~~~~~~~~~
>> mm/page_check.c:52:38: warning: comparison of distinct pointer types lacks a cast
      if (migration_entry_to_page(entry) < pcw->page)
                                         ^

vim +48 mm/page_check.c

    42			swp_entry_t entry;
    43			if (!is_swap_pte(*pcw->pte))
    44				return false;
    45			entry = pte_to_swp_entry(*pcw->pte);
    46			if (!is_migration_entry(entry))
    47				return false;
  > 48			if (migration_entry_to_page(entry) - pcw->page >=
    49					hpage_nr_pages(pcw->page)) {
    50				return false;
    51			}
  > 52			if (migration_entry_to_page(entry) < pcw->page)
    53				return false;
    54		} else {
    55			if (!pte_present(*pcw->pte))

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/12] Fix few rmap-related THP bugs "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:30 +0100
  [PATCH 11/12] mm: drop page_check_address{,_transhuge} "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:30 +0100
  [PATCH 12/12] mm: convert remove_migration_pte() to page_check_walk() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:30 +0100
    Re: [PATCH 12/12] mm: convert remove_migration_pte() to  page_check_walk() kbuild test robot <lkp@intel.com> - 2017-01-25 02:50 +0100
  [PATCH 01/12] uprobes: split THPs before trying replace them "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:40 +0100
    Re: [PATCH 01/12] uprobes: split THPs before trying replace them Rik van Riel <riel@redhat.com> - 2017-01-24 19:10 +0100
    Re: [PATCH 01/12] uprobes: split THPs before trying replace them Andrew Morton <akpm@linux-foundation.org> - 2017-01-24 22:30 +0100
      Re: [PATCH 01/12] uprobes: split THPs before trying replace them "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-01-24 23:30 +0100
        Re: [PATCH 01/12] uprobes: split THPs before trying replace them Andrew Morton <akpm@linux-foundation.org> - 2017-01-24 23:40 +0100
          Re: [PATCH 01/12] uprobes: split THPs before trying replace them "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-01-25 00:00 +0100
        Re: [PATCH 01/12] uprobes: split THPs before trying replace them Srikar Dronamraju <srikar@linux.vnet.ibm.com> - 2017-01-25 18:00 +0100
          Re: [PATCH 01/12] uprobes: split THPs before trying replace them Rik van Riel <riel@redhat.com> - 2017-01-25 18:50 +0100
          Re: [PATCH 01/12] uprobes: split THPs before trying replace them "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-01-25 18:50 +0100
          Re: [PATCH 01/12] uprobes: split THPs before trying replace them Johannes Weiner <hannes@cmpxchg.org> - 2017-01-25 19:40 +0100
            Re: [PATCH 01/12] uprobes: split THPs before trying replace them "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-01-25 19:40 +0100
            Re: [PATCH 01/12] uprobes: split THPs before trying replace them Srikar Dronamraju <srikar@linux.vnet.ibm.com> - 2017-01-26 04:00 +0100
    Re: [PATCH 01/12] uprobes: split THPs before trying replace them Johannes Weiner <hannes@cmpxchg.org> - 2017-01-25 19:30 +0100
  [PATCH 04/12] mm: fix handling PTE-mapped THPs in page_idle_clear_pte_refs() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:40 +0100
  [PATCH 05/12] mm, rmap: check all VMAs that PTE-mapped THP can be part of "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:40 +0100
  [PATCH 02/12] mm: introduce page_check_walk() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:40 +0100
    Re: [PATCH 02/12] mm: introduce page_check_walk() Andrew Morton <akpm@linux-foundation.org> - 2017-01-24 22:50 +0100
      Re: [PATCH 02/12] mm: introduce page_check_walk() Andrew Morton <akpm@linux-foundation.org> - 2017-01-25 00:00 +0100
        Re: [PATCH 02/12] mm: introduce page_check_walk() "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-01-25 19:00 +0100
      Re: [PATCH 02/12] mm: introduce page_check_walk() "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-01-25 00:00 +0100
    Re: [PATCH 02/12] mm: introduce page_check_walk() kbuild test robot <lkp@intel.com> - 2017-01-25 02:30 +0100
    Re: [PATCH 02/12] mm: introduce page_check_walk() kbuild test robot <lkp@intel.com> - 2017-01-25 03:10 +0100
  [PATCH 09/12] mm, uprobes: convert __replace_page() to page_check_walk() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-01-24 17:40 +0100
    Re: [PATCH 09/12] mm, uprobes: convert __replace_page() to  page_check_walk() Srikar Dronamraju <srikar@linux.vnet.ibm.com> - 2017-01-26 04:10 +0100

csiph-web