diff options
author | Sowmini Varadhan <[email protected]> | 2015-09-22 14:59:20 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-09-22 15:09:53 -0700 |
commit | d046b770c9fc36ccb19c27afdb8322220108cbc7 (patch) | |
tree | 3dca8790fdaa85708c320b6414a4ffbfbd1ec032 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 769a8089c1fd2fe94c13e66fe6e03d7820953ee3 (diff) |
lib/iommu-common.c: do not try to deref a null iommu->lazy_flush() pointer when n < pool->hint
The check for invoking iommu->lazy_flush() from iommu_tbl_range_alloc()
has to be refactored so that we only call ->lazy_flush() if it is
non-null.
I had a sparc kernel that was crashing when I was trying to process some
very large perf.data files- the crash happens when the scsi driver calls
into dma_4v_map_sg and thus the iommu_tbl_range_alloc().
Signed-off-by: Sowmini Varadhan <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions