aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_selftest_dynamic.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2015-02-13 14:39:08 -0800
committerLinus Torvalds <[email protected]>2015-02-13 21:21:40 -0800
commit4d5755b147665912c938504033d958f1115b68ff (patch)
tree61d7a0fb45a279b10439caaa323373ba6f5729a0 /kernel/trace/trace_selftest_dynamic.c
parent0f3c5aab5e00527eb3167aa9d1725cca9320e01e (diff)
epoll: optimize setting task running after blocking
After waking up a task waiting for an event, we explicitly mark it as TASK_RUNNING (which is necessary as we do the checks for wakeups as TASK_INTERRUPTIBLE). Once running and dealing with actually delivering the events, we're obviously not planning on calling schedule, thus we can relax the implied barrier and simply update the state with __set_current_state(). Signed-off-by: Davidlohr Bueso <[email protected]> Cc: Alexander Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'kernel/trace/trace_selftest_dynamic.c')
0 files changed, 0 insertions, 0 deletions