Skip to content

dma-buf: system_heap: 2MB chunks on x86

Davidlohr Bueso dri-devel linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dma-buf: validate the attachment before asserting its reservation lockdrivers/dma-buf/dma-buf-mapping.c+2 -20 replies
2/2dma-buf: system_heap: allocate 2MB chunks on x86Documentation/userspace-api/dma-buf-heaps.rst drivers/dma-buf/heaps/system_heap.c+22 -60 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchT.J. MercierChristian König
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] dma-buf: system_heap: 2MB chunks on x86

Hello,

Changes from v1 (https://lore.kernel.org/all/[email protected]/)

- The bug fix is now patch 1, unchanged from v1, picked up tags.
- Removed patch that adjusts per base page size (arm).
- The 2MB order is x86 only, so Arm keeps what it has. Left other platforms as is as well to reduce the change impact. (Christian)
- The orders and the fragmentation trade-off are documented, both in the code and in the userspace heap documentation. (Christian)

Thanks!

Davidlohr Bueso (2):
dma-buf: validate the attachment before asserting its reservation lock
dma-buf: system_heap: allocate 2MB chunks on x86

 Documentation/userspace-api/dma-buf-heaps.rst |  4 ++++
 drivers/dma-buf/dma-buf-mapping.c             |  4 ++--
 drivers/dma-buf/heaps/system_heap.c           | 24 ++++++++++++++-----
 3 files changed, 24 insertions(+), 8 deletions(-)
Signature · 1 line
2.39.5