On Tue, Sep 06, 2005 at 01:16:28AM +0200, Andi Kleen wrote:
> On Sat, Sep 03, 2005 at 02:33:30PM -0700, [email protected] wrote:
> >
> > From: Ashok Raj <[email protected]>
> >
> > Newly introduced physflat_* shares way too much with cluster with only a very
> > differences. So we introduce some common functions in that can be reused in
> > both cases.
> >
> > In addition the following are also fixed.
> > - Use of non-existent CONFIG_CPU_HOTPLUG option renamed to actual one in use.
> > - Removed comment that ACPI would provide a way to select this dynamically
> > since ACPI_CONFIG_HOTPLUG_CPU already exists that indicates platform support
> > for hotplug via ACPI. In addition CONFIG_HOTPLUG_CPU only indicates logical
> > offline/online which is even used by Suspend/Resume folks where the same
> > support (for no-broadcast) is required.
>
>
> (hmm did I reply to that? I think I did but my mailer seems to have
> lost the r flag. My apologies if it's a duplicate)
>
> I didn't like that one because it makes the code less readable than
> before imho. I did a separate patch for the CPU_HOTPLUG typo.
The code is less readable? Now iam confused. Attached the link to patch
below to refresh your memory.
http://marc.theaimsgroup.com/?l=linux-kernel&m=112293577309653&w=2
diffstat would show we have fewer lines ~40 less lines of code. physflat
basicaly copied/cloned some useful code in cluster and some from flat mode
genapic code.
I would have consolidated the code in the first place when you put the physflat
mode. Again this was just my habit, cant step over code bloat and duplication.
Which part of the code is unreadable to you? If you are happy with just renamed
functions with copied body of the code which is what physflat did, thats fine.
I was just puzzeled at the convoluted and less readable part of the code. If
there is something you like to point out, i would be happy to fix it.. or you
can if you prefer it that way.
--
Cheers,
Ashok Raj
- Open Source Technology Center
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|