[cgroup:review-cgwb-4.3-fixes 5/5] mm/page-writeback.c:1579:4: error: too many arguments to function 'mem_cgroup_wb_stats'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgwb-4.3-fixes
head:   29652c7740624cd37c02a3fc7cb60588902d719f
commit: 29652c7740624cd37c02a3fc7cb60588902d719f [5/5] writeback: fix incorrect calculation of available memory for memcg domains
config: x86_64-allnoconfig (attached as .config)
reproduce:
  git checkout 29652c7740624cd37c02a3fc7cb60588902d719f
  # save the attached .config to linux build tree
  make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   mm/page-writeback.c: In function 'balance_dirty_pages':
>> mm/page-writeback.c:1579:4: error: too many arguments to function 'mem_cgroup_wb_stats'
       mem_cgroup_wb_stats(wb, &filepages, &headroom,
       ^
   In file included from include/linux/swap.h:8:0,
                    from mm/page-writeback.c:19:
   include/linux/memcontrol.h:691:20: note: declared here
    static inline void mem_cgroup_wb_stats(struct bdi_writeback *wb,
                       ^
   mm/page-writeback.c: In function 'wb_over_bg_thresh':
   mm/page-writeback.c:1906:3: error: too many arguments to function 'mem_cgroup_wb_stats'
      mem_cgroup_wb_stats(wb, &filepages, &headroom, &mdtc->dirty,
      ^
   In file included from include/linux/swap.h:8:0,
                    from mm/page-writeback.c:19:
   include/linux/memcontrol.h:691:20: note: declared here
    static inline void mem_cgroup_wb_stats(struct bdi_writeback *wb,
                       ^

vim +/mem_cgroup_wb_stats +1579 mm/page-writeback.c

  1573				unsigned long filepages, headroom, writeback;
  1574	
  1575				/*
  1576				 * If @wb belongs to !root memcg, repeat the same
  1577				 * basic calculations for the memcg domain.
  1578				 */
> 1579				mem_cgroup_wb_stats(wb, &filepages, &headroom,
  1580						    &mdtc->dirty, &writeback);
  1581				mdtc->dirty += writeback;
  1582				mdtc_calc_avail(mdtc, filepages, headroom);

---
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]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux