Commit 50017819 authored by Waiman Long's avatar Waiman Long Committed by Quentin Perret
Browse files

FROMGIT: sched: Add __releases annotations to affine_move_task()



affine_move_task() assumes task_rq_lock() has been called and it does
an implicit task_rq_unlock() before returning. Add the appropriate
__releases annotations to make this clear.

A typo error in comment is also fixed.

Change-Id: Ib02de3bb81d21489dc6e16a89a8cc0b0c64ccce8
Signed-off-by: default avatarWaiman Long <longman@redhat.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220922180041.1768141-2-longman@redhat.com
BUG: 254447891
(cherry picked from commit 9722bb2bbcb7ff70c9f7fdbe71a39b5f1f6aa428
 https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git

 sched/core)
Signed-off-by: default avatarAshay Jaiswal <quic_ashayj@quicinc.com>
parent b3bb41ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment