Commit 31508d50 authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Linux Build Service Account
Browse files

gpu: ion: suppress excessive logging for expected failure cases



We expect alloc_pages to fail for high-order pages under stressed
memory conditions. It should then fall back to lower-order page
allocations but due to excessive logging the system crashes. Use
__GFP_NOWARN for high-order allocations to avoid excessive logging.

(cherry picked from commit ff6ea62fe0687e754ddb64492e77fd75ad85fa02)

CRs-Fixed: 454877
Change-Id: Ie18c2dddd6810038abad9b06c7838ff4a0844b6d
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 4a995e78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment