From: Christoph Lameter Date: Wed, 4 Sep 2013 16:35:34 +0000 (+0000) Subject: mm/sl[aou]b: Move kmallocXXX functions to common code X-Git-Tag: v3.12-rc1~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1b6eb6e6be149b40ebb013f5bfe2ac86b6f1c1b;p=pandora-kernel.git mm/sl[aou]b: Move kmallocXXX functions to common code The kmalloc* functions of all slab allcoators are similar now so lets move them into slab.h. This requires some function naming changes in slob. As a results of this patch there is a common set of functions for all allocators. Also means that kmalloc_large() is now available in general to perform large order allocations that go directly via the page allocator. kmalloc_large() can be substituted if kmalloc() throws warnings because of too large allocations. kmalloc_large() has exactly the same semantics as kmalloc but can only used for allocations > PAGE_SIZE. Signed-off-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed