Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1666081
| From | Andy Lutomirski <luto@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 03/10] x86/mm: Give each mm TLB flush generation a unique ID |
| Date | 2017-06-14 19:20 +0200 |
| Message-ID | <tSk7v-80S-11@gated-at.bofh.it> (permalink) |
| References | <tS8zn-C4-9@gated-at.bofh.it> <tS8zo-C4-15@gated-at.bofh.it> <tSiS6-75d-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 14, 2017 at 8:54 AM, Dave Hansen <dave.hansen@intel.com> wrote:
> 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?
Exactly. I didn't want to have to zap the data structures on each CPU
every time an mm is freed.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll 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