public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@ftp.linux.org.uk>
To: Roman Zippel <zippel@linux-m68k.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
	linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org
Subject: Re: [PATCH 3/3] m68k: compile fix - updated vmlinux.lds to include LOCK_TEXT
Date: Thu, 15 Dec 2005 16:19:31 +0000	[thread overview]
Message-ID: <20051215161931.GW27946@ftp.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.61.0512151408560.1605@scrub.home>

On Thu, Dec 15, 2005 at 02:12:34PM +0100, Roman Zippel wrote:
> Hi,
> 
> On Thu, 15 Dec 2005, Al Viro wrote:
> 
> > [rz: BTW, proposed variant of thread_info patchset is available for review,
> > see ftp.linux.org.uk/pub/people/viro/task_thread_info-mbox...
> 
> BTW please fix the comment in the last patch, {get,put}_thread_info() 
> didn't come from the m68k tree, so don't blame it for this stuff.
> The thread_info stuff went through a number changes during 2.5.xx and it's 
> a leftover from this.

<goes to check history>

My apologies - that junk predates the events I'd been thinking about.
The rest of comments still stands - it was never used since the moment
of introduction...

Speaking of hardirq.h - come on; even argument about check being not
in the same place where the value is defined...

* we compare NR_IRQS and HARDIRQ_BITS
* one of them is defined in irq.h, another - in hardirq.h
* due to current header ordering, comparison works in irq.h and not in
hardirq.h
* if you change that ordering (which is a *big* patchset, even if you
manage to keep it with zero impact on other architectures) so that check
can go in either place, you can always put it into the place where it
would make more sense in new header ordering; it's not going to be make
patch heavier.

IMO for now it's a no-brainer - compile fix that moves comparison to the
place where another side of comparison is defined  vs.  header ordering
rework...  Sorry.

  reply	other threads:[~2005-12-15 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15  9:00 [PATCH 3/3] m68k: compile fix - updated vmlinux.lds to include LOCK_TEXT Al Viro
2005-12-15 12:49 ` Roman Zippel
2005-12-15 13:12 ` Roman Zippel
2005-12-15 16:19   ` Al Viro [this message]
2005-12-19 15:18     ` Roman Zippel

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=20051215161931.GW27946@ftp.linux.org.uk \
    --to=viro@ftp.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=zippel@linux-m68k.org \
    /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