summaryrefslogtreecommitdiff
path: root/tools/net
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2014-01-09 21:08:38 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 21:16:40 -0800
commit4c45b1a80ee9c85aee13445b85fd55541ec26d27 (patch)
treecc7771abedfcb0dfa8dd31c616856a08c077c1ae /tools/net
parent1184ead84d6c1019f5c1d31a73ef3bace90fb54a (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 <ccross@android.com> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Jesse Barker <jesse.barker@arm.com> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions