On Sun, Jul 16, 2006 at 02:38:45PM -0400, Albert Cahalan wrote:
> On 7/16/06, Kyle Moffett <mrmacman_g4@xxxxxxx> wrote:
> >On Jul 15, 2006, at 17:09:28, Albert Cahalan wrote:
> >You realize that on a couple architectures it's fundamentally
> >impossible to get atomic ops completely in userspace, right?
> Sure. Those architectures don't need to drag down the rest.
> Plenty of headers are only exported for some architectures.
Wrong perspective. The problem is that they may _appear_ to work as
described, but not actually work in the intended way. That's a bug,
and it's a _hard_ bug to locate.
> (Well actually, such architectures could just give apps a
> writable flag to disable the scheduler -- this is acceptable
> for the embedded things these architectures are used for.
Cloud cuckoo land. In the embedded world, there are folk still want
to have the security aspects as well. Moreover, there are far more
folk who do _NOT_ want to have things like "disable the scheduler" -
think the realtime folk.
> It's not as if the app developers would care to support
> those architectures anyway.
That's actually more of a reason to take away the toys they shouldn't
be playing with in the first place - the only reason these (wrong)
interfaces are being used is because they're easily accessible.