diff options
| author | Patrick Daly <pdaly@codeaurora.org> | 2016-03-18 18:01:35 -0700 |
|---|---|---|
| committer | Patrick Daly <pdaly@codeaurora.org> | 2016-03-30 14:58:06 -0700 |
| commit | 0c10d0f344d06eb90e83ad3a8c4e863a6452ba88 (patch) | |
| tree | ce716b86dbb1eaa49c48199058c22b363c58f742 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 1bc7a18cac3a61aa1274fd102346c65e03d1c95d (diff) | |
ion: Ensure pooled pages use proper free() function
The meaning of the flag "cached = ion_buffer_cached(buffer)" is different
between the msm and upstream ion implementation.
Upstream:
cached means get memory from the ion_page_pool vs. buddy allocator
MSM:
cached means get memory from the cached ion_page_pool vs. uncached
ion_page_pool
if the new flag ION_FLAG_POOL_FORCE_ALLOC == true, then use the buddy
allocator.
In upstream commit ecd32842283c64b14243be9b20b60f351aea1b5d
("ion: Handle the memory mapping correctly on x86")
pages allocated from the ion page pool may have special page table
attributes. These attributes must be unset before the page is returned
to the buddy system.
This issue was introduced by an incorrect cherry-pick of the above
change.
Change-Id: Ia9339e78a4fa3f4734b6c75bb35d226f293dafb5
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
