lkml.org 
[lkml]   [2023]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 04/32] mm/pgtable: allow pte_offset_map[_lock]() to fail
From
On 8/5/23 10:07, Matthew Wilcox wrote:
...
>> Sorry, I am not able to give any explanation here,
>> I am not familiar with the pvrsrvkm source, I just use it to have one
>> working AOSP build.
>>
>> here is the source file where pte_offset_map_lock is called,
>> https://android-git.linaro.org/kernel/omap-modules.git/tree/pvr/services4/srvkm/env/linux/osfunc.c?h=android-mainline#n3508
>> in case you could know something with a quick look.
>
> Isn't this just get_user_pages()?


Or even just follow_page(), which looks like a nearly perfect drop-in
replacement, especially since that android link also says, "The page in
question must be present (i.e. no fault handling required)".


thanks,
--
John Hubbard
NVIDIA

\
 
 \ /
  Last update: 2023-08-08 02:31    [W:0.148 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site