public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH V2 0/1] making order in file2alias
@ 2011-12-01 23:45 Alessandro Rubini
  2011-12-01 23:45 ` [PATCH V2 1/1] modpost: use table-lookup to build module aliases Alessandro Rubini
  2011-12-02  0:03 ` [RFC PATCH V2 0/1] making order in file2alias Greg KH
  0 siblings, 2 replies; 8+ messages in thread
From: Alessandro Rubini @ 2011-12-01 23:45 UTC (permalink / raw)
  To: linux-kernel, greg, rusty; +Cc: siglesia, manohar.vanga, dave.martin

(this message is the RFC, the patch itself is expected to be fine)

This is a repost of what I've sent on Nov 4th.  Since Rusty asked to
only do the first step, here it is.  I rebased on next-20111201 and it
still works fine.

As for the previous 2/2 (see https://lkml.org/lkml/2011/11/4/127 ),
I still think it makes sense. And as Dave Martin suggested, we can
do without the array.

Thus, I may prepare three smaller steps, if that's acceptable (greg?)

  step 1: create the ELF section so ENTRY() lines can leave the array
          (and change name accordingly).

  step 2: each ENTRY() line can be moved just after the associated code
          (this means that a new bus is just a single hunk, not 2 of them)

  step 3: I create the headers needed to move code and ENTRY in separate
          files. This is some movement around, not trivial so it may
          deserve a patch in itself.

  step 4 and later ones: Individual busses may reach their own external file,
         conditionally compiled per Kconfig rules.

If that's something worth evaluating, I can do that over the weekend.

thanks
/alessandro

Alessandro Rubini (1):
  modpost: use table-lookup to build module aliases

 scripts/mod/file2alias.c |  166 +++++++++++++++++-----------------------------
 1 files changed, 60 insertions(+), 106 deletions(-)

-- 
1.7.7.2

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

end of thread, other threads:[~2011-12-04 10:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 23:45 [RFC PATCH V2 0/1] making order in file2alias Alessandro Rubini
2011-12-01 23:45 ` [PATCH V2 1/1] modpost: use table-lookup to build module aliases Alessandro Rubini
2011-12-02  0:04   ` Greg KH
2011-12-02  0:03 ` [RFC PATCH V2 0/1] making order in file2alias Greg KH
2011-12-02  2:46   ` Rusty Russell
2011-12-02  8:42     ` Alessandro Rubini
2011-12-02 19:27       ` Greg KH
2011-12-03  4:51         ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox