diff options
| author | Robin Murphy <robin.murphy@arm.com> | 2017-07-24 20:29:27 +0300 | 
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2017-08-25 17:56:13 +0300 | 
| commit | 5237e95f63761477b7ea45499d08b89383a77eab (patch) | |
| tree | c36af924cea82bb94babb220f7adf1c8f9a75956 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ee7b1f31200d9f3cc45e1bd22e962bd6b1d4d611 (diff) | |
| download | linux-5237e95f63761477b7ea45499d08b89383a77eab.tar.xz | |
dma-mapping: reduce dma_mapping_error inline bloat
Thanks to the nested inlining, all drivers correctly calling
dma_mapping_error() after a mapping a page or single buffer generate two
calls to get_arch_dma_ops() per callsite, which all adds up to a fair
old chunk of useless code, e.g. ~3KB for an arm64 defconfig plus extras:
   text	   data	    bss	    dec	    hex	filename
13051391	1503898	 327768	14883057	 e318f1	vmlinux.o.old
13050751	1503898	 327768	14882417	 e31671	vmlinux.o.new
Give the compiler a hand by making it clear we want the same ops.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
