cregit-Linux how code gets into the kernel

Release 4.7 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 * __init_refok 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 rothwell4393.48%133.33%
michael ellermanmichael ellerman36.52%266.67%
Total46100.00%3100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
stephen rothwellstephen rothwell6093.75%240.00%
michael ellermanmichael ellerman34.69%240.00%
david howellsdavid howells11.56%120.00%
Total64100.00%5100.00%
Directory: arch/powerpc/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}