On Sat, Feb 8, 2014 at 11:27 AM, Richard Yao <ryao@xxxxxxxxxx> wrote: > On 02/08/2014 02:20 PM, Andy Lutomirski wrote: >> Are we looking at the same patch? >> >> + if (is_vmalloc_or_module_addr(data)) >> + pages[index++] = vmalloc_to_page(data); >> >> if (is_vmalloc_or_module_addr(data) && !is_vmalloc_addr(data)), the >> vmalloc_to_page(data) sounds unhealthy. >> >> --Andy >> > > Mainline loads all Linux kernel modules into virtual memory. No > architecture is known to me where this is not the case. > Hmm. I stand corrected. vmalloc_to_page is safe on module addresses. --Andy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>