On Tue, 20 Jun 2017, Andy Lutomirski wrote: > This adds two new variables to mmu_context_t: ctx_id and tlb_gen. > ctx_id uniquely identifies the mm_struct and will never be reused. > For a given mm_struct (and hence ctx_id), tlb_gen is a monotonic > count of the number of times that a TLB flush has been requested. > The pair (ctx_id, tlb_gen) can be used as an identifier for TLB > flush actions and will be used in subsequent patches to reliably > determine whether all needed TLB flushes have occurred on a given > CPU. > > This patch is split out for ease of review. By itself, it has no > real effect other than creating and updating the new variables.
Thanks for splitting this apart! > > Signed-off-by: Andy Lutomirski <l...@kernel.org> Reviewed-by: Thomas Gleixner <t...@linutronix.de>