Re: sched: softlockups in multi_cpu_stop

From: Davidlohr Bueso
Date: Fri Mar 06 2015 - 15:00:14 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/