Re: [kvm-devel] [PATCH 16/20] x86: align to clflush size

2008-03-26 Thread Ingo Molnar
* Glauber Costa <[EMAIL PROTECTED]> 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 pa

[kvm-devel] [PATCH 16/20] x86: align to clflush size

2008-03-25 Thread Glauber Costa
Do it instead of using the conservative approach we're currently doing. This is the way x86_64 does, and this patch makes this piece of code the same between them, ready to be integrated Signed-off-by: Glauber Costa <[EMAIL PROTECTED]> --- include/asm-x86/dma-mapping_32.h |2 +- 1 files chang