# \[patch\] sched,rt: \_\_always\_inline preemptible\_lazy()

- From: Mike Galbraith \<hidden\>
- Date: 2016-02-21 18:07:20 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2016/02/4690073
- Thread: https://ratatoskr.run/linux-rt-users/2016/01/4662538/t.md

```text
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 [ref]
---
 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;
```
