linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Roman Gushchin <guro@fb.com>
Cc: kbuild-all@01.org, linux-mm@kvack.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Mel Gorman <mgorman@techsingularity.net>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Michal Hocko <mhocko@suse.com>,
	Vladimir Davydov <vdavydov.dev@gmail.com>,
	Rik van Riel <riel@redhat.com>,
	kernel-team@fb.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: make allocation counters per-order
Date: Fri, 7 Jul 2017 09:54:41 +0800	[thread overview]
Message-ID: <201707070950.jYYcWD6B%fengguang.wu@intel.com> (raw)
In-Reply-To: <1499346271-15653-1-git-send-email-guro@fb.com>

[-- Attachment #1: Type: text/plain, Size: 6134 bytes --]

Hi Roman,

[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20170706]
[cannot apply to v4.12]
[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/Roman-Gushchin/mm-make-allocation-counters-per-order/20170707-091630
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-x019-201727 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/vmstat.c: In function 'allocinfo_show':
>> mm/vmstat.c:1513:2: error: implicit declaration of function 'sum_vm_events' [-Werror=implicit-function-declaration]
     sum_vm_events(allocs, PGALLOC_FIRST_ZONE, PGALLOC_EVENTS_SIZE);
     ^~~~~~~~~~~~~
   At top level:
   mm/vmstat.c:1491:13: warning: 'sum_alloc_events' defined but not used [-Wunused-function]
    static void sum_alloc_events(unsigned long *v)
                ^~~~~~~~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls64
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 2 arch/x86/include/asm/jump_label.h:arch_static_branch
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic64_64.h:atomic64_read
   Cyclomatic Complexity 1 include/asm-generic/atomic-long.h:atomic_long_read
   Cyclomatic Complexity 1 include/linux/math64.h:div_u64_rem
   Cyclomatic Complexity 1 include/linux/math64.h:div_u64
   Cyclomatic Complexity 1 include/linux/err.h:ERR_PTR
   Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irqrestore
   Cyclomatic Complexity 1 include/linux/nodemask.h:node_state
   Cyclomatic Complexity 1 include/linux/mmzone.h:zone_end_pfn
   Cyclomatic Complexity 1 include/linux/mmzone.h:populated_zone
   Cyclomatic Complexity 2 include/linux/mmzone.h:__nr_to_section
   Cyclomatic Complexity 1 include/linux/mmzone.h:__section_mem_map_addr
   Cyclomatic Complexity 3 include/linux/mmzone.h:valid_section
   Cyclomatic Complexity 1 include/linux/mmzone.h:__pfn_to_section
   Cyclomatic Complexity 2 include/linux/mmzone.h:pfn_valid
   Cyclomatic Complexity 1 include/linux/mmzone.h:memmap_valid_within
   Cyclomatic Complexity 1 include/linux/mm.h:page_zonenum
   Cyclomatic Complexity 1 include/linux/mm.h:page_zone
   Cyclomatic Complexity 1 include/linux/mm.h:page_to_section
   Cyclomatic Complexity 1 include/linux/vmstat.h:global_page_state
   Cyclomatic Complexity 1 include/linux/vmstat.h:global_node_page_state
   Cyclomatic Complexity 1 include/linux/vmstat.h:zone_page_state
   Cyclomatic Complexity 28 include/linux/slab.h:kmalloc_index
   Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 1 include/linux/cpu.h:cpus_read_lock
   Cyclomatic Complexity 1 include/linux/cpu.h:cpus_read_unlock
   Cyclomatic Complexity 1 include/linux/cpu.h:get_online_cpus
   Cyclomatic Complexity 1 include/linux/cpu.h:put_online_cpus
   Cyclomatic Complexity 1 include/linux/proc_fs.h:proc_create
   Cyclomatic Complexity 3 mm/vmstat.c:fill_contig_page_info
   Cyclomatic Complexity 3 mm/vmstat.c:__fragmentation_index
   Cyclomatic Complexity 1 mm/vmstat.c:frag_stop
   Cyclomatic Complexity 6 mm/vmstat.c:walk_zones_in_node
   Cyclomatic Complexity 1 mm/vmstat.c:frag_show
   Cyclomatic Complexity 3 mm/vmstat.c:is_zone_first_populated
   Cyclomatic Complexity 1 mm/vmstat.c:zoneinfo_show
   Cyclomatic Complexity 2 mm/vmstat.c:allocinfo_start
   Cyclomatic Complexity 1 mm/vmstat.c:allocinfo_next
   Cyclomatic Complexity 1 mm/vmstat.c:allocinfo_stop
   Cyclomatic Complexity 3 mm/vmstat.c:vmstat_next
   Cyclomatic Complexity 2 mm/vmstat.c:unusable_free_index
   Cyclomatic Complexity 2 mm/vmstat.c:unusable_show
   Cyclomatic Complexity 1 mm/vmstat.c:extfrag_show
   Cyclomatic Complexity 1 mm/vmstat.c:zoneinfo_open
   Cyclomatic Complexity 1 mm/vmstat.c:vmstat_open
   Cyclomatic Complexity 1 mm/vmstat.c:pagetypeinfo_open
   Cyclomatic Complexity 1 mm/vmstat.c:allocinfo_open
   Cyclomatic Complexity 1 mm/vmstat.c:fragmentation_open
   Cyclomatic Complexity 1 mm/vmstat.c:extfrag_open
   Cyclomatic Complexity 1 mm/vmstat.c:unusable_open
   Cyclomatic Complexity 7 mm/vmstat.c:zoneinfo_show_print
   Cyclomatic Complexity 2 mm/vmstat.c:pagetypeinfo_showfree
   Cyclomatic Complexity 4 mm/vmstat.c:pagetypeinfo_showfree_print
   Cyclomatic Complexity 2 mm/vmstat.c:pagetypeinfo_showblockcount
   Cyclomatic Complexity 2 mm/vmstat.c:frag_show_print
   Cyclomatic Complexity 2 mm/vmstat.c:extfrag_show_print
   Cyclomatic Complexity 2 mm/vmstat.c:unusable_show_print
   Cyclomatic Complexity 1 mm/vmstat.c:frag_next
   Cyclomatic Complexity 2 mm/vmstat.c:frag_start
   Cyclomatic Complexity 4 mm/vmstat.c:vmstat_show
   Cyclomatic Complexity 1 mm/vmstat.c:vmstat_stop
   Cyclomatic Complexity 5 mm/vmstat.c:vmstat_start
   Cyclomatic Complexity 8 mm/vmstat.c:pagetypeinfo_showblockcount_print
   Cyclomatic Complexity 3 mm/vmstat.c:pagetypeinfo_showmixedcount
   Cyclomatic Complexity 2 mm/vmstat.c:pagetypeinfo_show
   Cyclomatic Complexity 4 mm/vmstat.c:allocinfo_show
   Cyclomatic Complexity 4 mm/vmstat.c:extfrag_debug_init
   Cyclomatic Complexity 1 mm/vmstat.c:fragmentation_index
   Cyclomatic Complexity 1 mm/vmstat.c:init_mm_internals
   cc1: some warnings being treated as errors

vim +/sum_vm_events +1513 mm/vmstat.c

  1507		int zid;
  1508	
  1509		if (arg != SEQ_START_TOKEN)
  1510			return 0;
  1511	
  1512		get_online_cpus();
> 1513		sum_vm_events(allocs, PGALLOC_FIRST_ZONE, PGALLOC_EVENTS_SIZE);
  1514		put_online_cpus();
  1515	
  1516		for (zid = 0; zid < MAX_NR_ZONES; ++zid) {

---
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: 29631 bytes --]

  parent reply	other threads:[~2017-07-07  1:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 13:04 [PATCH] mm: make allocation counters per-order Roman Gushchin
2017-07-06 13:19 ` Mel Gorman
2017-07-06 14:46   ` Roman Gushchin
2017-07-06 15:47     ` Mel Gorman
2017-07-06 16:43       ` Roman Gushchin
2017-07-06 17:16         ` Mel Gorman
2017-07-06 18:00           ` Debabrata Banerjee
2017-07-06 20:02             ` Mel Gorman
2017-07-16 13:27       ` Roman Gushchin
2017-07-16 13:29       ` Roman Gushchin
2017-07-16 13:55         ` [v2] " kbuild test robot
2017-07-06 14:54   ` [PATCH] " Debabrata Banerjee
2017-07-06 15:51     ` Mel Gorman
2017-07-06 16:12       ` Debabrata Banerjee
2017-07-06 16:43         ` Mel Gorman
2017-07-06 15:02 ` Christoph Lameter
2017-07-07  1:54 ` kbuild test robot [this message]
2017-07-07  6:06 ` kbuild test robot

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=201707070950.jYYcWD6B%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=guro@fb.com \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@01.org \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@techsingularity.net \
    --cc=mhocko@suse.com \
    --cc=riel@redhat.com \
    --cc=vdavydov.dev@gmail.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).