tree: https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git attempts/oom-detection-rework-4.5 head: 8f3c89f13f00171577cf29806390e687426f5a78 commit: 8f3c89f13f00171577cf29806390e687426f5a78 [363/363] mm: use MIGRATE_SYNC in page allocation path config: openrisc-or1ksim_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 8f3c89f13f00171577cf29806390e687426f5a78 # save the attached .config to linux build tree make.cross ARCH=openrisc All warnings (new ones prefixed by >>): mm/page_alloc.c: In function 'should_compact_retry': >> mm/page_alloc.c:3034:4: warning: value computed is not used vim +3034 mm/page_alloc.c 3018 should_compact_retry(struct alloc_context *ac, int order, int alloc_flags, 3019 enum compact_result compact_result, enum migrate_mode *migrate_mode, 3020 int compaction_retries) 3021 { 3022 int max_retries = MAX_COMPACT_RETRIES; 3023 3024 if (!order) 3025 return false; 3026 3027 /* 3028 * compaction considers all the zone as desperately out of memory 3029 * so it doesn't really make much sense to retry except when the 3030 * failure could be caused by weak migration mode. 3031 */ 3032 if (compaction_failed(compact_result)) { 3033 if (*migrate_mode < MIGRATE_SYNC) { > 3034 *migrate_mode++; 3035 return true; 3036 } 3037 return false; 3038 } 3039 3040 /* 3041 * make sure the compaction wasn't deferred or didn't bail out early 3042 * due to locks contention before we declare that we should give up. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data