On Wednesday 29 July 2009 23:37:16 Karicheri, Muralidharan wrote: > Laurent, > > Ok, now I understand how /dev/mem works. This should works as well. But one > of our apps engineer mentioned some problems in using /dev/mem related to > mmap. Did you encounter any issues while using this method? I haven't tried to myself, it's just an idea that I'm throwing in the discussion. > The driver is basically written to allocate multiple pools and buffers per > pool to satisfies various memory allocation requirements inside our TI SDK. Are you referring to the cmemk driver ? It seems to really be a quick hack to short-circuit all the Linux kernel memory management infrastructure and let userspace allocate physical memory from a private pool of reserved SDRAM. I'd be quite surprised if something like that ever ends up in mainline. Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html