[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <151391203805.23157.8332034037737592042.stgit@noble>
Date: Fri, 22 Dec 2017 14:11:03 +1100
From: NeilBrown <neilb@...e.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>
Cc: linux-kernel@...r.kernel.org,
lustre <lustre-devel@...ts.lustre.org>
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
Powered by blists - more mailing lists