diff options
| author | Ghanim Fodi <gfodi@codeaurora.org> | 2016-11-01 00:09:10 +0200 |
|---|---|---|
| committer | Utkarsh Saxena <usaxena@codeaurora.org> | 2017-02-13 23:04:06 +0530 |
| commit | 56b076a17ff78754a61c701e0acdabdd02f77aca (patch) | |
| tree | c63d5d8eb5f46777ebc21557643f66533d70bd37 /tools/perf/util/trace-event-scripting.c | |
| parent | 3a7e752617514960c5cecdf84e12b13dc63c04c7 (diff) | |
msm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR
SSR logic is executed during device shutdown. During device
shutdown the Linux tasks (processes) are moving to SIGKILL
state. If a DMA allocation from the kernel happens
in a context of a process in SIGKILL state and page migration
is needed, the allocation will fail.
Use GFP_ATOMIC allocation flag during SSR. This will
utilize the atomic memory pool and will not require page
migration.
CRs-fixed: 1077811
Change-Id: Ie06b85d1f9d0a230c3d3832b6f0bbcdefc520c1e
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
