Release 4.10 arch/powerpc/lib/alloc.c
#include <linux/types.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/bootmem.h>
#include <linux/string.h>
#include <asm/setup.h>
void * __ref zalloc_maybe_bootmem(size_t size, gfp_t mask)
{
void *p;
if (slab_is_available())
p = kzalloc(size, mask);
else {
p = memblock_virt_alloc(size, 0);
}
return p;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
stephen rothwell | stephen rothwell | 42 | 91.30% | 1 | 25.00% |
michael ellerman | michael ellerman | 3 | 6.52% | 2 | 50.00% |
fabian frederick | fabian frederick | 1 | 2.17% | 1 | 25.00% |
| Total | 46 | 100.00% | 4 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
stephen rothwell | stephen rothwell | 59 | 92.19% | 2 | 33.33% |
michael ellerman | michael ellerman | 3 | 4.69% | 2 | 33.33% |
fabian frederick | fabian frederick | 1 | 1.56% | 1 | 16.67% |
david howells | david howells | 1 | 1.56% | 1 | 16.67% |
| Total | 64 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.