On Mon, 12 Jan 2015 11:01:06 -0600, riya khanna said:
> With shared memory mappings, once A and B both map the same memory
> address/file they see the same contents
> A [0xaaaaaaaa] - maps - to -> [0xAAAAAAAA]
> B [0xbbbbbbbb] - maps - to -> [0xAAAAAAAA]
>
> However, if A changes (update) the mappings to point to a different
> memory area/file offset, B sees different contents
> A [0xaaaaaaaa] - maps - to -> [0xBBBBBBBB]

Well, don't do that then.  Or have A notify B via some sort of IPC
that it's done it so B can update its mappings.

I'm not seeing a need for kernel support for poorly designed userspace code.

Attachment: pgpc6i010xb6_.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to