Re: [PATCH] uprobes: wait for mmap_sem for write killable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michal,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.5-rc6 next-20160229]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Michal-Hocko/uprobes-wait-for-mmap_sem-for-write-killable/20160301-014513
config: x86_64-randconfig-x019-201609 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/events/uprobes.c: In function 'xol_add_vma':
   kernel/events/uprobes.c:1133:6: error: implicit declaration of function 'down_write_killable' [-Werror=implicit-function-declaration]
     if (down_write_killable(&mm->mmap_sem))
         ^
   kernel/events/uprobes.c: In function 'dup_xol_work':
>> kernel/events/uprobes.c:1475:3: error: expected ')' before 'uprobe_warn'
      uprobe_warn(current, "dup xol area");
      ^
>> kernel/events/uprobes.c:1476:1: error: expected expression before '}' token
    }
    ^
   cc1: some warnings being treated as errors

vim +1475 kernel/events/uprobes.c

aa59c53f Oleg Nesterov 2013-10-13  1469  {
aa59c53f Oleg Nesterov 2013-10-13  1470  	if (current->flags & PF_EXITING)
aa59c53f Oleg Nesterov 2013-10-13  1471  		return;
aa59c53f Oleg Nesterov 2013-10-13  1472  
6b584cb3 Michal Hocko  2016-02-29  1473  	if (!__create_xol_area(current->utask->dup_xol_addr) &&
6b584cb3 Michal Hocko  2016-02-29  1474  			!fatal_signal_pending(current)
aa59c53f Oleg Nesterov 2013-10-13 @1475  		uprobe_warn(current, "dup xol area");
aa59c53f Oleg Nesterov 2013-10-13 @1476  }
aa59c53f Oleg Nesterov 2013-10-13  1477  
e78aebfd Anton Arapov  2013-04-03  1478  /*
b68e0749 Oleg Nesterov 2013-10-13  1479   * Called in context of a new clone/fork from copy_process.

:::::: The code at line 1475 was first introduced by commit
:::::: aa59c53fd4599c91ccf9629af0c2777b89929076 uprobes: Change uprobe_copy_process() to dup xol_area

:::::: TO: Oleg Nesterov <oleg@xxxxxxxxxx>
:::::: CC: Oleg Nesterov <oleg@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]