Title: RE: registering read-only memory

OK thanks. I had another problem in MVAPI.

-----Original Message-----
From: Roland Dreier [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 27, 2005 7:49 PM
To: Eli Cohen
Cc: Michael S. Tsirkin; [email protected]
Subject: Re: registering read-only memory


    Eli> I saw this this on Suse 9.3 and the memory was like: static
    Eli> const char *my_string = "Hello world"; defined locally in a
    Eli> function. This produced a VMA with VM_IO set.

What kernel version/architecture?

I'm having a hard time seeing how it's possible to get a VMA with
VM_IO set except by using remap_pfn_range(), and I can't see how
ordinary const data from userspace could cause that.

 - R.

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to