lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1362195455.1231.74.camel@gandalf.local.home>
Date:	Fri, 01 Mar 2013 22:37:35 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Li Zefan <lizefan@...wei.com>
Cc:	Frederic Weisbecker <fweisbec@...il.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/4] tracing: Add a helper function for event print
 functions

On Thu, 2013-02-21 at 10:32 +0800, Li Zefan wrote:
> Move duplicate code in event print functions to a helper function.
> 
> This shrinks the size of the kernel by ~13K.
> 
>    text    data     bss     dec     hex filename
> 6596137 1743966 10138672        18478775        119f6b7 vmlinux.o.old
> 6583002 1743849 10138672        18465523        119c2f3 vmlinux.o.new

Nice! I just tried it out and got:

   text    data     bss     dec     hex filename
7747813 1673816 1503232 10924861         a6b33d vmlinux.old
7715443 1673560 1499136 10888139         a623cb vmlinux.new

Of course I have a lot of debugging enabled at the moment, which
probably exaggerates these numbers a bit. But still, 36K in savings is
nice for even a debug kernel :-)

I'll start beating on this patch for a bit, and will most likely add it
to my v3.10 queue.

Thanks!

-- Steve


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ