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@xxxxxxxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip