cregit-Linux how code gets into the kernel

Release 4.10 arch/powerpc/lib/alloc.c

Directory: arch/powerpc/lib
#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

PersonTokensPropCommitsCommitProp
stephen rothwellstephen rothwell4291.30%125.00%
michael ellermanmichael ellerman36.52%250.00%
fabian frederickfabian frederick12.17%125.00%
Total46100.00%4100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
stephen rothwellstephen rothwell5992.19%233.33%
michael ellermanmichael ellerman34.69%233.33%
fabian frederickfabian frederick11.56%116.67%
david howellsdavid howells11.56%116.67%
Total64100.00%6100.00%
Directory: arch/powerpc/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.