Re: [REPORT] cfs-v4 vs sd-0.44

From: Ulrich Drepper
Date: Sun Apr 22 2007 - 03:17:47 EST


On 4/22/07, William Lee Irwin III <wli@xxxxxxxxxxxxxx> wrote:
I'm just looking for what people want the API to be here. With that in
hand we can just go out and do whatever needs to be done.

I think a sched_yield_to is one interface:

int sched_yield_to(pid_t);

For futex(), the extension is needed for the FUTEX_WAIT operation. We
need a new operation FUTEX_WAIT_FOR or so which takes another (the
fourth) parameter which is the PID of the target.

For FUTEX_LOCK_PI we need no extension. The futex value is the PID of
the current owner. This is required for the whole interface to work
in the first place.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/