tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Modules and bus_dmamap_create() failing
On Sat, May 27, 2017 at 11:21:14AM +0200, Jaromír Doleček wrote:
> The driver allocates sizeable, but not excessive amounts of memory - mostly
> working with values like MAXPHYS / PAGE_SIZE * (queue size) for dmamaps/dma
> memory, where queue size is 128 or so.
No, that's excessive for a contiguous chunk. You can only expect such
large contiguous allocations to work at boot. Physical memory becomes
too fragmented after the machine has been up and doing things. We
could really use a way to defrag physical memory, but doing that is not
easy.
Jonathan Kollasch
Home |
Main Index |
Thread Index |
Old Index