On Wednesday 12 August 2009 10:36:02 Jamie Lokier wrote:
> Jim Donelson wrote:
> >    I wonder why (on an SP machine) you don't just disable interrupts for
> >    a few instructions and give yourself an atomic dec?
>
> Yes, that's fine.
>
> However, it's not secure to allow userspace to disable interrupts(*),
> so we've talked about a custom instruction which lets userspace
> disable interrupts for a maximum of 3/4 instructions, then the
> hardware forces them on again.
>
> (*) with an MMU; without an MMU there's no security anyway so it
> doesn't matter as much.

s/without an MMU/without an MMU or MPU/ ;)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to