X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=mm%2Fpage_alloc.c;h=586f58685e253d77ee35bf039bc798702ed7d1e9;hb=da357d7aab5e47f5a9bd806980f4cbb1e76f523d;hp=ff0f6b13f32fc5f844b0663f0e4335340653021c;hpb=29c2a88157819d1e68ffea8b7d80117b332c8efe;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ff0f6b1..586f586 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -2196,6 +2196,14 @@ __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order, } /* + * PM-freezer should be notified that there might be an OOM killer on + * its way to kill and wake somebody up. This is too early and we might + * end up not killing anything but false positives are acceptable. + * See freeze_processes. + */ + note_oom_kill(); + + /* * Go through the zonelist yet one more time, keep very high watermark * here, this is only to catch a parallel oom killing, we must fail if * we're still under heavy pressure.