Commit 718da042 authored by Minchan Kim's avatar Minchan Kim Committed by Treehugger Robot
Browse files

ANDROID: retry page allocation from buddy on lock contention



spin_trylock may fail due to a parallel drain in rmqueue_pcplist.
In the case, it should retry to allocate with buddy.
It matches with upstream policy.

Fixes: 433445e9 ("ANDROID: mm: add cma pcp list")
Change-Id: I07367888d7ede38e09f9d882fc2485baa175fe64
Signed-off-by: default avatarMinchan Kim <minchan@google.com>
parent 0ef5d2ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment