Re: [RFC 04/10] x86/mm: Pass flush_tlb_info to flush_tlb_others() etc

2017-05-11 Thread Andy Lutomirski
On Thu, May 11, 2017 at 1:01 PM, Nadav Amit wrote: > >> On May 7, 2017, at 5:38 AM, Andy Lutomirski wrote: >> >> @@ -243,15 +237,15 @@ static void flush_tlb_func(void *info) >> return; >> } >> >> - if (f->flush_end == TLB_FLUSH_ALL) { >> + if (f->end == TLB_FLUSH_ALL)

Re: [RFC 04/10] x86/mm: Pass flush_tlb_info to flush_tlb_others() etc

2017-05-11 Thread Nadav Amit
> On May 7, 2017, at 5:38 AM, Andy Lutomirski wrote: > > @@ -243,15 +237,15 @@ static void flush_tlb_func(void *info) > return; > } > > - if (f->flush_end == TLB_FLUSH_ALL) { > + if (f->end == TLB_FLUSH_ALL) { > local_flush_tlb(); > trace_

[RFC 04/10] x86/mm: Pass flush_tlb_info to flush_tlb_others() etc

2017-05-07 Thread Andy Lutomirski
Rather than passing all the contents of flush_tlb_info to flush_tlb_others(), pass a pointer to the structure directly. For consistency, this also removes the unnecessary cpu parameter from uv_flush_tlb_others() to make its signature match the other *flush_tlb_others() functions. This serves two p