Commit 74edc71
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 b12385d commit 74edc71
1 file changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2989 | 2989 | | |
2990 | 2990 | | |
2991 | 2991 | | |
2992 | | - | |
| 2992 | + | |
| 2993 | + | |
2993 | 2994 | | |
2994 | 2995 | | |
2995 | 2996 | | |
| |||
3019 | 3020 | | |
3020 | 3021 | | |
3021 | 3022 | | |
3022 | | - | |
3023 | | - | |
3024 | | - | |
3025 | | - | |
| 3023 | + | |
| 3024 | + | |
| 3025 | + | |
| 3026 | + | |
3026 | 3027 | | |
3027 | | - | |
| 3028 | + | |
| 3029 | + | |
3028 | 3030 | | |
3029 | 3031 | | |
3030 | 3032 | | |
3031 | | - | |
| 3033 | + | |
| 3034 | + | |
3032 | 3035 | | |
3033 | 3036 | | |
3034 | 3037 | | |
3035 | | - | |
| 3038 | + | |
| 3039 | + | |
3036 | 3040 | | |
3037 | 3041 | | |
3038 | 3042 | | |
3039 | | - | |
| 3043 | + | |
3040 | 3044 | | |
3041 | 3045 | | |
3042 | 3046 | | |
| |||
0 commit comments