tree:   https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git 
blk-iolatency
head:   b62bb0da2afe1437b9d2d687ea1f509466fd3843
commit: 2caae39bf0a83094c506f98be6e339355544d103 [7/13] memcontrol: schedule 
throttling if we are congested
config: x86_64-randconfig-s4-05270049 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 2caae39bf0a83094c506f98be6e339355544d103
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/memcontrol.c: In function 'mem_cgroup_try_charge_delay':
>> mm/memcontrol.c:5479:3: error: implicit declaration of function 
>> 'blkcg_schedule_throttle'; did you mean 'poll_schedule_timeout'? 
>> [-Werror=implicit-function-declaration]
      blkcg_schedule_throttle(bdev_get_queue(bdev), true);
      ^~~~~~~~~~~~~~~~~~~~~~~
      poll_schedule_timeout
   cc1: some warnings being treated as errors

vim +5479 mm/memcontrol.c

  5460  
  5461  int mem_cgroup_try_charge_delay(struct page *page, struct mm_struct *mm,
  5462                            gfp_t gfp_mask, struct mem_cgroup **memcgp,
  5463                            bool compound)
  5464  {
  5465          struct mem_cgroup *memcg;
  5466          struct block_device *bdev;
  5467          int ret;
  5468  
  5469          ret = mem_cgroup_try_charge(page, mm, gfp_mask, memcgp, 
compound);
  5470          memcg = *memcgp;
  5471  
  5472          if (!(gfp_mask & __GFP_IO) || !memcg)
  5473                  return ret;
  5474  #ifdef CONFIG_BLOCK
  5475          if (atomic_read(&memcg->css.cgroup->congestion_count) &&
  5476              has_usable_swap()) {
  5477                  map_swap_page(page, &bdev);
  5478  
> 5479                  blkcg_schedule_throttle(bdev_get_queue(bdev), true);
  5480          }
  5481  #endif
  5482          return ret;
  5483  }
  5484  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to