dma-mapping: Improve atomic pool behaviour
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dma/pool: Improve pool lookupkernel/ | +4 | 0 replies | |
| 2/3 | mm_zone: Generalise has_managed_dma()include/ mm/ | +7 | 2 replies | |
| 3/3 | dma/pool: Avoid allocating redundant poolskernel/ | +14 | 3 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | David Hildenbrand (Red Hat) | Vladimir Kondratiev | Baoquan He | Mike Rapoport (Microsoft) |
|---|---|---|---|---|
| Series | T-b | R-b | ||
| 1/3 | ||||
| 2/3 | A-b | A-b | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/3] dma-mapping: Improve atomic pool behaviour
Hi all,
These days we have somewhat of a matrix of mm zones that may or may not exist and may or may not be empty, which the per-zone atomic pool logic doesn't actually handle all that well. It's not all that difficult to improve robustness and reduce redundancy, so that's what this series aims for.
I initially wrote this just because I happened to be looking through the boot log of one of my boards and had one of those out-of-the-blue realisations of "hang on, why *is* it allocating pools for zones it doesn't even have memory in?", but coincidentally, it seems that others happened to notice related aspects around the same time[1][2]. This is my attempt to sort it all out properly.
I guess this could go via either the dma-mapping or mm tree, whichever maintainers prefer.
Thanks,
Robin.
[1] https://lore.kernel.org/linux-iommu/[email protected]/
[2] https://lore.kernel.org/linux-iommu/[email protected]/
Robin Murphy (3):
dma/pool: Improve pool lookup
mm_zone: Generalise has_managed_dma()
dma/pool: Avoid allocating redundant pools
include/linux/mmzone.h | 9 +++++---- kernel/dma/pool.c | 27 ++++++++++++++++++--------- mm/page_alloc.c | 8 ++------ 3 files changed, 25 insertions(+), 19 deletions(-)
Signature · 1 line
2.34.1