Allocating more than 4 MB of pinned contiguous memory in the Linux Kernel

前端 未结 2 562
说谎
说谎 2021-01-31 05:25

For some interaction with a PCI device that is being built, we\'d like to create large contiguous pieces of memory that the board can access. As it stands now, the largest piece

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 05:53

    CMA(Contiguous Memory Allocator) are the best solution for your need IMO. You just need to ship to the newest kernel.

提交回复
热议问题