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: <20080828092559.GA25929@elte.hu>
Date:	Thu, 28 Aug 2008 11:25:59 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Bharata B Rao <bharata@...ux.vnet.ibm.com>
Cc:	linux-kernel@...r.kernel.org,
	Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [patch] sched: call resched_task() conditionally from new task
	wake up path.


* Bharata B Rao <bharata@...ux.vnet.ibm.com> wrote:

> Hi,
> 
> sched: call resched_task() conditionally from new task wake up path.
> 
> - During wake up of a new task, task_new_fair() can do a resched_task()
>   on the current task. Later in the code path, check_preempt_curr() also ends
>   up doing the same, which can be avoided. Check if TIF_NEED_RESCHED is
>   already set for the current task.
> 
> - task_new_fair() does a resched_task() on the current task unconditionally.
>   This can be done only in case when child runs before the parent.
> 
> Signed-off-by: Bharata B Rao <bharata@...ux.vnet.ibm.com>

well spotted - applied to tip/sched/devel, thanks Bharata.

	Ingo
--
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