Skip to content

fix incorrect comment in kernel/sched/rt.c

Sidney Cammeresi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] fix incorrect comment in kernel/sched/rt.c

I was reading rt.c and was looking at the code pertaining to allowing a non-migratable task to preempt a migratable task of the same priority. It appears to me that one of the comments describing when this will happen is wrong.

It appears that preemption will only happen when the task is *not* about to be otherwise preempted. The comment appears to describe an older version of the code, in which preemption would happen when the task *was* about to be preempted, the opposite condition.

Sidney Cammeresi (1):
sched/rt: fix incorrect comment about non-migratable tasks' priority

 kernel/sched/rt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 6 lines
2.7.4


-- 
Sidney Cammeresi
Staff Software Engineer, MariaDB Corporation Ab