LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-10-2004, 11:32 AM   #1
GS2
LQ Newbie
 
Registered: Jul 2004
Location: Sweden
Distribution: ARM Linux
Posts: 1

Rep: Reputation: 0
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.

 
Old 07-12-2004, 03:27 AM   #2
shishir
Member
 
Registered: Jul 2003
Location: bangalore . india
Distribution: openSUSE 10.3
Posts: 251

Rep: Reputation: 33
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing virtual address space mhl Linux - Newbie 1 09-07-2005 11:29 AM
suPhp, virtual hosts, and shared code? miscreant Linux - Software 0 07-13-2005 07:09 PM
Windows XP/NTFS + Virtual PC/Mandrake + Samba = Shared Directories? IamI Mandriva 1 12-18-2004 07:06 PM
will compiliing statically save me space over shared libs? philipuso Slackware 1 08-29-2004 06:14 PM
increase shared file space jaac Linux - Networking 1 11-10-2001 04:29 AM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration