lkml.org 
[lkml]   [2017]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    Subject[PATCH 0/2] Add new wait_event macros to support lustre
    Lustre has its own l_wait_event() macro to support waiting.
    Some uses can be converted to current wait_event macros, but others
    cannot.

    Particularly it needs to be able to wait in TASK_IDLE state, and needs
    exclusive waiters to be placed at the head of the queue.
    These two patches add required functionalty to wait.h so that
    lustre can be fully moved away from l_wait_event()

    Thanks,
    NeilBrown

    ---

    NeilBrown (2):
    sched/wait: add wait_event_idle() functions.
    sched/wait: add wait_event_idle_exclusive_lifo()


    include/linux/wait.h | 170 +++++++++++++++++++++++++++++++++++++++++++++++++-
    kernel/sched/wait.c | 3 +
    2 files changed, 167 insertions(+), 6 deletions(-)

    --
    Signature

    \
     
     \ /
      Last update: 2017-12-22 04:13    [W:5.155 / U:1.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site