diff options
author | Tomasz Figa <[email protected]> | 2015-04-01 07:26:33 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2015-04-02 09:58:25 +0100 |
commit | 49f28aa6b0d0735dbe5f04263c49a199ed0c5bb7 (patch) | |
tree | a1ff240e7ac0d1b3373a81ca3820d7b7a7b198fe /scripts/gdb/linux/modules.py | |
parent | 8defb3367fcd19d1af64c07792aade0747b54e0f (diff) |
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 <[email protected]>
Reviewed-by: Doug Anderson <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions