Messages in this thread | | | Date | Fri, 24 Dec 2004 15:32:34 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: VM fixes [4/4] |
| |
On Fri, 24 Dec 2004, Andrea Arcangeli wrote: > > /* > + * All archs should support atomic ops with > + * 1 byte granularity. > + */ > + unsigned char memdie;
This simply fundamentally isn't true, last I looked.
At least older alphas do _not_ support atomic byte accesses, and if you want atomic accesses you need to either use the defined smp-atomic functions (ie things like the bit set operations), or you need to use "int", which afaik all architectures _do_ support atomic accesses to.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |