On Tue, Apr 16, 2013 at 7:50 PM, Simon Jeons
<simon.jeons@gmail.com> wrote:
On 04/17/2013 12:27 AM, Jerome Glisse wrote:
[snip]
As i said this is for pre-filling already present entry, ie pte that are present with a valid page (no special bit set). This is an optimization so that the GPU can pre-fill its tlb without having to take any mmap_sem. Hope is that in most common case this will be enough, but in some case you will have to go through the lengthy non fast gup.
I know this. What I concern is the pte you mentioned is for normal cpu, correct? How can you pre-fill pte and tlb of GPU?