From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [patch 1/2] x86, x2apic: minimize IPI register writes using cluster groups v4
Date: Tue, 03 May 2011 10:59:45 +0400 [thread overview]
Message-ID: <4DBFA7E1.5090501@gmail.com> (raw)
In-Reply-To: <20110503063130.GC7751@elte.hu>
On 05/03/2011 10:31 AM, Ingo Molnar wrote:
>
> * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
>
>> On 05/02/2011 07:05 PM, Ingo Molnar wrote:
>> ...
>>>>
>>>> Ingo, would it be fine to make apic->init() either _before_ this series or
>>>> on top of them (because if I introduce it inside this particular patch it
>>>> would contain some unrelated code snippets such as .init = NULL for all apics
>>>> declaration).
>>>
>>> Of course it should be a separate patch - even this patch looks a bit large -
>>> any way to split it up further?
>>
>> Well, for this particular path the only minimum is used, so i fear there is no
>> way to split it, probably I could drop some 'cleanup' bits from it and make it
>> a separate one. Gimme some time.
>
> Well, first try to do *all* preparatory and cleanup changes that have low
> regression risk.
OK
>
> *Then* keep the most dangerous part to the end of it - so that it's easily
> reverted, should the need arise. Preferably the dangerous part should be much
> smaller than:
>
> 3 files changed, 136 insertions(+), 46 deletions(-)
>
> And no, it is not at all true that there is 'no way' to split the patch up any
> further: you could certainly add the data structures, init methods and such
> support code (which is low regression risk) in a separate patch than the
> changes that modify the existing x2apic_send_IPI_mask_allbutself() function and
> such.
OK
>
> Also, the loop body in the new __x2apic_send_IPI_mask() function could
> certainly be split out into a helper inline, making the code flow clearer.
OK, will try so, thanks Ingo!
>
> Thanks,
>
> Ingo
--
Thanks,
Cyrill
next prev parent reply other threads:[~2011-05-03 6:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 11:34 [patch 0/2] x2apic optimization, v4 log updated Cyrill Gorcunov
2011-05-02 11:34 ` [patch 1/2] x86, x2apic: minimize IPI register writes using cluster groups v4 Cyrill Gorcunov
2011-05-02 13:22 ` Ingo Molnar
2011-05-02 14:02 ` Cyrill Gorcunov
2011-05-02 14:23 ` Cyrill Gorcunov
2011-05-02 15:05 ` Ingo Molnar
2011-05-02 15:16 ` Cyrill Gorcunov
2011-05-03 6:31 ` Ingo Molnar
2011-05-03 6:59 ` Cyrill Gorcunov [this message]
2011-05-02 18:27 ` Suresh Siddha
2011-05-02 11:34 ` [patch 2/2] x86, x2apic: Move the common bits of physical and cluster modes to x2apic.h v4 Cyrill Gorcunov
-- strict thread matches above, loose matches on Subject: below --
2011-04-30 17:14 [patch 0/2] x2apic optimization, round 4 Cyrill Gorcunov
2011-04-30 17:15 ` [patch 1/2] x86, x2apic: minimize IPI register writes using cluster groups v4 Cyrill Gorcunov
2011-05-01 17:18 ` Ingo Molnar
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=4DBFA7E1.5090501@gmail.com \
--to=gorcunov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=suresh.b.siddha@intel.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