Re: [RFC][PATCH] sched,mips,ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW

2014-09-23 Thread Guenter Roeck
On Tue, Sep 23, 2014 at 05:06:41PM +0200, Peter Zijlstra wrote: > On Mon, Sep 22, 2014 at 10:36:18PM +0400, Kirill Tkhai wrote: > > From: Kirill Tkhai > > > > Architectures, which define __ARCH_WANT_UNLOCKED_CTXSW, > > may pull a task when it's in the middle of schedule(). > > > > CPU1(task1

Re: [RFC][PATCH] sched,mips,ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW

2014-09-23 Thread Kirill Tkhai
23.09.2014, 19:06, "Peter Zijlstra" : > On Mon, Sep 22, 2014 at 10:36:18PM +0400, Kirill Tkhai wrote: >>  From: Kirill Tkhai >> >>  Architectures, which define __ARCH_WANT_UNLOCKED_CTXSW, >>  may pull a task when it's in the middle of schedule(). >> >>  CPU1(task1 calls schedule)    CPU2

[RFC][PATCH] sched,mips,ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW

2014-09-23 Thread Peter Zijlstra
On Mon, Sep 22, 2014 at 10:36:18PM +0400, Kirill Tkhai wrote: > From: Kirill Tkhai > > Architectures, which define __ARCH_WANT_UNLOCKED_CTXSW, > may pull a task when it's in the middle of schedule(). > > CPU1(task1 calls schedule)CPU2 > ...

[RFC][PATCH] sched,mips,ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW

2014-09-23 Thread Peter Zijlstra
On Mon, Sep 22, 2014 at 10:36:18PM +0400, Kirill Tkhai wrote: From: Kirill Tkhai ktk...@parallels.com Architectures, which define __ARCH_WANT_UNLOCKED_CTXSW, may pull a task when it's in the middle of schedule(). CPU1(task1 calls schedule)CPU2 ...

Re: [RFC][PATCH] sched,mips,ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW

2014-09-23 Thread Kirill Tkhai
23.09.2014, 19:06, Peter Zijlstra pet...@infradead.org: On Mon, Sep 22, 2014 at 10:36:18PM +0400, Kirill Tkhai wrote:  From: Kirill Tkhai ktk...@parallels.com  Architectures, which define __ARCH_WANT_UNLOCKED_CTXSW,  may pull a task when it's in the middle of schedule().  CPU1(task1 calls

Re: [RFC][PATCH] sched,mips,ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW

2014-09-23 Thread Guenter Roeck
On Tue, Sep 23, 2014 at 05:06:41PM +0200, Peter Zijlstra wrote: On Mon, Sep 22, 2014 at 10:36:18PM +0400, Kirill Tkhai wrote: From: Kirill Tkhai ktk...@parallels.com Architectures, which define __ARCH_WANT_UNLOCKED_CTXSW, may pull a task when it's in the middle of schedule().