diff options
author | Mathieu Poirier <[email protected]> | 2019-07-19 15:59:54 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-07-25 15:51:57 +0200 |
commit | 4b211f2b129dd1f6a6956bbc76e2f232c1ec3ad8 (patch) | |
tree | 7b4fbe72ad4673c01c5a3159dcac0232abade07a /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | c22645f4c8f021fb1c5e7189eb1f968132cc0844 (diff) |
sched/core: Streamle calls to task_rq_unlock()
Calls to task_rq_unlock() are done several times in the
__sched_setscheduler() function. This is fine when only the rq lock needs to be
handled but not so much when other locks come into play.
This patch streamlines the release of the rq lock so that only one
location need to be modified when dealing with more than one lock.
No change of functionality is introduced by this patch.
Tested-by: Dietmar Eggemann <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions