RFC page_pool proof-of-concept early code
Get series with b4
b4 am 20161220132444.18788.50875.stgit@firesoulVersions newest first
- v1 RFC Latest4 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | doc: page_pool introduction documentationDocumentation/ | +71 | 0 replies | |
| 2/4 | page_pool: basic implementation of page_poolinclude/ include/ include/ +7 more | +627 | 7 replies | |
| 3/4 | mlx5: use page_pooldrivers/ drivers/ drivers/ | +60 | 0 replies | |
| 4/4 | page_pool: change refcnt modelinclude/ include/ mm/ +2 more | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/4] page_pool proof-of-concept early code
This is an RFC patchset of my *work-in-progress* page_pool implemenation. This is NOT ready for inclusion. People asked to see the code, so here we go.
This patchset is focused providing a generic replacement for the driver page recycle caches. Where mlx5 is the first user in patch-3.
Notice that patch-2 is more "MM-invasive" (modifies put_page) than patch-4 which is less MM-agressive (scaled back based on input from Mel Gorman).
I do know that all page-flags are used (for 32bit), thus I'm open to suggestions/ideas on howto work-around this (need some way to identify a page belongs to a page pool).
This patchset is the bare-minimum PoC that allows me to benchmarks these ideas and see if performance is going in the right direction. It is not safe, e.g. unloading the driver can crash the kernel.
---
Jesper Dangaard Brouer (4):
doc: page_pool introduction documentation
page_pool: basic implementation of page_pool
mlx5: use page_pool
page_pool: change refcnt model
Documentation/vm/page_pool/introduction.rst | 71 ++++ drivers/net/ethernet/mellanox/mlx5/core/en.h | 1 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 28 + drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 47 ++ include/linux/mm.h | 1 include/linux/mm_types.h | 11 + include/linux/page-flags.h | 13 + include/linux/page_pool.h | 168 +++++++++ include/linux/skbuff.h | 2 include/trace/events/mmflags.h | 3 mm/Makefile | 3 mm/page_alloc.c | 6 mm/page_pool.c | 402 +++++++++++++++++++++ mm/slub.c | 4 mm/swap.c | 3 15 files changed, 741 insertions(+), 22 deletions(-) create mode 100644 Documentation/vm/page_pool/introduction.rst create mode 100644 include/linux/page_pool.h create mode 100644 mm/page_pool.c
--
--
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>