IPC SHM changed; shmat does not return same shared memory address for all processes (virtual) after 2.6.8 ?

From: Domen Stangar
Date: Sat Apr 22 2006 - 14:31:10 EST


Hello,

can anyone please explain me why there is a change in shmat so that
each process gets different address(looks like virtual) to shared
memory ?
(even though i give parameter shmaddr)

E.g. 8 processes sharing same XImage including xserver on local machine.
If i get different address on each process then xserver fails to
access the image.
This worked fine to kernel version 2.6.8.

Is there any solution to this ?
Will it stay like this in future ?

Thanks,
Domen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/