summaryrefslogtreecommitdiffstats
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorTomasz Figa <tfiga@chromium.org>2015-04-01 08:26:33 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-04-02 10:58:25 +0200
commit49f28aa6b0d0735dbe5f04263c49a199ed0c5bb7 (patch)
treea1ff240e7ac0d1b3373a81ca3820d7b7a7b198fe /ipc/msg.c
parentARM: 8320/1: fix integer overflow in ELF_ET_DYN_BASE (diff)
downloadlinux-49f28aa6b0d0735dbe5f04263c49a199ed0c5bb7.tar.xz
linux-49f28aa6b0d0735dbe5f04263c49a199ed0c5bb7.zip
ARM: 8337/1: mm: Do not invoke OOM for higher order IOMMU DMA allocations
IOMMU should be able to use single pages as well as bigger blocks, so if higher order allocations fail, we should not affect state of the system, with events such as OOM killer, but rather fall back to order 0 allocations. This patch changes the behavior of ARM IOMMU DMA allocator to use __GFP_NORETRY, which bypasses OOM invocation, for orders higher than zero and, only if that fails, fall back to normal order 0 allocation which might invoke OOM killer. Signed-off-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Doug Anderson <dianders@chromium.org> Acked-by: David Rientjes <rientjes@google.com> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions