mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] deinline some DMA functions
@ 2015-04-13 11:54 Denys Vlasenko
  2015-04-13 11:54 ` [PATCH 1/4] x86: deinline dma_alloc_attrs() Denys Vlasenko
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Denys Vlasenko @ 2015-04-13 11:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: Denys Vlasenko

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-05 19:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13 11:54 [PATCH 0/4] deinline some DMA functions Denys Vlasenko
2015-04-13 11:54 ` [PATCH 1/4] x86: deinline dma_alloc_attrs() Denys Vlasenko
2015-05-05 19:22   ` [tip:x86/cleanups] x86: Deinline dma_alloc_attrs() tip-bot for Denys Vlasenko
2015-04-13 11:54 ` [PATCH 2/4] x86: deinline dma_free_attrs() Denys Vlasenko
2015-05-05 19:22   ` [tip:x86/cleanups] x86: Deinline dma_free_attrs() tip-bot for Denys Vlasenko
2015-04-13 11:54 ` [PATCH 3/4] deinline dma_map_single_attrs() Denys Vlasenko
2015-04-13 11:54 ` [PATCH 4/4] deinline dma_unmap_single_attrs() Denys Vlasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome