Re: [BUG] "sched: Remove rq->lock from the first half of ttwu()" locks up on ARM

Russell King - ARM Linux
2011-05-29T10:27:37Z

On Sun, May 29, 2011 at 11:21:19AM +0100, Catalin Marinas wrote:
> To avoid extra per-thread flags, we could set a per-cpu variable in
> switch_mm() so that we know what to switch the page tables to in the
> post-switch hook.

Why do we need to add more per-cpu stuff when we already have easy access
to the thread flags?