Commit dd887dbf authored by Minchan Kim's avatar Minchan Kim Committed by Richard Chang
Browse files

ANDROID: mm: do not count cma_alloc_fail on __GFP_NORETRY



Do not account __GFP_NORETRY allocation failure as cma_alloc_fail
since it's not critical failure(i.e., the caller with __GFP_NORETRY
should always carry on the fallback plan). It's also good for
compatibility POV with upstream since upstream cma_alloc_fail
only counts cma_alloc_fail with !__GFP_NORETRY since upstream
doesn't support __GFP_NORTRY yet.

Bug: 220669548
Signed-off-by: default avatarMinchan Kim <minchan@google.com>
Change-Id: I377e6b033c3786e10b6b1c814037a4fc40e20a73
Signed-off-by: default avatarRichard Chang <richardycc@google.com>
(cherry picked from commit 8ffc7ff8)
parent bb7b8149
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment