Is do_switch SMP safe??? I don't see any locking
or coherency checking done here.
> __typeof__ (x) __tmp = x; \
> x = y; y = __tmp; } while (0)
>
> +void memswap(char *a, char *b, int len)
> +{
> + while (len-- > 0) {
> + do_switch(*a, *b);
> + a++;
> + b++;
> + }
> +}
--Perry
-- Perry Harrington Linux rules all OSes. APSoft () email: perry@apsoft.com Think Blue. /\- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html