[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-07-31 Thread Dave Hansen
From: Dave Hansen The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste versions. It also gives us a

[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-07-31 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste

[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-07-01 Thread Dave Hansen
From: Dave Hansen The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste versions. It also gives us a

[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-07-01 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste

[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-10 Thread Dave Hansen
From: Dave Hansen The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste versions. It also gives us a

[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-10 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste

Re: [PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-06 Thread Davidlohr Bueso
On Thu, 2014-03-06 at 16:16 -0800, Davidlohr Bueso wrote: > On Wed, 2014-03-05 at 16:45 -0800, Dave Hansen wrote: > > From: Dave Hansen > > > > The > > > > if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids) > > > > line of code is not exactly the easiest to audit,

Re: [PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-06 Thread Davidlohr Bueso
On Wed, 2014-03-05 at 16:45 -0800, Dave Hansen wrote: > From: Dave Hansen > > The > > if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids) > > line of code is not exactly the easiest to audit, especially when > it ends up at two different indentation levels. This

Re: [PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-06 Thread Davidlohr Bueso
On Wed, 2014-03-05 at 16:45 -0800, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation

Re: [PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-06 Thread Davidlohr Bueso
On Thu, 2014-03-06 at 16:16 -0800, Davidlohr Bueso wrote: On Wed, 2014-03-05 at 16:45 -0800, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) nr_cpu_ids) line of code is not exactly the easiest to

[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-05 Thread Dave Hansen
From: Dave Hansen The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) < nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste versions. It also gives us a

[PATCH 1/7] x86: mm: clean up tlb flushing code

2014-03-05 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The if (cpumask_any_but(mm_cpumask(mm), smp_processor_id()) nr_cpu_ids) line of code is not exactly the easiest to audit, especially when it ends up at two different indentation levels. This eliminates one of the the copy-n-paste