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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1254741622.26976.37.camel@twins>
Date:	Mon, 05 Oct 2009 13:20:22 +0200
From:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
To:	Peter Williams <pwil3058@...pond.net.au>
Cc:	Ingo Molnar <mingo@...e.hu>, Mike Galbraith <efault@....de>,
	Linux Kernel Mailing <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched: Set correct normal_prio and prio values in
 sched_fork()

On Thu, 2009-09-24 at 06:47 +0000, Peter Williams wrote:
> normal_prio should be updated if policy changes from RT to SCHED_MORMAL
> or if static_prio/nice is changed.  Some paths through sched_fork()
> ignore this requirement and may result in normal_prio having an invalid
> value.
> 
> Fixing this issue allows the call to effective_prio() in
> wake_up_new_task() to be removed.
> 
> Signed-off-by: Peter Williams <pwil3058@...pond.net.au>

/me twists his brain into a pretsel, squints his eyes and sees its
obvious ;-)

Acked-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>

Thank Peter!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ