From: Christoph Lameter Date: Wed, 6 Aug 2014 23:04:11 +0000 (-0700) Subject: slab: use get_node() and kmem_cache_node() functions X-Git-Tag: omap-for-v3.17/fixes-against-rc2~137^2~202 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18bf854117c6caa4d0083bd42411895163467cb9;p=pandora-kernel.git slab: use get_node() and kmem_cache_node() functions Use the two functions to simplify the code avoiding numerous explicit checks coded checking for a certain node to be online. Get rid of various repeated calculations of kmem_cache_node structures. [akpm@linux-foundation.org: fix build] Signed-off-by: Christoph Lameter Cc: Christoph Lameter Cc: Pekka Enberg Acked-by: David Rientjes Cc: Joonsoo Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed