Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1235048

Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule()

From Frederic Weisbecker <fweisbec@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule()
Date 2015-09-29 15:20 +0200
Message-ID <qe2Z5-7xW-17@gated-at.bofh.it> (permalink)
References <qdZHQ-2IS-3@gated-at.bofh.it> <qdZHS-2IS-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 29, 2015 at 11:28:30AM +0200, Peter Zijlstra wrote:
> There is only a single PREEMPT_ACTIVE use in the regular __schedule()
> path and that is to circumvent the task->state check. Since the code
> setting PREEMPT_ACTIVE is the immediate caller of __schedule() we can
> replace this with a function argument.
> 
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>

Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC][PATCH 05/11] sched: Add preempt argument to __schedule() Peter Zijlstra <peterz@infradead.org> - 2015-09-29 11:50 +0200
  Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule() Frederic Weisbecker <fweisbec@gmail.com> - 2015-09-29 15:20 +0200
  Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule() Steven Rostedt <rostedt@goodmis.org> - 2015-09-29 17:30 +0200
    Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule() Steven Rostedt <rostedt@goodmis.org> - 2015-09-29 17:40 +0200
      Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule() Peter Zijlstra <peterz@infradead.org> - 2015-09-29 17:40 +0200

csiph-web