[lkml]   [2011]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Adding an ugliness in __read_cache_page()?
    On Sun, May 22, 2011 at 3:25 PM, Hugh Dickins <> wrote:
    > But drivers/gpu/drm i915 and ttm are using read_cache_page_gfp() or
    > read_mapping_page() on tmpfs: on objects created by shmem_file_setup().
    > Nothing else uses read_cache_page_gfp().  I cannot find anything else
    > using read_mapping_page() on tmpfs, but wonder if something might be
    > out there.  Stacked filesystems appear not to go that way nowadays.
    > Would it be better to make i915 and ttm call shmem_read_cache_page()
    > directly?  Perhaps removing the then unused read_cache_page_gfp(), or
    > perhaps not: may still be needed for i915 and ttm on tiny !SHMEM ramfs.

    I would certainly prefer the "make i915 and ttm call
    shmem_read_cache_page directly" approach over putting some nasty hack
    in __read_cache_page.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2011-05-23 01:49    [W:0.025 / U:45.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site