lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1605034896.git.sac@cheesecake.org>
Date:   Tue, 10 Nov 2020 11:12:18 -0800
From:   Sidney Cammeresi <sac@...iadb.com>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     linux-kernel@...r.kernel.org
Subject: [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(-)

-- 
2.7.4


-- 
Sidney Cammeresi
Staff Software Engineer, MariaDB Corporation Ab

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ