mm: rename __page_frag functions to __page_frag_cache, drop order from drain
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 11 Jan 2017 00:58:09 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2017 02:31:55 +0000 (18:31 -0800)
commit2976db8018532b624c4123ae662fbc0814877abf
treeb909c1e2b30acf501415cd9fbcd32684cbde02d7
parent8c2dd3e4a4bae78093c4a5cee6494877651be3c9
mm: rename __page_frag functions to __page_frag_cache, drop order from drain

This patch does two things.

First it goes through and renames the __page_frag prefixed functions to
__page_frag_cache so that we can be clear that we are draining or
refilling the cache, not the frags themselves.

Second we drop the order parameter from __page_frag_cache_drain since we
don't actually need to pass it since all fragments are either order 0 or
must be a compound page.

Link: http://lkml.kernel.org/r/20170104023954.13451.5678.stgit@localhost.localdomain
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ethernet/intel/igb/igb_main.c
include/linux/gfp.h
mm/page_alloc.c