Allocating physical memory without a kernel mapping

Giovanni Trematerra giovanni.trematerra at gmail.com
Tue Mar 2 11:04:33 UTC 2010


On Tue, Mar 2, 2010 at 9:34 AM, Alexander Eichner <alexeichi at yahoo.de> wrote:
> Giovanni Trematerra wrote:
>> On Mon, Mar 1, 2010 at 10:59 AM, Alexander Eichner <alexeichi at yahoo.de> wrote:
>> > Hi,
>> >
>
> Thanks for your help but I don't see how that patch could help with my
> problem. rtR0MemObjNativeAllocPage allocates pages with a kernel
> mapping but the problem appears when using rtR0MemObjNativeAllocPhysNC
> + rtR0MemObjNativeMapUser and freeing the pages later.
> rtR0MemObjNativeAllocPage is used if I use the old allocation mode which
> does not use rtR0MemObjNativeAllocPhysNC and this works fine here.
> The double wiring problem should also be solved with the latest source.

Sorry, the patch was intended *only* as alternative way to resolve
double wired paging issue.
I don't know if the patch is correct though.

Maybe you can attach a textdump of your panic(or at least a bt), that
might be useful to understand the problem.

Thank you.

--
Gianni


More information about the freebsd-hackers mailing list