diff options
| author | Christoph Lameter <[email protected]> | 2013-09-04 16:35:34 +0000 |
|---|---|---|
| committer | Pekka Enberg <[email protected]> | 2013-09-04 17:51:33 +0000 |
| commit | f1b6eb6e6be149b40ebb013f5bfe2ac86b6f1c1b (patch) | |
| tree | 245897276adc30bc17a23ba1b5364a065e2ecb74 /fs/btrfs/dev-replace.c | |
| parent | mm, slab_common: add 'unlikely' to size check of kmalloc_slab() (diff) | |
| download | kernel-f1b6eb6e6be149b40ebb013f5bfe2ac86b6f1c1b.tar.gz kernel-f1b6eb6e6be149b40ebb013f5bfe2ac86b6f1c1b.zip | |
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 <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
