diff options
| author | John Stultz <john.stultz@linaro.org> | 2013-12-13 19:26:18 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-14 08:59:53 -0800 |
| commit | ea725ec8b1d2a5f6a46dd45174fcd6a5f8c9dd5b (patch) | |
| tree | 9fd178fdbda7139e893baae8856ef9425d1280f1 /tools/perf/scripts/python | |
| parent | f020b4430bf29a25229fd9975662baefb02facda (diff) | |
ion: Fix two small issues in system_heap allocation
In testing ion system heap allocations, I ran across two issues:
1) Not k*z*allocing the sg table. This can cause trouble if
we end up trying call sg_alloc_table() with too many entries,
then sg_alloc_table() internally fails and tries to free what it
thinks is internal table structure, which causes bad pointer
traversals.
2) The second list_for_each_entry probably should be _safe,
since I was seeing strange lock warnings and oopses on occasion.
This seems to resolve it, but could use some extra checking.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
