| From: |
| Joe Perches <joe@perches.com> |
| To: |
| Andrew Morton <akpm@linux-foundation.org>,
David Miller <davem@davemloft.net> |
| Subject: |
| [PATCH 0/4] Introduce and use printk pointer extension %pV |
| Date: |
| Sun, 27 Jun 2010 04:02:32 -0700 |
| Message-ID: |
| <cover.1277636090.git.joe@perches.com> |
| Cc: |
| linux-kernel@vger.kernel.org, netdev@vger.kernel.org |
| Archive-link: |
| Article, Thread
|
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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/