Commit 6d1bee3
mm-oom-rework-oom-detection-checkpatch-fixes
Cc: David Rientjes <[email protected]>
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 <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 77a0e79 commit 6d1bee3
1 file changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3101 | 3101 | | |
3102 | 3102 | | |
3103 | 3103 | | |
3104 | | - | |
| 3104 | + | |
| 3105 | + | |
3105 | 3106 | | |
3106 | 3107 | | |
3107 | 3108 | | |
| |||
3131 | 3132 | | |
3132 | 3133 | | |
3133 | 3134 | | |
3134 | | - | |
3135 | | - | |
3136 | | - | |
3137 | | - | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
3138 | 3139 | | |
3139 | | - | |
| 3140 | + | |
| 3141 | + | |
3140 | 3142 | | |
3141 | 3143 | | |
3142 | 3144 | | |
3143 | | - | |
| 3145 | + | |
| 3146 | + | |
3144 | 3147 | | |
3145 | 3148 | | |
3146 | 3149 | | |
3147 | | - | |
| 3150 | + | |
| 3151 | + | |
3148 | 3152 | | |
3149 | 3153 | | |
3150 | 3154 | | |
3151 | | - | |
| 3155 | + | |
3152 | 3156 | | |
3153 | 3157 | | |
3154 | 3158 | | |
| |||
0 commit comments