public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Harvey Harrison <harvey.harrison@gmail.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Ingo Molnar <mingo@elte.hu>, Yinghai Lu <yhlu.kernel@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: about relocs.c on x86
Date: Thu, 31 Jan 2008 02:44:08 -0800	[thread overview]
Message-ID: <1201776248.23523.29.camel@brick> (raw)
In-Reply-To: <20080131103842.GA550@uranus.ravnborg.org>

On Thu, 2008-01-31 at 11:38 +0100, Sam Ravnborg wrote:
> > 
> > no strong opinion from me - but i think it should be obvious to the 
> > developer when they are looking at a .c file that it's 32-bit only (or 
> > 64-bit only). I.e. the default is that whatever .c file we look at is 
> > unified - and in that sense relocs.c breaks that general expectation.
> 
> I for one would like to see when stuff is 32 bit only and when
> shared across 32 and 64 bit. 
> And this type of info is useful when I do greps so hiding the information
> in a Makefiel is then no good.
> 
> It helps your understanding when you get the most correct picture of
> where a certain symbol is used - a functionality I often need.
> And this is by no menas limited to a narrow x86 view but across
> the full kernel.
> 
> So I, and this is no news for Ingo, would like to see what is
> solely for 32 bit to be marked as such.

Consider me outnumbered then, no worries.

> 
> And we are heading with full speed to the situation for x86 where
> the number of foo_32.c, foo_64.c are minimal.
> But that said we will likely see a small decrease in speed now.

Well, we're doing our best ;-)

> 
> As for the Makefiles - I looked at them last time and only
> issue that kept me away for unifying them was that I did
> not understand the linking order requirments and I did not see
> enough benefit at that time to invest the time to unify them.
> Each of the remaining Makefile should be unifyable in less
> than 10 steps each. It is just work that are waitng to be done.

The continued unification will probably make this obvious over time
anyway.

Cheers,

Harvey


  reply	other threads:[~2008-01-31 10:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  8:07 about relocs.c on x86 Yinghai Lu
2008-01-31  8:33 ` Chris Snook
2008-01-31  9:13   ` Yinghai Lu
2008-01-31  9:17     ` Chris Snook
2008-01-31  9:52 ` Ingo Molnar
2008-01-31 10:02   ` Harvey Harrison
2008-01-31 10:11     ` Ingo Molnar
2008-01-31 10:21       ` Harvey Harrison
2008-01-31 10:38       ` Sam Ravnborg
2008-01-31 10:44         ` Harvey Harrison [this message]
2008-01-31 12:04         ` Ingo Molnar
2008-01-31 17:47       ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1201776248.23523.29.camel@brick \
    --to=harvey.harrison@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sam@ravnborg.org \
    --cc=tglx@linutronix.de \
    --cc=yhlu.kernel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox