tree: git://git.cmpxchg.org/linux-mmotm.git master head: 4873e01c1a932866e01a6ecd91b39d45a8efd8e7 commit: 8cd153a90381c18eaac809b53520ea958b0e1721 [129/283] mm: convert i_mmap_mutex to rwsem config: x86_64-allnoconfig (attached as .config) reproduce: git checkout 8cd153a90381c18eaac809b53520ea958b0e1721 # save the attached .config to linux build tree make ARCH=x86_64 Note: the mmotm/master HEAD 4873e01c1a932866e01a6ecd91b39d45a8efd8e7 builds fine. It only hurts bisectibility. All error/warnings: mm/fremap.c: In function 'SYSC_remap_file_pages': >> mm/fremap.c:241:22: error: 'struct address_space' has no member named 'i_mmap_mutex' mutex_lock(&mapping->i_mmap_mutex); ^ >> mm/fremap.c:247:24: error: 'struct address_space' has no member named 'i_mmap_mutex' mutex_unlock(&mapping->i_mmap_mutex); ^ vim +241 mm/fremap.c 3ee6dafc Miklos Szeredi 2007-07-19 235 } else { 3ee6dafc Miklos Szeredi 2007-07-19 236 BUG_ON(addr != start); 3ee6dafc Miklos Szeredi 2007-07-19 237 err = 0; 3ee6dafc Miklos Szeredi 2007-07-19 238 } 4eb91982 Rik van Riel 2014-01-02 239 goto out_freed; 3ee6dafc Miklos Szeredi 2007-07-19 240 } 3d48ae45 Peter Zijlstra 2011-05-24 @241 mutex_lock(&mapping->i_mmap_mutex); ^1da177e Linus Torvalds 2005-04-16 242 flush_dcache_mmap_lock(mapping); ^1da177e Linus Torvalds 2005-04-16 243 vma->vm_flags |= VM_NONLINEAR; 6b2dbba8 Michel Lespinasse 2012-10-08 244 vma_interval_tree_remove(vma, &mapping->i_mmap); ^1da177e Linus Torvalds 2005-04-16 245 vma_nonlinear_insert(vma, &mapping->i_mmap_nonlinear); ^1da177e Linus Torvalds 2005-04-16 246 flush_dcache_mmap_unlock(mapping); 3d48ae45 Peter Zijlstra 2011-05-24 @247 mutex_unlock(&mapping->i_mmap_mutex); ^1da177e Linus Torvalds 2005-04-16 248 } ^1da177e Linus Torvalds 2005-04-16 249 ba470de4 Rik van Riel 2008-10-18 250 if (vma->vm_flags & VM_LOCKED) { :::::: The code at line 241 was first introduced by commit :::::: 3d48ae45e72390ddf8cc5256ac32ed6f7a19cbea mm: Convert i_mmap_lock to a mutex :::::: TO: Peter Zijlstra :::::: CC: Linus Torvalds --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation