public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jaswinder Singh Rajput <jaswinder@kernel.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Vegard Nossum <vegard.nossum@gmail.com>,
	Sam Ravnborg <sam@ravnborg.org>, x86 maintainers <x86@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -tip] x86: cpu/intel.c cleanup
Date: Sat, 14 Mar 2009 23:35:03 +0530	[thread overview]
Message-ID: <1237053903.3144.11.camel@localhost.localdomain> (raw)
In-Reply-To: <20090314170445.GF31930@elte.hu>

On Sat, 2009-03-14 at 18:04 +0100, Ingo Molnar wrote:
> * Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:
> 
> > On Sat, 2009-03-14 at 16:31 +0100, Ingo Molnar wrote:
> > > > 
> > > > I don't really like this change (last hunk). Doesn't it seem a 
> > > > bit pointless? It breaks the symmetry with the masked CPUID 
> > > > levels at the beginning of the function. If somebody wants to 
> > > > add something else to this function, it might have to be 
> > > > reindented again. Or is there a problem with too long lines 
> > > > here?
> > > 
> > > yes, it would be cleaner to put the whole family 15 branch into 
> > > a helper inline function instead.
> > > 
> > 
> > OK, better I keep it unchanged :-)
> 
> Why not implement the cleanup i suggested?

I followed your approached and made new helper function. But the result
was same, in that helper function I have to check for family 15 and rest
of things. So I found nothing was gained, So I again reverted it and
provided you this patch.

Thanks,
--
JSR


  reply	other threads:[~2009-03-14 18:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 12:41 [PATCH -tip] x86: cpu/intel.c cleanup Jaswinder Singh Rajput
2009-03-14 13:11 ` Sam Ravnborg
2009-03-14 13:20   ` Ingo Molnar
2009-03-14 13:37     ` Jaswinder Singh Rajput
2009-03-14 14:00       ` Vegard Nossum
2009-03-14 15:31         ` Ingo Molnar
2009-03-14 16:04           ` Jaswinder Singh Rajput
2009-03-14 17:04             ` Ingo Molnar
2009-03-14 18:05               ` Jaswinder Singh Rajput [this message]
2009-03-15  5:55                 ` Ingo Molnar
2009-03-14 13:21   ` Jaswinder Singh Rajput

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=1237053903.3144.11.camel@localhost.localdomain \
    --to=jaswinder@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sam@ravnborg.org \
    --cc=vegard.nossum@gmail.com \
    --cc=x86@kernel.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