Re: [V9fs-developer] finit_module broken on 9p because kernel_read doesn't work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]