[PATCH 0/4] deinline some DMA functions

From: Denys Vlasenko
Date: Mon Apr 13 2015 - 07:54:57 EST


Collectively, deinlining these four functions reduces
vmlinux by 215665 bytes on allyesconfig build:

text data bss dec hex filename
82662736 22255384 20627456 125545576 77bac68 vmlinux0
82447071 22255384 20627456 125329911 77861f7 vmlinux4

Denys Vlasenko (4):
x86: deinline dma_alloc_attrs()
x86: deinline dma_free_attrs()
deinline dma_map_single_attrs()
deinline dma_unmap_single_attrs()

arch/x86/include/asm/dma-mapping.h | 46 ++++---------------------------
arch/x86/kernel/pci-dma.c | 45 ++++++++++++++++++++++++++++++
include/asm-generic/dma-mapping-common.h | 40 ++++++---------------------
kernel/Makefile | 3 +-
kernel/dma-mapping-common.c | 47 ++++++++++++++++++++++++++++++++
5 files changed, 108 insertions(+), 73 deletions(-)
create mode 100644 kernel/dma-mapping-common.c

--
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/