Re: sched: softlockups in multi_cpu_stop

Davidlohr Bueso
2015-03-06T20:00:09Z

On Fri, 2015-03-06 at 11:55 -0800, Davidlohr Bueso wrote:
> On Fri, 2015-03-06 at 11:32 -0800, Linus Torvalds wrote:
>
> > IOW, I wonder if we could special-case the common non-IO
> > fault-handling path something along the lines of:
> >
> > - look up the vma in the vma lookup cache
>
> But you'd still need mmap_sem there to at least get the VMA's first
> value.

Incomplete msg... what I'm getting at is that one way or another
mmap_sem contention is easy to hit -- yes, avoiding it in IO paths is
obviously good for hold times. But I also think that it protects way too
much, ie making pthread intense workloads really suck as well.