Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U0

From: Roland Dreier
Date: Thu Oct 14 2004 - 19:38:04 EST


Karim> cmpxchg (basically: try reserve; if fail retry; else
Karim> write), with per-cpu buffers.

Not sure if I really understand the context where Ingo would use this,
but this lockless scheme doesn't seem to be safe for realtime; the
retry can potentially happen an arbitrary number of times.

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