lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080410101408.GA12853@elte.hu>
Date:	Thu, 10 Apr 2008 12:14:11 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	astarikovskiy@...e.de, len.brown@...el.com,
	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>
Subject: Re: mpparse merge


(Cc:-ing lkml because obviously others are interested in this topic too)

* Andi Kleen <andi@...stfloor.org> wrote:

> Refering to 
> 
> commit 9d92083afb7cabe86c166dce9cc569eabbbd6f99
> Author: Alexey Starikovskiy <astarikovskiy@...e.de>
> Date:   Fri Apr 4 23:43:18 2008 +0400
> 
>     x86: merge mpparse_{32,64}.c
> 
> in linux-next.
> 
> About half of the ifdefs seem to be because 32bit does irq compression 
> and 64bit does not. Len removed that at some point, but when the files 
> are merged I would rather just readd 64bit irq compression (or move 
> 64bit over to per cpu vectors) than have this ifdef jungle

the way Alexey did it is the safest way of doing unifications: keep it 
simple and finegrained first, keep the more complex steps to later. We 
try to stick to that even if there's a temporary jungle of #ifdefs. In a 
related discussion (which was unfortunately private too so no URLs) you 
suggested to Alexey to redesign the mp-parsing code first, then unify 
it. That's the worst possible approach to unification and i advise 
everyone against doing it that way. I very much agree with unifying irq 
vector management - it's not a simple task at all.

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ