Re: [PATCH v7 8/8] x86/tlb: just do tlb flush on one of siblingsof SMT

From: Arjan van de Ven
Date: Thu May 24 2012 - 20:47:28 EST


On
> As my limited knowledge, rewrite cr3 or invlpg will flush all levels TLB
> entries in CPU. So, what's you mean of 'HAVE to flush all'?

neither of these will flush global tlb entries.

(see the "global" bit in the page table format)


--
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/