Re: contiguous memory allocation problem



FreeBSD's strategy for doing page coloring makes contiguous memory
allocation much past boot quite difficult. This will change when
generalized superpage support is brought in (I hope in the near
future).

-Kip

On 6/30/06, Hans Petter Selasky <hselasky@xxxxxxx> wrote:
Hi,

I sometimes see that the USB driver is unable to allocate contiguous memory
for itself. For example I noticed that FreeBSD was unable to allocate
350kbytes of contiguous memory after that I had run "konqueror", the KDE web
browser and various other memory consuming applications for a while.

I am thinking about pre-allocating some memory for USB, but isn't that the job
of bus-dma, which the USB system uses for memory allocation?

The machine in question is running FreeBSD 7-current from April.

Any comments?

Thanks,
--HPS
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Any alternative to the MmAllocateContiguousMemory?
    ... As I found the MmAllocateContiguousMemory function is not available in WDM architecture, does any alternative to it and provide contiguous memory allocation from non-paged pool? ...
    (microsoft.public.development.device.drivers)
  • Re: Windows array allocation problem
    ... If I know for sure how much will be unavailable, I can set the maximum allocation accordingly. ... DSOs/DLLs - which can be dynamically loaded at various addresses at ... it seems that allocating any array to any size is a risky business that might suddenly fail for lack of adequate contiguous memory. ...
    (comp.lang.fortran)
  • Re: Size of contiguous memory
    ... DEVICE_DESCRIPTION structure can affect the size of contiguous memory ... Can I use MmAllocateContiguousMemory function in WDM driver? ... >> Regards, ...
    (microsoft.public.development.device.drivers)
  • Any alternative to the MmAllocateContiguousMemory?
    ... WDM architecture, does any alternative to it and provide contiguous memory ... allocation from non-paged pool? ...
    (microsoft.public.development.device.drivers)