Re: mprotect() api overhead.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 23 Mar 2002 02:20:37 +0000 (GMT)


> As for SMP case, for my application, it is less an issue, since
> when user call my API in the .so, the mprotect (or that HP=20
> 7 instructions) will open access to the share memory for them
> regardless which CPU they are coming from. If other thread

That still requires cross processor synchronization - so it will still
take the same hit

Alan

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