lkml.org 
[lkml]   [2015]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] sched: schedule/preempt optimizations and cleanups
Date
Hey,

This series is based on suggestions from Linus. I posted a previous
version one month ago then Linus suggested more improvements. Here
is the following iteration.

The last patch suggests to (ab)use PREEMPT_ACTIVE to disable preemption
on schedule(). It's optional as it's a possibily controversial cleanup.

Thanks.

Frederic Weisbecker (4):
sched: Pull resched loop to __schedule() callers
sched: Use traced preempt count operations to toggle PREEMPT_ACTIVE
sched: Pull preemption disablement to __schedule() caller
sched: Account PREEMPT_ACTIVE context as atomic

include/linux/preempt_mask.h | 4 ++--
kernel/sched/core.c | 29 +++++++++++++++--------------
2 files changed, 17 insertions(+), 16 deletions(-)

--
2.1.4



\
 
 \ /
  Last update: 2015-01-28 01:41    [W:0.245 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site