Re: [PATCH 07/18] mm, proc: make clear_refs killable

From
Oleg Nesterov <oleg@redhat.com>
Date
2016-02-29 17:58:26
Also in
linux-mm, lkml
Reply to
Michal Hocko, 2016-02-29
On 02/29, Michal Hocko wrote:
On Mon 29-02-16 18:38:45, Oleg Nesterov wrote:
quoted
In this case you do not need put_task_struct().
Why not? Both are after get_proc_task which takes a reference to the
task...
Yes, but we already have put_task_struct(task) in the "out_mm" path, so
"goto out_mm" should work just fine?

Oleg.
Thread (68 messages) 68 messages, 8 authors, last reply 2016-03-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help