diff options
author | John Stultz <[email protected]> | 2014-01-09 21:08:38 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-01-09 21:16:40 -0800 |
commit | 4c45b1a80ee9c85aee13445b85fd55541ec26d27 (patch) | |
tree | cc7771abedfcb0dfa8dd31c616856a08c077c1ae /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1184ead84d6c1019f5c1d31a73ef3bace90fb54a (diff) |
ion: Add carveout and chunk heaps to dummy driver
Add support to the dummy driver for basic carveout and chunk heaps.
Since we're generating these heaps at module_init, and we want
this driver to be generic enough to be tested on any arch, we
don't have the ability to alloc bootmem, so both of these heaps
are conventionally allocated using alloc_pages(), which limits us
to 4M in size.
Should look into using CMA for heap allocation eventually, but
this provides enough to test the basic functionality of the
heaps.
Cc: Colin Cross <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Jesse Barker <[email protected]>
Cc: Android Kernel Team <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions