[openib-general] Re: registering read-only memory
Roland Dreier
roland at topspin.com
Fri May 27 09:48:37 PDT 2005
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.
More information about the general
mailing list