Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1666024

Re: [PATCH v2 03/10] x86/mm: Give each mm TLB flush generation a unique ID

From Dave Hansen <dave.hansen@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 03/10] x86/mm: Give each mm TLB flush generation a unique ID
Date 2017-06-14 18:00 +0200
Message-ID <tSiS6-75d-13@gated-at.bofh.it> (permalink)
References <tS8zn-C4-9@gated-at.bofh.it> <tS8zo-C4-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/13/2017 09:56 PM, Andy Lutomirski wrote:
>  typedef struct {
> +	/*
> +	 * ctx_id uniquely identifies this mm_struct.  A ctx_id will never
> +	 * be reused, and zero is not a valid ctx_id.
> +	 */
> +	u64 ctx_id;

Ahh, and you need this because an mm itself might get reused by being
freed and reallocated?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 03/10] x86/mm: Give each mm TLB flush generation a unique ID Andy Lutomirski <luto@kernel.org> - 2017-06-14 07:00 +0200
  Re: [PATCH v2 03/10] x86/mm: Give each mm TLB flush generation a  unique ID Dave Hansen <dave.hansen@intel.com> - 2017-06-14 18:00 +0200
    Re: [PATCH v2 03/10] x86/mm: Give each mm TLB flush generation a  unique ID Andy Lutomirski <luto@kernel.org> - 2017-06-14 19:20 +0200

csiph-web