]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25aa9dd5391289531acb0aaf46d9119d8dd02fb0
treeb909c1e2b30acf501415cd9fbcd32684cbde02d7
parentc463b07df4b453dbbe5a99c3307c9473fc154ec1
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