netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Introduce and use printk pointer extension %pV
@ 2010-06-27 11:02 Joe Perches
  2010-06-27 11:02 ` [PATCH 1/4] vsprintf: Recursive vsnprintf: Add "%pV", struct va_format Joe Perches
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Joe Perches @ 2010-06-27 11:02 UTC (permalink / raw)
  To: Andrew Morton, David Miller; +Cc: linux-kernel, netdev

Recursive printk can reduce the total image size of an x86 defconfig about 1% 
by reducing duplicated KERN_<level> strings and centralizing the functions
used by macros in new separate functions.

Joe Perches (4):
  vsprintf: Recursive vsnprintf: Add "%pV", struct va_format
  device.h drivers/base/core.c Convert dev_<level> logging macros to functions
  netdevice.h net/core/dev.c: Convert netdev_<level> logging macros to functions
  netdevice.h: Change netif_<level> macros to call netdev_<level> functions

 drivers/base/core.c       |   64 +++++++++++++++++++++++++
 include/linux/device.h    |  112 ++++++++++++++++++++++++++++++++++----------
 include/linux/kernel.h    |    5 ++
 include/linux/netdevice.h |   56 ++++++++++++----------
 lib/vsprintf.c            |    9 ++++
 net/core/dev.c            |   62 +++++++++++++++++++++++++
 6 files changed, 256 insertions(+), 52 deletions(-)


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

end of thread, other threads:[~2010-07-04 17:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-27 11:02 [PATCH 0/4] Introduce and use printk pointer extension %pV Joe Perches
2010-06-27 11:02 ` [PATCH 1/4] vsprintf: Recursive vsnprintf: Add "%pV", struct va_format Joe Perches
2010-06-27 11:02 ` [PATCH 2/4] device.h drivers/base/core.c Convert dev_<level> logging macros to functions Joe Perches
2010-06-27 11:02 ` [PATCH 3/4] netdevice.h net/core/dev.c: Convert netdev_<level> " Joe Perches
2010-06-27 11:02 ` [PATCH 4/4] netdevice.h: Change netif_<level> macros to call netdev_<level> functions Joe Perches
2010-06-30 20:07 ` [PATCH 0/4] Introduce and use printk pointer extension %pV David Miller
2010-07-03  5:32   ` David Miller
2010-07-03 16:08     ` Greg KH
2010-07-04 17:40       ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).