[PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

2014-03-10 Thread Dave Hansen
From: Dave Hansen Most of the logic here is in the documentation file. Please take a look at it. I know we've come full-circle here back to a tunable, but this new one is *WAY* simpler. I challenge anyone to describe in one sentence how the old one worked. Here's the way the new one works:

[PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

2014-03-10 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com Most of the logic here is in the documentation file. Please take a look at it. I know we've come full-circle here back to a tunable, but this new one is *WAY* simpler. I challenge anyone to describe in one sentence how the old one worked. Here's

Re: [PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

2014-03-07 Thread Dave Hansen
On 03/06/2014 05:37 PM, Davidlohr Bueso wrote: > On Wed, 2014-03-05 at 16:45 -0800, Dave Hansen wrote: >> From: Dave Hansen >> + >> +If you believe that invlpg is being called too often, you can >> +lower the tunable: >> + >> +/sys/debug/kernel/x86/tlb_single_page_flush_ceiling >> + > >

Re: [PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

2014-03-07 Thread Dave Hansen
On 03/06/2014 05:37 PM, Davidlohr Bueso wrote: On Wed, 2014-03-05 at 16:45 -0800, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com + +If you believe that invlpg is being called too often, you can +lower the tunable: + +/sys/debug/kernel/x86/tlb_single_page_flush_ceiling

Re: [PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

2014-03-06 Thread Davidlohr Bueso
On Wed, 2014-03-05 at 16:45 -0800, Dave Hansen wrote: > From: Dave Hansen > + > +If you believe that invlpg is being called too often, you can > +lower the tunable: > + > + /sys/debug/kernel/x86/tlb_single_page_flush_ceiling > + Whenever this tunable needs to be updated, most users will not

Re: [PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

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 + +If you believe that invlpg is being called too often, you can +lower the tunable: + + /sys/debug/kernel/x86/tlb_single_page_flush_ceiling + Whenever this tunable needs to be updated,

[PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

2014-03-05 Thread Dave Hansen
From: Dave Hansen Most of the logic here is in the documentation file. Please take a look at it. I know we've come full-circle here back to a tunable, but this new one is *WAY* simpler. I challenge anyone to describe in one sentence how the old one worked. Here's the way the new one works:

[PATCH 5/7] x86: mm: new tunable for single vs full TLB flush

2014-03-05 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com Most of the logic here is in the documentation file. Please take a look at it. I know we've come full-circle here back to a tunable, but this new one is *WAY* simpler. I challenge anyone to describe in one sentence how the old one worked. Here's