commit | e79e745b208b3c709cc5e689e587d04a4c0fe1bb | [log] [tgz] |
---|---|---|
author | Oded Gabbay <ogabbay@kernel.org> | Sat Jul 03 11:50:32 2021 +0300 |
committer | Oded Gabbay <ogabbay@kernel.org> | Sun Aug 29 09:47:45 2021 +0300 |
tree | 986e6ed83f64bf48014447a4d60a345085953325 | |
parent | fbcd0efefc7e32f2acb9ca5d9196306dfa3da880 [diff] |
habanalabs: use get_task_pid() to take PID The previous function we used, find_get_pid(), wasn't good in case the user process was run inside docker. As a result, we didn't had the PID and we couldn't kill the user process in case the device got stuck and we needed to reset the device. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>