LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Shared virtual pointers in kernel space (https://www.linuxquestions.org/questions/programming-9/shared-virtual-pointers-in-kernel-space-203392/)

GS2 07-10-2004 10:32 AM

Shared virtual pointers in kernel space
 
Hi everyone,

one of my drivers is allocating about 2 MBs of memory using vmalloc(). Will the virtual address pointer be valid if I pass it on to another driver (also running in kernel space)? Am I missing something here?

I'm getting some strange behaviour, it seems like this passed virtual pointer points to another part of physical memory compared to the driver that allocated it.

The drivers are executing in the same kernel thread.

:scratch:

shishir 07-12-2004 02:27 AM

umm..if you make it an exported symbol, i guess you should be able to see it from other driver too. ..but by default i dont know if you'd be able to see it...


All times are GMT -5. The time now is 02:33 AM.