diff options
| author | Weijie Yang <weijie.yang@samsung.com> | 2014-02-14 14:03:56 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-18 19:31:42 +0200 |
| commit | 09c84a9f88cc17a6f29d1d8947d860f9420bb4b5 (patch) | |
| tree | 5e56d29d22d8242141dce88685f599726fecdc2f /kernel/debug | |
| parent | bb39a546be26f7c5e1e1ab1ce10f297ca24e2137 (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>
(cherry picked from commit 6bc2b856bb7c49f238914d965c0b1057ec78226e)
Change-Id: I3c4869d525ce80d339ec3742382beae2ee45f76e
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
