diff options
| author | Thomas Gleixner <[email protected]> | 2019-07-02 17:53:35 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-07-03 09:04:06 +0200 |
| commit | 7e8e6816c6495a1168f9a7a50125d82c23e59300 (patch) | |
| tree | d608fc97cbbec910699dd53f473cb9813caad020 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | 6fbc7275c7a9ba97877050335f290341a1fd8dbf (diff) | |
stacktrace: Use PF_KTHREAD to check for kernel threads
!current->mm is not a reliable indicator for kernel threads as they might
temporarily use a user mm. Check for PF_KTHREAD instead.
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions