commit | 6bc2b856bb7c49f238914d965c0b1057ec78226e | [log] [tgz] |
---|---|---|
author | Weijie Yang <weijie.yang@samsung.com> | Fri Feb 14 14:03:56 2014 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 14 09:18:39 2014 -0800 |
tree | 0be82e27070b29827395d5a5e6aefab5c1646be5 | |
parent | 52cf6acfb0a81267848701ad385ec735c0bd61b2 [diff] |
staging: android: lowmemorykiller: set TIF_MEMDIE before send kill sig Set TIF_MEMDIE tsk_thread flag before send kill signal to the selected thread. This is to fit a usual code sequence and avoid potential race issue. Signed-off-by: Weijie Yang <weijie.yang@samsung.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>