aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2010-07-24 18:29:37 +0100
committerEric Anholt <[email protected]>2010-08-01 19:35:14 -0700
commit831cd4453598b2c8e193f077023910c6b0c39558 (patch)
tree242d8e619cf40f3f760f4a26b16e6344f3ca6cfc /tools/perf/scripts/python/net_dropmonitor.py
parent2bd34f6ca86b5a5f9b749624f73310820e7a93fd (diff)
agp/intel: Destroy the scatterlist on allocation failure
A side-effect of being able to use custom page allocations with the sg_table is that it cannot reap the partially constructed scatterlist if fails to allocate a page. So we need to call sg_free_table() ourselves if sg_alloc_table() fails. Signed-off-by: Chris Wilson <[email protected]> Cc Dave Airlie <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions