The patch titled Subject: mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes has been added to the -mm tree. Its filename is mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes WARNING: line over 80 characters #49: FILE: mm/page_alloc.c:3327: + * inside the allocator rather than hit the oom killer prematurely. Let's ERROR: space required before the open parenthesis '(' #55: FILE: mm/page_alloc.c:3333: + if(zone_watermark_ok(zone, 0, min_wmark_pages(zone), total: 1 errors, 1 warnings, 24 lines checked ./patches/mm-oom-protect-costly-allocations-some-more-for-config_compaction.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Michal Hocko <mhocko@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN mm/page_alloc.c~mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes mm/page_alloc.c --- a/mm/page_alloc.c~mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes +++ a/mm/page_alloc.c @@ -3324,13 +3324,13 @@ should_compact_retry(struct alloc_contex /* * There are setups with compaction disabled which would prefer to loop - * inside the allocator rather than hit the oom killer prematurely. Let's - * give them a good hope and keep retrying while the order-0 watermarks - * are OK. + * inside the allocator rather than hit the oom killer prematurely. + * Let's give them a good hope and keep retrying while the order-0 + * watermarks are OK. */ for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx, ac->nodemask) { - if(zone_watermark_ok(zone, 0, min_wmark_pages(zone), + if (zone_watermark_ok(zone, 0, min_wmark_pages(zone), ac_classzone_idx(ac), alloc_flags)) return true; } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are i-need-old-gcc.patch arch-alpha-kernel-systblss-remove-debug-check.patch arm-arch-arm-include-asm-pageh-needs-personalityh.patch fsnotify-avoid-spurious-emfile-errors-from-inotify_init-checkpatch-fixes.patch kernel-padata-hide-unused-functions-checkpatch-fixes.patch mm.patch mm-slab-freelist-randomization-v5-fix.patch mm-rename-_count-field-of-the-struct-page-to-_refcount-fix.patch mm-rename-_count-field-of-the-struct-page-to-_refcount-fix-fix.patch include-linux-apply-__malloc-attribute-checkpatch-fixes.patch include-linux-nodemaskh-create-next_node_in-helper.patch include-linux-nodemaskh-create-next_node_in-helper-fix-fix.patch mm-hugetlbc-use-first_memory_node.patch mm-mempolicyc-offset_il_node-document-and-clarify.patch mm-uninline-page_mapped.patch mm-uninline-page_mapped-checkpatch-fixes.patch memory_hotplug-introduce-config_memory_hotplug_default_online-fix.patch oom-oom_reaper-try-to-reap-tasks-which-skip-regular-oom-killer-path-try-to-reap-tasks-which-skip-regular-memcg-oom-killer-path-fix.patch mm-page_alloc-only-check-pagecompound-for-high-order-pages-fix.patch mm-page_alloc-remove-unnecessary-initialisation-from-__alloc_pages_nodemask-fix.patch mm-page_alloc-shorten-the-page-allocator-fast-path-fix.patch mm-page_alloc-avoid-looking-up-the-first-zone-in-a-zonelist-twice-fix.patch mm-page_alloc-un-inline-the-bad-part-of-free_pages_check-fix.patch mm-page_alloc-defer-debugging-checks-of-freed-pages-until-a-pcp-drain-fix.patch mm-page_alloc-dont-duplicate-code-in-free_pcp_prepare-fix.patch mm-page_alloc-dont-duplicate-code-in-free_pcp_prepare-fix-fix.patch mm-compaction-abstract-compaction-feedback-to-helpers-fix.patch mm-oom-compaction-prevent-from-should_compact_retry-looping-for-ever-for-costly-orders-fix.patch mm-oom-protect-costly-allocations-some-more-for-config_compaction-checkpatch-fixes.patch vmstat-get-rid-of-the-ugly-cpu_stat_off-variable-v2-fix.patch mm-thp-avoid-unnecessary-swapin-in-khugepaged-fix.patch procfs-fixes-pthread-cross-thread-naming-if-pr_dumpable-fix.patch exit_thread-remove-empty-bodies-fix.patch exit_thread-accept-a-task-parameter-to-be-exited-checkpatch-fixes.patch lib-gcd-use-binary-gcd-algorithm-instead-of-euclidean-fix.patch fs-execc-fix-minor-memory-leak.patch linux-next-rejects.patch drivers-net-wireless-intel-iwlwifi-dvm-calibc-fix-min-warning.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html