Re: mprotect() api overhead.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Mar 22 2002 - 21:20:37 EST


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



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:29 EST