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


Groups > linux.kernel > #1338918

[patch] sched,rt: __always_inline preemptible_lazy()

From Mike Galbraith <umgwanakikbuti@gmail.com>
Newsgroups linux.kernel
Subject [patch] sched,rt: __always_inline preemptible_lazy()
Date 2016-02-21 19:10 +0100
Message-ID <r4GCf-1rJ-29@gated-at.bofh.it> (permalink)
References <qSdZ0-6VF-3@gated-at.bofh.it> <qSorp-5DG-23@gated-at.bofh.it> <qSun8-1go-13@gated-at.bofh.it> <qTn0e-5nD-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


homer: # nm kernel/sched/core.o|grep preemptible_lazy
00000000000000b5 t preemptible_lazy

echo wakeup_rt > current_tracer ==> Welcome to infinity.

Signed-off-bx: Mike Galbraith <umgwanakikbuti@gmail.com>
---
 kernel/sched/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -3469,7 +3469,7 @@ static void __sched notrace preempt_sche
  * set by a RT task. Oterwise we try to avoid beeing scheduled out as long as
  * preempt_lazy_count counter >0.
  */
-static int preemptible_lazy(void)
+static __always_inline int preemptible_lazy(void)
 {
 	if (test_thread_flag(TIF_NEED_RESCHED))
 		return 1;

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


Thread

[patch]  sched,rt: __always_inline preemptible_lazy() Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-02-21 19:10 +0100

csiph-web