Block layer rework for mask allocator
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Convert a few direct bounce_gfp users over to the blk_* wrappersblock/ fs/ | +5 | 0 replies | |
| 2/7 | Convert open coded reference in libata to q->bounce_gfp to blk_kmallocdrivers/ | +1 | 1 reply | |
| 3/7 | Add mempool support for page allocation through the mask allocatorinclude/ mm/ | +34 | 0 replies | |
| 4/7 | Add blk_q_maskinclude/ | +5 | 0 replies | |
| 5/7 | Convert the blk allocator functions over to the mask allocatorblock/ include/ | +7 | 0 replies | |
| 6/7 | Remove bounce_gfpblock/ include/ mm/ | +4 | 0 replies | |
| 7/7 | Allow swiotlb to move block data bouncing to the block layerarch/ block/ include/ | +7 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH] [0/7] Block layer rework for mask allocator
This reworks the block layer bouncing to use the mask allocator
Instead of using GFP_DMA use device masks derived from the bounce gfp and pass it to the mask allocator. On architectures not converted to the mask allocator the code will transparently fall back to GFP_DMA.
Requires the earlier mask allocator patchkit I posted.
It is still not 100% finished -- in particular the bouncer still does not know how to use masks > ISA mask, but that is not very difficult to add now. I first wanted to laid the groundwork.
One patch ("Convert the blk allocator functions over to the mask allocator") depends on the "blk allocator" in the earlier SCSI DMA rework patchkit I've been posting. That patch can be dropped without trouble if that one is not applied, but if it is applied it is needed.
-Andi