DragonFly bugs List (threaded) for 2008-01
DragonFly BSD
DragonFly bugs List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: panic: pmap_page_protect: illegal for unmanaged page


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Jan 2008 17:05:32 -0800 (PST)

:Well, turned out it was my fault.  mmap_ops carries a_result as page frame number, not as byte offset.  I think that should be changed, but I have the feeling that you only recently changed this in the other way?  Using byte offsets would be easier to reason about, tho.
:
:cheers
:  simon

    mmap_ops?  Do you mean dev_ops/d_mmap ?    Hmm... yah, looking at the
    BKTR driver it looks like it's returning a page number rather then a
    physical address.

    I would personally prefer a physical address, and we could make that
    change fairly easily.  There are only a few drivers that actually
    use the feature and all the device pager does is convert it back
    to a physical address anyhow :-)

						-Matt




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]