linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Nadav Amit <namit@vmware.com>
Cc: kbuild-all@01.org, linux-mm@kvack.org, nadav.amit@gmail.com,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	Minchan Kim <minchan@kernel.org>
Subject: Re: [PATCH v6 5/7] mm: make tlb_flush_pending global
Date: Fri, 4 Aug 2017 00:40:59 +0800	[thread overview]
Message-ID: <201708040055.PD7ivXi3%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170802000818.4760-6-namit@vmware.com>

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

Hi Minchan,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.13-rc3]
[cannot apply to next-20170803]
[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/Nadav-Amit/mm-migrate-prevent-racy-access-to-tlb_flush_pending/20170802-205715
config: x86_64-randconfig-a0-08032207 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   mm/debug.c: In function 'dump_mm':
>> mm/debug.c:102: warning: format '%#lx' expects type 'long unsigned int', but argument 40 has type 'int'
>> mm/debug.c:102: warning: format '%p' expects type 'void *', but argument 41 has type 'long unsigned int'
   mm/debug.c:102: warning: too many arguments for format

vim +102 mm/debug.c

82742a3a5 Sasha Levin           2014-10-09   99  
31c9afa6d Sasha Levin           2014-10-09  100  void dump_mm(const struct mm_struct *mm)
31c9afa6d Sasha Levin           2014-10-09  101  {
7a82ca0d6 Andrew Morton         2014-10-09 @102  	pr_emerg("mm %p mmap %p seqnum %d task_size %lu\n"
31c9afa6d Sasha Levin           2014-10-09  103  #ifdef CONFIG_MMU
31c9afa6d Sasha Levin           2014-10-09  104  		"get_unmapped_area %p\n"
31c9afa6d Sasha Levin           2014-10-09  105  #endif
31c9afa6d Sasha Levin           2014-10-09  106  		"mmap_base %lu mmap_legacy_base %lu highest_vm_end %lu\n"
dc6c9a35b Kirill A. Shutemov    2015-02-11  107  		"pgd %p mm_users %d mm_count %d nr_ptes %lu nr_pmds %lu map_count %d\n"
31c9afa6d Sasha Levin           2014-10-09  108  		"hiwater_rss %lx hiwater_vm %lx total_vm %lx locked_vm %lx\n"
846383359 Konstantin Khlebnikov 2016-01-14  109  		"pinned_vm %lx data_vm %lx exec_vm %lx stack_vm %lx\n"
31c9afa6d Sasha Levin           2014-10-09  110  		"start_code %lx end_code %lx start_data %lx end_data %lx\n"
31c9afa6d Sasha Levin           2014-10-09  111  		"start_brk %lx brk %lx start_stack %lx\n"
31c9afa6d Sasha Levin           2014-10-09  112  		"arg_start %lx arg_end %lx env_start %lx env_end %lx\n"
31c9afa6d Sasha Levin           2014-10-09  113  		"binfmt %p flags %lx core_state %p\n"
31c9afa6d Sasha Levin           2014-10-09  114  #ifdef CONFIG_AIO
31c9afa6d Sasha Levin           2014-10-09  115  		"ioctx_table %p\n"
31c9afa6d Sasha Levin           2014-10-09  116  #endif
31c9afa6d Sasha Levin           2014-10-09  117  #ifdef CONFIG_MEMCG
31c9afa6d Sasha Levin           2014-10-09  118  		"owner %p "
31c9afa6d Sasha Levin           2014-10-09  119  #endif
31c9afa6d Sasha Levin           2014-10-09  120  		"exe_file %p\n"
31c9afa6d Sasha Levin           2014-10-09  121  #ifdef CONFIG_MMU_NOTIFIER
31c9afa6d Sasha Levin           2014-10-09  122  		"mmu_notifier_mm %p\n"
31c9afa6d Sasha Levin           2014-10-09  123  #endif
31c9afa6d Sasha Levin           2014-10-09  124  #ifdef CONFIG_NUMA_BALANCING
31c9afa6d Sasha Levin           2014-10-09  125  		"numa_next_scan %lu numa_scan_offset %lu numa_scan_seq %d\n"
31c9afa6d Sasha Levin           2014-10-09  126  #endif
31c9afa6d Sasha Levin           2014-10-09  127  #if defined(CONFIG_NUMA_BALANCING) || defined(CONFIG_COMPACTION)
31c9afa6d Sasha Levin           2014-10-09  128  		"tlb_flush_pending %d\n"
31c9afa6d Sasha Levin           2014-10-09  129  #endif
b8eceeb99 Vlastimil Babka       2016-03-15  130  		"def_flags: %#lx(%pGv)\n",
31c9afa6d Sasha Levin           2014-10-09  131  
31c9afa6d Sasha Levin           2014-10-09  132  		mm, mm->mmap, mm->vmacache_seqnum, mm->task_size,
31c9afa6d Sasha Levin           2014-10-09  133  #ifdef CONFIG_MMU
31c9afa6d Sasha Levin           2014-10-09  134  		mm->get_unmapped_area,
31c9afa6d Sasha Levin           2014-10-09  135  #endif
31c9afa6d Sasha Levin           2014-10-09  136  		mm->mmap_base, mm->mmap_legacy_base, mm->highest_vm_end,
31c9afa6d Sasha Levin           2014-10-09  137  		mm->pgd, atomic_read(&mm->mm_users),
31c9afa6d Sasha Levin           2014-10-09  138  		atomic_read(&mm->mm_count),
31c9afa6d Sasha Levin           2014-10-09  139  		atomic_long_read((atomic_long_t *)&mm->nr_ptes),
dc6c9a35b Kirill A. Shutemov    2015-02-11  140  		mm_nr_pmds((struct mm_struct *)mm),
31c9afa6d Sasha Levin           2014-10-09  141  		mm->map_count,
31c9afa6d Sasha Levin           2014-10-09  142  		mm->hiwater_rss, mm->hiwater_vm, mm->total_vm, mm->locked_vm,
846383359 Konstantin Khlebnikov 2016-01-14  143  		mm->pinned_vm, mm->data_vm, mm->exec_vm, mm->stack_vm,
31c9afa6d Sasha Levin           2014-10-09  144  		mm->start_code, mm->end_code, mm->start_data, mm->end_data,
31c9afa6d Sasha Levin           2014-10-09  145  		mm->start_brk, mm->brk, mm->start_stack,
31c9afa6d Sasha Levin           2014-10-09  146  		mm->arg_start, mm->arg_end, mm->env_start, mm->env_end,
31c9afa6d Sasha Levin           2014-10-09  147  		mm->binfmt, mm->flags, mm->core_state,
31c9afa6d Sasha Levin           2014-10-09  148  #ifdef CONFIG_AIO
31c9afa6d Sasha Levin           2014-10-09  149  		mm->ioctx_table,
31c9afa6d Sasha Levin           2014-10-09  150  #endif
31c9afa6d Sasha Levin           2014-10-09  151  #ifdef CONFIG_MEMCG
31c9afa6d Sasha Levin           2014-10-09  152  		mm->owner,
31c9afa6d Sasha Levin           2014-10-09  153  #endif
31c9afa6d Sasha Levin           2014-10-09  154  		mm->exe_file,
31c9afa6d Sasha Levin           2014-10-09  155  #ifdef CONFIG_MMU_NOTIFIER
31c9afa6d Sasha Levin           2014-10-09  156  		mm->mmu_notifier_mm,
31c9afa6d Sasha Levin           2014-10-09  157  #endif
31c9afa6d Sasha Levin           2014-10-09  158  #ifdef CONFIG_NUMA_BALANCING
31c9afa6d Sasha Levin           2014-10-09  159  		mm->numa_next_scan, mm->numa_scan_offset, mm->numa_scan_seq,
31c9afa6d Sasha Levin           2014-10-09  160  #endif
fd2fc6e1f Nadav Amit            2017-08-01  161  		atomic_read(&mm->tlb_flush_pending),
b8eceeb99 Vlastimil Babka       2016-03-15  162  		mm->def_flags, &mm->def_flags
31c9afa6d Sasha Levin           2014-10-09  163  	);
31c9afa6d Sasha Levin           2014-10-09  164  }
31c9afa6d Sasha Levin           2014-10-09  165  

:::::: The code at line 102 was first introduced by commit
:::::: 7a82ca0d6437261d0727ce472ae4f3a05a9ce5f7 mm/debug.c: use pr_emerg()

:::::: TO: Andrew Morton <akpm@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

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

  parent reply	other threads:[~2017-08-03 16:41 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02  0:08 [PATCH v6 0/7] fixes of TLB batching races Nadav Amit
2017-08-02  0:08 ` [PATCH v6 1/7] mm: migrate: prevent racy access to tlb_flush_pending Nadav Amit
2017-08-02  0:08 ` [PATCH v6 2/7] mm: migrate: fix barriers around tlb_flush_pending Nadav Amit
2017-08-02  0:08 ` [PATCH v6 3/7] Revert "mm: numa: defer TLB flush for THP migration as long as possible" Nadav Amit
2017-08-11 10:50   ` Peter Zijlstra
2017-08-02  0:08 ` [PATCH v6 4/7] mm: refactoring TLB gathering API Nadav Amit
2017-08-11  9:23   ` Peter Zijlstra
2017-08-11 17:12     ` Nadav Amit
2017-08-14  0:49       ` Minchan Kim
2017-08-02  0:08 ` [PATCH v6 5/7] mm: make tlb_flush_pending global Nadav Amit
2017-08-02 14:28   ` kbuild test robot
2017-08-02 23:23     ` Minchan Kim
2017-08-02 23:27     ` Andrew Morton
2017-08-02 23:34       ` Minchan Kim
2017-08-03 16:40   ` kbuild test robot [this message]
2017-08-02  0:08 ` [PATCH v6 6/7] mm: fix MADV_[FREE|DONTNEED] TLB flush miss problem Nadav Amit
2017-08-08  1:19   ` [lkp-robot] [mm] 7674270022: will-it-scale.per_process_ops -19.3% regression kernel test robot
2017-08-08  2:28     ` Minchan Kim
2017-08-08  4:23       ` Nadav Amit
2017-08-08  5:51         ` Nadav Amit
2017-08-08  8:08           ` Minchan Kim
2017-08-08  8:16             ` Nadav Amit
2017-08-09  1:25             ` Ye Xiaolong
2017-08-09  2:59             ` Ye Xiaolong
2017-08-10  4:13               ` Minchan Kim
2017-08-10  4:14                 ` Nadav Amit
2017-08-10  4:20                   ` Minchan Kim
2017-08-11 13:30   ` [PATCH v6 6/7] mm: fix MADV_[FREE|DONTNEED] TLB flush miss problem Peter Zijlstra
2017-08-13  6:14     ` Nadav Amit
2017-08-13 12:08       ` Peter Zijlstra
2017-08-14  1:26     ` Minchan Kim
2017-08-02  0:08 ` [PATCH v6 7/7] mm: fix KSM data corruption Nadav Amit
2017-08-02 23:26 ` [PATCH v6 0/7] fixes of TLB batching races Minchan Kim

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=201708040055.PD7ivXi3%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=minchan@kernel.org \
    --cc=nadav.amit@gmail.com \
    --cc=namit@vmware.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).