public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/5] sched: task_tick_rt: remove the obsolete ->signal != NULL check
@ 2010-06-10 23:09 Oleg Nesterov
  2010-06-18 10:19 ` [tip:sched/core] sched: task_tick_rt: Remove " tip-bot for Oleg Nesterov
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Nesterov @ 2010-06-10 23:09 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Peter Zijlstra, Stanislaw Gruszka, Thomas Gleixner, linux-kernel

Remove the obsolete ->signal != NULL check in watchdog().
Since ea6d290c ->signal can't be NULL.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
---

 kernel/sched_rt.c |    3 ---
 1 file changed, 3 deletions(-)

--- 35-rc2/kernel/sched_rt.c~2_WD_DONT_CK_SIGNAL	2010-06-11 00:47:34.000000000 +0200
+++ 35-rc2/kernel/sched_rt.c	2010-06-11 01:07:25.000000000 +0200
@@ -1663,9 +1663,6 @@ static void watchdog(struct rq *rq, stru
 {
 	unsigned long soft, hard;
 
-	if (!p->signal)
-		return;
-
 	/* max may change after cur was read, this will be fixed next tick */
 	soft = task_rlimit(p, RLIMIT_RTTIME);
 	hard = task_rlimit_max(p, RLIMIT_RTTIME);


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:sched/core] sched: task_tick_rt: Remove the obsolete ->signal != NULL check
  2010-06-10 23:09 [PATCH 2/5] sched: task_tick_rt: remove the obsolete ->signal != NULL check Oleg Nesterov
@ 2010-06-18 10:19 ` tip-bot for Oleg Nesterov
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Oleg Nesterov @ 2010-06-18 10:19 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, a.p.zijlstra, oleg, tglx, mingo

Commit-ID:  c32b4fce799d3a6157df9048d03e429956c58818
Gitweb:     http://git.kernel.org/tip/c32b4fce799d3a6157df9048d03e429956c58818
Author:     Oleg Nesterov <oleg@redhat.com>
AuthorDate: Fri, 11 Jun 2010 01:09:48 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 18 Jun 2010 10:46:56 +0200

sched: task_tick_rt: Remove the obsolete ->signal != NULL check

Remove the obsolete ->signal != NULL check in watchdog().
Since ea6d290c ->signal can't be NULL.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100610230948.GA25911@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 kernel/sched_rt.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 8afb953..d10c80e 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1663,9 +1663,6 @@ static void watchdog(struct rq *rq, struct task_struct *p)
 {
 	unsigned long soft, hard;
 
-	if (!p->signal)
-		return;
-
 	/* max may change after cur was read, this will be fixed next tick */
 	soft = task_rlimit(p, RLIMIT_RTTIME);
 	hard = task_rlimit_max(p, RLIMIT_RTTIME);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-18 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-10 23:09 [PATCH 2/5] sched: task_tick_rt: remove the obsolete ->signal != NULL check Oleg Nesterov
2010-06-18 10:19 ` [tip:sched/core] sched: task_tick_rt: Remove " tip-bot for Oleg Nesterov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox