lkml.org 
[lkml]   [2008]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Why get_user_pages fails?
    On Mon, 30 Jun 2008 20:45:47 +0000
    "Pan, Weimin" <weimin.pan@hp.com> wrote:

    > Do I have a way to map a range of phy memory to user virtual address
    > and have the page structures built for that memory region? I know
    > remap_pfn_range() doesn't work.

    The question is: why are you taking this memory out of the kernel's
    view in the first place? You're telling the kernel not to manage that
    memory, and it's listening to you - but you shouldn't then complain that
    it's not managing that memory.

    Again, if you would post your code, others would be in a better
    position to help you.

    jon


    \
     
     \ /
      Last update: 2008-06-30 22:55    [W:0.021 / U:0.700 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site