Skip to content

Page fragment updates

Alexander Duyck linux-mm lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: Rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_frag_freeinclude/linux/gfp.h include/linux/skbuff.h mm/page_alloc.c +1 more+20 -160 replies
2/3mm: Rename __page_frag functions to __page_frag_cache, drop order from draindrivers/net/ethernet/intel/igb/igb_main.c include/linux/gfp.h mm/page_alloc.c+11 -110 replies
3/3mm: Add documentation for page fragment APIsDocumentation/vm/page_frags+42 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [mm PATCH 0/3] Page fragment updates

This patch series takes care of a few cleanups for the page fragments API.

First we do some renames so that things are much more consistent. First we move the page_frag_ portion of the name to the front of the functions names. Secondly we split out the cache specific functions from the other page fragment functions by adding the word "cache" to the name.

Second I did some minor clean-up on the function calls so that they are more inline with the existing __free_pages calls in terms of how they operate.

Finally I added a bit of documentation that will hopefully help to explain some of this. I plan to revisit this later as we get things more ironed out in the near future with the changes planned for the DMA setup to support eXpress Data Path.

---

Alexander Duyck (3):
mm: Rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_frag_free
mm: Rename __page_frag functions to __page_frag_cache, drop order from drain
mm: Add documentation for page fragment APIs

 Documentation/vm/page_frags               |   42 +++++++++++++++++++++++++++++
 drivers/net/ethernet/intel/igb/igb_main.c |    6 ++--
 include/linux/gfp.h                       |    9 +++---
 include/linux/skbuff.h                    |    2 +
 mm/page_alloc.c                           |   33 +++++++++++++----------
 net/core/skbuff.c                         |    8 +++---
 6 files changed, 73 insertions(+), 27 deletions(-)
 create mode 100644 Documentation/vm/page_frags

--

--
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>