From 3d3f498cee8722a2ce3a0f158c39dff2cc43ee47 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 10 Feb 2016 10:13:07 +1100 Subject: [PATCH] mm-use-watermak-checks-for-__gfp_repeat-high-order-allocations-checkpatch-fixes ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("")' - ie: 'commit 0123456789ab ("commit description")' #9: The first condition was added by a41f24ea9fd6 ("page allocator: smarter WARNING: line over 80 characters #47: FILE: mm/page_alloc.c:3005: + * the last reclaim round) and no_progress_loops (number of reclaim rounds without total: 1 errors, 1 warnings, 68 lines checked ./patches/mm-use-watermak-checks-for-__gfp_repeat-high-order-allocations.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@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> --- mm/page_alloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 61f00456fac2..00118fee5340 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -3097,9 +3097,9 @@ static inline bool is_thp_gfp_mask(gfp_t gfp_mask) * Checks whether it makes sense to retry the reclaim to make a forward progress * for the given allocation request. * The reclaim feedback represented by did_some_progress (any progress during - * the last reclaim round) and no_progress_loops (number of reclaim rounds without - * any progress in a row) is considered as well as the reclaimable pages on the - * applicable zone list (with a backoff mechanism which is a function of + * the last reclaim round) and no_progress_loops (number of reclaim rounds + * without any progress in a row) is considered as well as the reclaimable pages + * on the applicable zone list (with a backoff mechanism which is a function of * no_progress_loops). * * Returns true if a retry is viable or false to enter the oom path. -- 2.39.2