Commit 348ea79
mm-oom-rework-oom-detection-checkpatch-fixes
Cc: David Rientjes <rientjes@google.com>
WARNING: line over 80 characters
torvalds#99: FILE: mm/page_alloc.c:2965:
+ * zone list (with a backoff mechanism which is a function of no_progress_loops).
WARNING: line over 80 characters
torvalds#129: FILE: mm/page_alloc.c:2995:
+ * Keep reclaiming pages while there is a chance this will lead somewhere.
WARNING: line over 80 characters
torvalds#134: FILE: mm/page_alloc.c:3000:
+ for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx, ac->nodemask) {
WARNING: line over 80 characters
torvalds#138: FILE: mm/page_alloc.c:3004:
+ available -= DIV_ROUND_UP(no_progress_loops * available, MAX_RECLAIM_RETRIES);
WARNING: line over 80 characters
torvalds#142: FILE: mm/page_alloc.c:3008:
+ * Would the allocation succeed if we reclaimed the whole available?
WARNING: line over 80 characters
torvalds#146: FILE: mm/page_alloc.c:3012:
+ /* Wait for some write requests to complete then retry */
total: 0 errors, 6 warnings, 202 lines checked
./patches/mm-oom-rework-oom-detection.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: David Rientjes <rientjes@google.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>1 parent f851a4e commit 348ea79
1 file changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3007 | 3007 | | |
3008 | 3008 | | |
3009 | 3009 | | |
3010 | | - | |
| 3010 | + | |
| 3011 | + | |
3011 | 3012 | | |
3012 | 3013 | | |
3013 | 3014 | | |
| |||
3037 | 3038 | | |
3038 | 3039 | | |
3039 | 3040 | | |
3040 | | - | |
3041 | | - | |
3042 | | - | |
3043 | | - | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
3044 | 3045 | | |
3045 | | - | |
| 3046 | + | |
| 3047 | + | |
3046 | 3048 | | |
3047 | 3049 | | |
3048 | 3050 | | |
3049 | | - | |
| 3051 | + | |
| 3052 | + | |
3050 | 3053 | | |
3051 | 3054 | | |
3052 | 3055 | | |
3053 | | - | |
| 3056 | + | |
| 3057 | + | |
3054 | 3058 | | |
3055 | 3059 | | |
3056 | 3060 | | |
3057 | | - | |
| 3061 | + | |
3058 | 3062 | | |
3059 | 3063 | | |
3060 | 3064 | | |
| |||
0 commit comments