[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1362196127.1231.76.camel@gandalf.local.home>
Date: Fri, 01 Mar 2013 22:48:47 -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 3/4] tracing: Annotate event field-defining functions
with __init
On Thu, 2013-02-21 at 10:33 +0800, Li Zefan wrote:
> Those functions are called either during kernel boot or module init.
>
> Before:
>
> $ dmesg | grep 'Freeing unused kernel memory'
> Freeing unused kernel memory: 1208k freed
> Freeing unused kernel memory: 1360k freed
> Freeing unused kernel memory: 1960k freed
>
> After:
>
> $ dmesg | grep 'Freeing unused kernel memory'
> Freeing unused kernel memory: 1236k freed
> Freeing unused kernel memory: 1388k freed
> Freeing unused kernel memory: 1960k freed
Also nice :-)
Here's my numbers (again with lots of debug enabled):
old:
[ 0.027087] Freeing SMP alternatives: 12k freed
[ 6.835298] Freeing initrd memory: 8004k freed
[ 18.820837] Freeing unused kernel memory: 1092k freed
[ 18.838487] Freeing unused kernel memory: 1456k freed
[ 18.850665] Freeing unused kernel memory: 1544k freed
new:
[ 0.025087] Freeing SMP alternatives: 12k freed
[ 6.775349] Freeing initrd memory: 8004k freed
[ 18.753519] Freeing unused kernel memory: 1144k freed
[ 18.771447] Freeing unused kernel memory: 1508k freed
[ 18.783637] Freeing unused kernel memory: 1544k freed
Lets hope these pass all my tests.
-- 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