From: ebiederm@xmission.com (Eric W. Biederman)
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Yinghai Lu <yinghai.lu@amd.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
Andi Kleen <ak@suse.de>
Subject: Re: [PATCH] x86_64 irq: keep consistent for changing IRQ0_VECTOR from 0x20 to 0x30
Date: Wed, 07 Mar 2007 11:13:34 -0700 [thread overview]
Message-ID: <m1irdcdir5.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0703061942000.5963@woody.linux-foundation.org> (Linus Torvalds's message of "Tue, 6 Mar 2007 19:43:50 -0800 (PST)")
Linus Torvalds <torvalds@linux-foundation.org> writes:
> On Mon, 5 Mar 2007, Yinghai Lu wrote:
>>
>> please check the patch
>
> Hmm.. It doesn't look *wrong*, but could you please
>
> - split it up a bit (some of it is 100% obvious, ie the comment fixes)
>
> - write an explanation for the individually split up patches
>
> - not use attachments, but just make it inline. It's practically
> impossible to reply and quote part of the patch now.
>
> Eric/Ingo - did you go through and check the patch?
This patch will probably work but I'm against it, as is.
The comment fixes or some variation on them are needed.
But code that assumes we place IRQ0 at a particular place isn't
exactly bad but it is brittle. If we are to reduce our array size
we can also shave a lot of entries off the top because we mostly use
the high end of the vector range for IPI's.
So if we were to introduce some set of defines of exactly which
vectors we can use and do a thorough job of this I think there may
be something reasonable we can do here.
Unless this makes the code clearer I don't think there is much point
in reducing a fixed sized array from 224 entries to 191 entries, and
it has the potential to make this much less pleasant if we goof up
elsewhere.
Eric
next prev parent reply other threads:[~2007-03-07 18:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-06 7:59 [PATCH] x86_64 irq: keep consistent for changing IRQ0_VECTOR from 0x20 to 0x30 Yinghai Lu
2007-03-07 3:43 ` Linus Torvalds
2007-03-07 18:13 ` Eric W. Biederman [this message]
2007-03-29 4:48 ` Yinghai Lu
2007-03-29 5:10 ` Eric W. Biederman
2007-03-29 10:13 ` Andi Kleen
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=m1irdcdir5.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@linux-foundation.org \
--cc=yinghai.lu@amd.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