Re: [PATCH 4/5] x86, cacheinfo: Make L3 cache info per node

From: H. Peter Anvin
Date: Wed Apr 21 2010 - 16:47:13 EST


On 04/15/2010 09:41 AM, Borislav Petkov wrote:
> +
> +/* max 8 nodes on a system */
> +static struct amd_l3_cache * __cpuinitdata l3_caches[8];
> +

This makes me very nervous. Where does this limit come from? It
appears completely arbitrary and seems like begging for problems in the
future.

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