lkml.org 
[lkml]   [2003]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Support worst case cache line sizes as config option
On Mon, Apr 28, 2003 at 11:16:16AM +0200, Adrian Bunk wrote:
> Your X86_GENERIC is semantically equivalent to M386.

M386 is tuning for the Intel 386

X86_GENERIC is "try to tune for all CPUs if possible"

> This doesn't work. E.g. MPENTIUMIII has the semantics of "support
> Pentium-III and above". If you want to compile a kernel that runs on
> both a Pentium-III and a Pentium-4 you choose MPENTIUMIII which implies
> X86_L1_CACHE_SHIFT=5 ...

Admittedly the other options could be changed to

default "4" if (MELAN || M486 || M386) && !X86_GENERIC

but that looked a bit too ugly and it seems to work even without.


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

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.043 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site