Re: [patch 1/4] Linux Kernel Markers - Architecture Independent Code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: Frank Ch. Eigler <fche@...>, Christoph Hellwig <hch@...>, Rusty Russell <rusty@...>, <akpm@...>, <linux-kernel@...>
Date: Wednesday, September 19, 2007 - 1:32 pm

On Wednesday 19 September 2007 12:37, Mathieu Desnoyers wrote:

Yes.

It will be beneficial if one can read include/asm-generic/vmlinux.lds.h and
arch/$ARCH/kernel/vmlinux.lds.S and understand which sections in resulting
vmlinux serve what purpose. A comment atop each section explaining
its role will be nice. Even more so that not many people are fluent
in ld script language.

Currently, one will need to grep around (and not only in kernel tree -
you need to read depmod.c source too) in order to understand the role
of various sections in vmlinux.

There are dearth of comments in ld scripts, and some sections
are created "just because I felt like it". For example, there are
".data.page_aligned" and ".data.percpu" sections - can you
easily tell which one has to be a section, and which does not need
to be one (can be merged with ".data")? Maybe both must be sections?
Or none of them?
--
vda
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/4] Linux Kernel Markers - Architecture Independent ..., Mathieu Desnoyers, (Tue Sep 18, 5:13 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Fri Sep 21, 9:45 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Wed Sep 19, 7:37 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Fri Sep 21, 8:58 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Fri Sep 21, 9:38 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Mon Oct 15, 7:12 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Thu Oct 25, 3:17 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Frank Ch. Eigler, (Fri Oct 26, 10:28 am)
[PATCH] markers: modpost, Roland McGrath, (Wed Oct 31, 9:06 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Wed Oct 31, 10:46 pm)
Re: [PATCH] markers: modpost, Roland McGrath, (Thu Nov 1, 5:37 am)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Thu Nov 1, 7:24 am)
Re: [PATCH] markers: modpost, David Smith, (Thu Nov 8, 3:31 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Thu Nov 8, 3:36 pm)
Re: [PATCH] markers: modpost, David Smith, (Fri Nov 9, 12:36 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Sun Nov 11, 7:24 pm)
Re: [PATCH] markers: modpost, David Smith, (Thu Nov 8, 3:45 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Christoph Hellwig, (Fri Sep 21, 9:07 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Denys Vlasenko, (Wed Sep 19, 1:32 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Wed Sep 19, 2:46 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Wed Sep 19, 2:50 pm)