lkml.org 
[lkml]   [2006]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch 2/2] mspec driver
    From
    Date
    >>>>> "Nick" == Nick Piggin <nickpiggin@yahoo.com.au> writes:

    Nick> Jes Sorensen wrote:
    >> + vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED | VM_PFNMAP);

    Nick> VM_PFNMAP actually has a fairly specific meaning [unlike the
    Nick> rest of them :)] so you should be careful with it. Actually if
    Nick> you set vm_pgoff in the right way, then that should enable you
    Nick> to do COWs on these areas if that is what you want.

    Yup, I went through that when I started using it. I think you guided
    me through it :-)

    We don't want COW here as the access is backed by special behavior in
    the memory controller. We only allow shared mappings for that reason.

    Cheers,
    Jes
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-17 15:06    [W:0.022 / U:0.836 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site