Re: [PATCH 2/2] Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function"

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Oleg Nesterov wrote: > This reverts commit 23196f2e5f5d810578a772785807dcdc2b9fdce9. > > After the previous change struct kthread can't go away, no need to pin > the stack. > > TODO: kill to_live_kthread(). Acked-by: Thomas Gleixner

Re: [PATCH 2/2] Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function"

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Oleg Nesterov wrote: > This reverts commit 23196f2e5f5d810578a772785807dcdc2b9fdce9. > > After the previous change struct kthread can't go away, no need to pin > the stack. > > TODO: kill to_live_kthread(). Acked-by: Thomas Gleixner

[PATCH 2/2] Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function"

2016-10-28 Thread Oleg Nesterov
This reverts commit 23196f2e5f5d810578a772785807dcdc2b9fdce9. After the previous change struct kthread can't go away, no need to pin the stack. TODO: kill to_live_kthread(). Signed-off-by: Oleg Nesterov --- kernel/kthread.c | 8 ++-- 1 file changed, 2 insertions(+), 6

[PATCH 2/2] Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function"

2016-10-28 Thread Oleg Nesterov
This reverts commit 23196f2e5f5d810578a772785807dcdc2b9fdce9. After the previous change struct kthread can't go away, no need to pin the stack. TODO: kill to_live_kthread(). Signed-off-by: Oleg Nesterov --- kernel/kthread.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff