[lkml]   [2006]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: ptrace and pfn mappings

    > I think the best idea is to add a new ->access method to the vm_operations
    > that's called by access_process_vm() when it exists and VM_IO or VM_PFNMAP
    > are set. ->access would take the required object locks and copy out the
    > data manually. This should work both for spufs and drm.

    Another option is to have access_process_vm() lookup the PTE and lock it
    while copying the data from the page.

    something like

    - lookup pte & lock
    - check if pte still present
    - copy data to temp kernel buffer
    - unlock pte
    - copy data to user buffer


    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: 2006-10-10 14:51    [W:0.030 / U:0.400 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site