[memcg:attempts/oom-detection-rework-4.5 361/363] mm/page_alloc.c:3429:5: error: implicit declaration of function 'compaction_failed'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git attempts/oom-detection-rework-4.5
head:   8f3c89f13f00171577cf29806390e687426f5a78
commit: 6cfed80ad41f3f1506930b9a3254fe135bf90d4c [361/363] mm: use compaction feedback for thp backoff conditions
config: blackfin-TCM-BF537_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 6cfed80ad41f3f1506930b9a3254fe135bf90d4c
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

   mm/page_alloc.c: In function '__alloc_pages_slowpath':
>> mm/page_alloc.c:3429:5: error: implicit declaration of function 'compaction_failed' [-Werror=implicit-function-declaration]
   cc1: some warnings being treated as errors

vim +/compaction_failed +3429 mm/page_alloc.c

  3423		/*
  3424		 * Checks for THP-specific high-order allocations and back off
  3425		 * if the the compaction backed off or failed
  3426		 */
  3427		if (is_thp_gfp_mask(gfp_mask) &&
  3428				(compaction_withdrawn(compact_result) ||
> 3429				 compaction_failed(compact_result)))
  3430			goto nopage;
  3431	
  3432		/* Try direct reclaim and then allocating */

---
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]