lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 07/12] mm: Add support for direct_IO to highmem pages
    On 06/20/2012 05:37 AM, Mel Gorman wrote:
    > The patch "mm: Add support for a filesystem to activate swap files and
    > use direct_IO for writing swap pages" added support for using direct_IO
    > to write swap pages but it is insufficient for highmem pages.
    >
    > To support highmem pages, this patch kmaps() the page before calling the
    > direct_IO() handler. As direct_IO deals with virtual addresses an
    > additional helper is necessary for get_kernel_pages() to lookup the
    > struct page for a kmap virtual address.
    >
    > Signed-off-by: Mel Gorman<mgorman@suse.de>

    Acked-by: Rik van Riel<riel@redhat.com>



    \
     
     \ /
      Last update: 2012-06-20 20:01    [W:0.040 / U:1.836 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site