Skip to content

RFC VM_PINNED

Peter Zijlstra linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm: Introduce VM_PINNED and interfacesinclude/linux/mm.h include/linux/mm_types.h kernel/fork.c +2 more+141 -202 replies
2/5mm,perf: Make use of VM_PINNEDkernel/events/core.c+16 -200 replies
3/5mm,ib,umem: Use VM_PINNEDdrivers/infiniband/core/umem.c include/rdma/ib_umem.h+23 -310 replies
4/5mm,ib,ipath: Use VM_PINNEDdrivers/infiniband/hw/ipath/ipath_file_ops.c drivers/infiniband/hw/ipath/ipath_kernel.h drivers/infiniband/hw/ipath/ipath_user_pages.c+18 -200 replies
5/5mm,ib,qib: Use VM_PINNEDdrivers/infiniband/hw/qib/qib.h drivers/infiniband/hw/qib/qib_file_ops.c drivers/infiniband/hw/qib/qib_user_pages.c+10 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/5] VM_PINNED

Hi all,

I mentioned at LSF/MM that I wanted to revive this, and at the time there were no disagreements.

I finally got around to refreshing the patch(es) so here goes.

These patches introduce VM_PINNED infrastructure, vma tracking of persistent 'pinned' page ranges. Pinned is anything that has a fixed phys address (as required for say IO DMA engines) and thus cannot use the weaker VM_LOCKED. One popular way to pin pages is through get_user_pages() but that not nessecarily the only way.

Roland, as said, I need some IB assistance, see patches 4 and 5, where I got lost in the qib and ipath code.

Patches 1-3 compile tested.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>