Re: [PATCH v3 11/11] x86/mm: Try to preserve old TLB entries using PCID

From: Nadav Amit
Date: Thu Jun 22 2017 - 12:10:34 EST


Andy Lutomirski <luto@xxxxxxxxxx> wrote:

>
> --- a/arch/x86/mm/init.c
> +++ b/arch/x86/mm/init.c
> @@ -812,6 +812,7 @@ void __init zone_sizes_init(void)
>
> DEFINE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate) = {
> .loaded_mm = &init_mm,
> + .next_asid = 1,

I think this is a remainder from previous version of the patches, no? It
does not seem necessary and may be confusing (ctx_id 0 is reserved, but not
asid 0).

Other than that, if you want, you can put for the entire series:

Reviewed-by: Nadav Amit <nadav.amit@xxxxxxxxx>