lkml.org 
[lkml]   [2014]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v8 02/22] Allow page fault handlers to perform the COW
    On Tue, Jul 22, 2014 at 03:47:50PM -0400, Matthew Wilcox wrote:
    > Currently COW of an XIP file is done by first bringing in a read-only
    > mapping, then retrying the fault and copying the page. It is much more
    > efficient to tell the fault handler that a COW is being attempted (by
    > passing in the pre-allocated page in the vm_fault structure), and allow
    > the handler to perform the COW operation itself.
    >
    > Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    > Reviewed-by: Jan Kara <jack@suse.cz>

    Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

    --
    Kirill A. Shutemov


    \
     
     \ /
      Last update: 2014-07-23 14:01    [W:4.096 / U:1.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site