Skip to content
Snippets Groups Projects
user avatar
Minchan Kim authored
We got several report fastrpc_buf_alloc order-3 allocation failure
and OOM kill because fastrpc_buf_alloc try to allocate high-order
allcation based on the user request size. However, high-order allocation
is not a must to make IOMMU work so it makes system trouble when the
memory pressure is heavy in that OOM kill and long stall so let's
try to avoid that to pass __GFP_NORETRY and removing __GFP_RECLAIM
for only high-order allocation.

Bug: 130426072
Change-Id: I4c1552ed1fc5665c0fe8464e7352a88125949829
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: default avatarMinchan Kim <minchan@google.com>
(cherry picked from commit f193e933f50cac36a8a461a97ecbbf78e0673c7a)
efa12755
Name Last commit Last update