Re: [PATCH 16/20] x86: align to clflush size
From: Ingo Molnar
Date: Wed Mar 26 2008 - 03:10:27 EST
* Glauber Costa <gcosta@xxxxxxxxxx> wrote:
> /* no easy way to get cache size on all x86, so return the
> * maximum possible, to be safe */
> - return (1 << INTERNODE_CACHE_SHIFT);
> + return boot_cpu_data.x86_clflush_size;
please update the comment too. (just add a delta patch to your next
series)
Ingo
--
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/