[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <962a29981078ad4ba63b82b4d1bba4a7.squirrel@mail.compro.net>
Date: Wed, 10 Mar 2010 05:37:12 -0500
From: "Mark Hounschell" <markh@...pro.net>
To: "Zhu, Yijun (NSN - CN/Beijing)" <yijun.zhu@....com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Failed to alloc 4M DMA memory in the 256M system
Zhu, Yijun (NSN - CN/Beijing) wrote:
>
> Hi All:
>
> I try to alloc 4M memory for the DMA purpose in the 256M system running
> V2.6.29. But failed.
>
> I check the system, there is no 4M DMA memory in the DMA zone free list
> indeed, So I'd like to
> ask for that Is it possible for me to alloc 4M(or larger) DMA memory in
> the linux system.
> if YES, HOW?
>
> I forgot to say my hardware is based on X86.
>
> Thank you in advance.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
There is still a bigphysarea patch around that works for me. (attached) I
know of no other way using the hardware I need to do it with. IE, no
scatter/gather capabilities so memory must be contiguous. I personally
haven't used it with more than 2M but it should work.
Regards
Mark
View attachment "bigphysarea-2.6.32.patch" of type "text/x-patch" (17298 bytes)
Powered by blists - more mailing lists