> The start addresses of fixed and shared mappings need to have a > certain property relative to other such mappings. > > And that property is that the addresses must all be modulo the > D-cache alias factor, which on sparc64 is 16384 bytes. > How can i do this? Calculate? Example: addr_orig = mmap (NULL, bytes, PROT_NONE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); addr = mmap ( addr_orig , bytes, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_SHARED, fd, 0); Should i do addr_orig % 16384 ?? -- William Felipe Welter ------------------------------ Consultor em Tecnologias Livres william.welter@xxxxxxxxxxxxx www.4linux.com.br -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html