From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx180.postini.com [74.125.245.180]) by kanga.kvack.org (Postfix) with SMTP id 3266C6B0027 for ; Tue, 16 Apr 2013 19:50:48 -0400 (EDT) Received: by mail-ia0-f172.google.com with SMTP id k38so936085iah.31 for ; Tue, 16 Apr 2013 16:50:47 -0700 (PDT) Message-ID: <516DE3D1.7030800@gmail.com> Date: Wed, 17 Apr 2013 07:50:41 +0800 From: Simon Jeons MIME-Version: 1.0 Subject: Re: [LSF/MM TOPIC] Hardware initiated paging of user process pages, hardware access to the CPU page tables of user processes References: <5114DF05.7070702@mellanox.com> <516CF7BB.3050301@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Jerome Glisse Cc: Shachar Raindel , lsf-pc@lists.linux-foundation.org, linux-mm@kvack.org, Andrea Arcangeli , Roland Dreier , Haggai Eran , Or Gerlitz , Sagi Grimberg , Liran Liss 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? > > Cheers, > Jerome -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org