Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8

From: Timothy Miller
Date: Thu Oct 21 2004 - 17:36:37 EST




Bill Huey (hui) wrote:



You use a semaphore to protect data, a completion isn't protecting data
but preserving a certain kind of wait ordering in the code. The
possibility of overloading the current mutex_t for PI makes for a conceptual
mismatch when used in this case since having a kind of priority for
completions is a bit odd. It's better to flat out use a completion
instead, IMO.



Could you please define "completion" for me in this context?

Thanks.

-
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/