On 10/1/19 11:39 AM, Leonardo Bras wrote:
> On Mon, 2019-09-30 at 14:47 -0700, John Hubbard wrote:
>> On 9/30/19 11:42 AM, Leonardo Bras wrote:
>>> On Mon, 2019-09-30 at 10:57 -0700, John Hubbard wrote:
...
>
> I am failing to understand the issue.
> I mean, smp_call_function_many() will issue a I
On Mon, 2019-09-30 at 14:47 -0700, John Hubbard wrote:
> On 9/30/19 11:42 AM, Leonardo Bras wrote:
> > On Mon, 2019-09-30 at 10:57 -0700, John Hubbard wrote:
> > > > As I told before, there are cases where this function is called from
> > > > 'real mode' in powerpc, which doesn't disable irqs and m
On 9/30/19 11:42 AM, Leonardo Bras wrote:
> On Mon, 2019-09-30 at 10:57 -0700, John Hubbard wrote:
>>> As I told before, there are cases where this function is called from
>>> 'real mode' in powerpc, which doesn't disable irqs and may have a
>>> tricky behavior if we do. So, encapsulate the irq dis
On Mon, 2019-09-30 at 10:57 -0700, John Hubbard wrote:
> > As I told before, there are cases where this function is called from
> > 'real mode' in powerpc, which doesn't disable irqs and may have a
> > tricky behavior if we do. So, encapsulate the irq disable in this
> > function can be a bad choic
On 9/30/19 8:14 AM, Leonardo Bras wrote:
On Sun, 2019-09-29 at 15:40 -0700, John Hubbard wrote:
Hi, Leonardo,
Hello John, thanks for the feedback.
Can we please do it as shown below, instead (compile-tested only)?
This addresses all of the comments that I was going to make about structure
o
On Sun, 2019-09-29 at 15:40 -0700, John Hubbard wrote:
> Hi, Leonardo,
Hello John, thanks for the feedback.
> Can we please do it as shown below, instead (compile-tested only)?
>
> This addresses all of the comments that I was going to make about structure
> of this patch, which are:
>
> * The
On 9/29/19 3:40 PM, John Hubbard wrote:
On 9/27/19 4:39 PM, Leonardo Bras wrote:
...
+config LOCKLESS_PAGE_TABLE_WALK_TRACKING
+ bool "Tracking (and optimization) of lockless page table walkers"
+ default n
+
+ help
+ Maintain a reference count of active lockless page table
+
On 9/27/19 4:39 PM, Leonardo Bras wrote:
It's necessary to monitor lockless pagetable walks, in order to avoid doing
THP splitting/collapsing during them.
Some methods rely on local_irq_{save,restore}, but that can be slow on
cases with a lot of cpus are used for the process.
In order to speedu
It's necessary to monitor lockless pagetable walks, in order to avoid doing
THP splitting/collapsing during them.
Some methods rely on local_irq_{save,restore}, but that can be slow on
cases with a lot of cpus are used for the process.
In order to speedup some cases, I propose a refcount-based ap